Authored by 李靖

开发完成

... ... @@ -319,6 +319,7 @@ class familyModel extends global.yoho.BaseModel {
}
if (key === 'gallery') {
val.galleryTag = true;
if (val.growthValue <= 0) {
val.percent = 0;
} else if (val.growthValue > 0 && val.growthValue < 10000) {
... ...
... ... @@ -13,9 +13,16 @@
<div class="intro">
<div class="name"><span></span>您好!</div>
<div class="level">
<span class="now">我的成长值:<span class="val">{{growthValue}}</span></span>
{{#if valueToNextLevel}}
<span class="next">下次升级还需:<span class="val">{{valueToNextLevel}}</span></span>
{{#if galleryTag}}
<span class="now">我的累计消费金额:<span class="val">{{growthValue}}</span></span>
{{#if valueToNextLevel}}
<span class="next">下次升级还需:<span class="val">{{valueToNextLevel}}</span></span>
{{/if}}
{{else}}
<span class="now">我的成长值:<span class="val">{{growthValue}}</span></span>
{{#if valueToNextLevel}}
<span class="next">下次升级还需:<span class="val">{{valueToNextLevel}}</span></span>
{{/if}}
{{/if}}
</div>
</div>
... ... @@ -40,7 +47,11 @@
<div class="privilege-list">
<div class="privilege-title">
<b></b>
{{#if galleryTag}}
等级特权
{{else}}
当前可享受特权
{{/if}}
<!-- <a class="more" href='{{link}}'>更多</a> -->
</div>
{{# privilegeList}}
... ...
... ... @@ -765,7 +765,7 @@
.gallery {
.banner {
background-image: resolve("home/family/vip-detail/yolittle.jpg");
background-image: resolve("home/family/vip-detail/yogallery.png");
background-repeat: no-repeat;
background-size: 100%;
}
... ...