Authored by 李靖

画廊vip

... ... @@ -115,7 +115,7 @@ exports.gallery = (req, res, next) => {
let params = {
uid: req.user.uid,
shopType: 2 // TODO
shopType: 4
};
req.ctx(storeHomeModel).baseInfo(params).then(result => {
... ...
<ul class="level-c" data-vip="{{vip_level}}">
<li class="disable">
<div class="dot"></div>
<span class="vip vip-1"></span>
<span class="vip"></span>
<div class="price">0</div>
</li>
<li class="disable"></li>
<li class="disable">
<div class="dot"></div>
<span class="vip vip-2"></span>
<div class="price">10000</div>
</li>
<li class="disable">
<div class="dot"></div>
<span class="vip vip-3"></span>
<span class="vip vip-1 vip-s"></span>
<div class="price">10000</div>
</li>
</ul>
\ No newline at end of file
... ...
... ... @@ -70,6 +70,10 @@ input::-webkit-calendar-picker-indicator {
display: inline-block;
}
.vip-s {
background-image: url("/activity/store-home/vip.png");
}
.vip-1 {
background-image: url("/activity/store-home/vip1.png");
}
... ... @@ -430,6 +434,10 @@ input::-webkit-calendar-picker-indicator {
}
.disable {
.vip-s {
background-image: url("/activity/store-home/vip-1.png");
}
.vip-1 {
background-image: url("/activity/store-home/vip1-1.png");
}
... ...