Authored by 李靖

画廊vip

@@ -115,7 +115,7 @@ exports.gallery = (req, res, next) => { @@ -115,7 +115,7 @@ exports.gallery = (req, res, next) => {
115 115
116 let params = { 116 let params = {
117 uid: req.user.uid, 117 uid: req.user.uid,
118 - shopType: 2 // TODO 118 + shopType: 4
119 }; 119 };
120 120
121 req.ctx(storeHomeModel).baseInfo(params).then(result => { 121 req.ctx(storeHomeModel).baseInfo(params).then(result => {
1 <ul class="level-c" data-vip="{{vip_level}}"> 1 <ul class="level-c" data-vip="{{vip_level}}">
2 <li class="disable"> 2 <li class="disable">
3 <div class="dot"></div> 3 <div class="dot"></div>
4 - <span class="vip vip-1"></span> 4 + <span class="vip"></span>
5 <div class="price">0</div> 5 <div class="price">0</div>
6 </li> 6 </li>
  7 + <li class="disable"></li>
7 <li class="disable"> 8 <li class="disable">
8 <div class="dot"></div> 9 <div class="dot"></div>
9 - <span class="vip vip-2"></span>  
10 - <div class="price">10000</div>  
11 - </li>  
12 - <li class="disable">  
13 - <div class="dot"></div>  
14 - <span class="vip vip-3"></span> 10 + <span class="vip vip-1 vip-s"></span>
15 <div class="price">10000</div> 11 <div class="price">10000</div>
16 </li> 12 </li>
17 </ul> 13 </ul>
@@ -70,6 +70,10 @@ input::-webkit-calendar-picker-indicator { @@ -70,6 +70,10 @@ input::-webkit-calendar-picker-indicator {
70 display: inline-block; 70 display: inline-block;
71 } 71 }
72 72
  73 + .vip-s {
  74 + background-image: url("/activity/store-home/vip.png");
  75 + }
  76 +
73 .vip-1 { 77 .vip-1 {
74 background-image: url("/activity/store-home/vip1.png"); 78 background-image: url("/activity/store-home/vip1.png");
75 } 79 }
@@ -430,6 +434,10 @@ input::-webkit-calendar-picker-indicator { @@ -430,6 +434,10 @@ input::-webkit-calendar-picker-indicator {
430 } 434 }
431 435
432 .disable { 436 .disable {
  437 + .vip-s {
  438 + background-image: url("/activity/store-home/vip-1.png");
  439 + }
  440 +
433 .vip-1 { 441 .vip-1 {
434 background-image: url("/activity/store-home/vip1-1.png"); 442 background-image: url("/activity/store-home/vip1-1.png");
435 } 443 }