Authored by 李靖

画廊弹框

... ... @@ -317,6 +317,16 @@ class familyModel extends global.yoho.BaseModel {
val.percent = 100;
}
}
if (key === 'gallery') {
if (val.growthValue <= 0) {
val.percent = 0;
} else if (val.growthValue > 0 && val.growthValue < 10000) {
val.percent = val.growthValue / 10000 * 100;
} else {
val.percent = 100;
}
}
});
return result[1];
... ... @@ -348,6 +358,10 @@ class familyModel extends global.yoho.BaseModel {
singleData = _.assign(singleData, {
winXinCode: 'YOLITTLE_CN'
});
} else if (val.appName === 'gallery') {
singleData = _.assign(singleData, {
winXinCode: 'YOGALLERY'
});
}
}
... ...
... ... @@ -54,6 +54,7 @@
</a>
{{/ privilegeList}}
<div class="transverse">
{{#if privileges}}
{{# privileges}}
<div class="level-item">
<img class="item-ico" src="{{image icon 125 125}}">
... ... @@ -61,6 +62,11 @@
<span class="state">{{status}}</span>
</div>
{{/ privileges}}
{{else}}
<div class="no-privilege">
暂无特权
</div>
{{/if}}
</div>
</div>
... ...
... ... @@ -545,6 +545,13 @@
overflow-y: hidden;
white-space: nowrap;
width: 100%;
.no-privilege {
font-size: 28px;
color: #b0b0b0;
text-align: center;
line-height: 200px;
}
}
.privilege-item {
... ... @@ -755,4 +762,28 @@
}
}
}
.gallery {
.banner {
background-image: resolve("home/family/vip-detail/yolittle.jpg");
background-repeat: no-repeat;
background-size: 100%;
}
.user-info {
.level-process {
.line-c {
width: 530px;
}
.point {
width: 540px;
}
.point-item {
margin-right: 494px;
}
}
}
}
}
... ...
... ... @@ -55,7 +55,8 @@
.coffee,
.little,
.green {
.green,
.gallery {
width: 670px;
margin-left: -340px;
... ... @@ -95,6 +96,13 @@
}
}
.gallery {
.code-copy {
top: -615px;
left: 335px;
}
}
.hide {
display: none;
}
... ...