Authored by zhangxiaoru

shop

@@ -25,6 +25,10 @@ const shopList = (uid, tabName) => { @@ -25,6 +25,10 @@ const shopList = (uid, tabName) => {
25 25
26 data.isFavorite = data.isFavorite === 'Y'; 26 data.isFavorite = data.isFavorite === 'Y';
27 27
  28 + if(parseInt(data.collectionNum) > 10000) {
  29 + data.collectionNum = (data.collectionNum / 10000).toFixed(1) + ' w';
  30 + }
  31 +
28 data.href = href; 32 data.href = href;
29 }); 33 });
30 return result.data; 34 return result.data;
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 </div> 17 </div>
18 18
19 <div class="info-content"> 19 <div class="info-content">
20 - <img class="lazy content" data-original="{{image bannerUrl 690 175}}"></img> 20 + <img class="lazy content" data-original="{{image bannerUrl 690 235}}"></img>
21 </div> 21 </div>
22 </a> 22 </a>
23 </div> 23 </div>
@@ -56,13 +56,14 @@ @@ -56,13 +56,14 @@
56 .fans { 56 .fans {
57 margin-right: 10px; 57 margin-right: 10px;
58 color: #666; 58 color: #666;
  59 + font-size: 23px;
59 } 60 }
60 61
61 .collect-btn { 62 .collect-btn {
62 color: #b0b0b0; 63 color: #b0b0b0;
63 display: inline-block; 64 display: inline-block;
64 width: 50px; 65 width: 50px;
65 - font-size: 24px; 66 + font-size: 26px;
66 text-align: center; 67 text-align: center;
67 } 68 }
68 69
@@ -109,19 +110,16 @@ @@ -109,19 +110,16 @@
109 .giving { 110 .giving {
110 width: 170px; 111 width: 170px;
111 color: #b0b0b0; 112 color: #b0b0b0;
112 - position: relative;  
113 - top: -10px;  
114 } 113 }
115 } 114 }
116 115
117 .info-content { 116 .info-content {
118 height: 235px; 117 height: 235px;
119 - padding: 30px;  
120 border-top: 1px solid #e0e0e0; 118 border-top: 1px solid #e0e0e0;
121 119
122 .content { 120 .content {
123 width: 690px; 121 width: 690px;
124 - height: 175px; 122 + height: 233px;
125 } 123 }
126 } 124 }
127 } 125 }
@@ -153,7 +153,7 @@ function tranformPayment(data, orderInfo) { @@ -153,7 +153,7 @@ function tranformPayment(data, orderInfo) {
153 153
154 // 有货币 154 // 有货币
155 result.yohoCoin = data.yoho_coin; 155 result.yohoCoin = data.yoho_coin;
156 - result.useYohoCoin = false; //data.use_yoho_coin; 156 + result.useYohoCoin = false; // data.use_yoho_coin;
157 157
158 // 发票 158 // 发票
159 if (data.invoices) { 159 if (data.invoices) {