Merge branch 'release/5.4' into gray
Showing
3 changed files
with
6 additions
and
21 deletions
@@ -215,7 +215,6 @@ const index = (req) => { | @@ -215,7 +215,6 @@ const index = (req) => { | ||
215 | // 新品牌入驻 | 215 | // 新品牌入驻 |
216 | if (result[2].code === 200 && result[2].data) { | 216 | if (result[2].code === 200 && result[2].data) { |
217 | let hotBrandsData = _.get(result, '[2].data.hot_brand_list', []), | 217 | let hotBrandsData = _.get(result, '[2].data.hot_brand_list', []), |
218 | - browseBrandsData = _.get(result, '[2].data.browse_brand_list', []), | ||
219 | recList = []; | 218 | recList = []; |
220 | 219 | ||
221 | _.forEach(hotBrandsData, hotBrand => { | 220 | _.forEach(hotBrandsData, hotBrand => { |
@@ -228,17 +227,6 @@ const index = (req) => { | @@ -228,17 +227,6 @@ const index = (req) => { | ||
228 | }); | 227 | }); |
229 | }); | 228 | }); |
230 | 229 | ||
231 | - _.forEach(browseBrandsData, browseBrand => { | ||
232 | - recList.push({ | ||
233 | - url: helpers.urlFormat('', {shopId: browseBrand.shops_id}, browseBrand.shop_domain), | ||
234 | - src: browseBrand.shop_logo, | ||
235 | - num: browseBrand.new_product_num, | ||
236 | - shopId: browseBrand.shops_id, | ||
237 | - brandId: browseBrand.brand_id | ||
238 | - }); | ||
239 | - }); | ||
240 | - | ||
241 | - | ||
242 | // 为您推荐 | 230 | // 为您推荐 |
243 | Object.assign(respData.recommond.dataList, recList); | 231 | Object.assign(respData.recommond.dataList, recList); |
244 | 232 |
@@ -29,7 +29,7 @@ | @@ -29,7 +29,7 @@ | ||
29 | {{!店铺}} | 29 | {{!店铺}} |
30 | {{#if shopType}} | 30 | {{#if shopType}} |
31 | <div class="good-info imgopacity" recommend-type="{{recType}}" data-shopId="{{shopId}}"> | 31 | <div class="good-info imgopacity" recommend-type="{{recType}}" data-shopId="{{shopId}}"> |
32 | - <div class="brand-box"> | 32 | + <a class="brand-box" href="{{url}}" target="_blank"> |
33 | <div class="logo-wrap"> | 33 | <div class="logo-wrap"> |
34 | <img class="lazy" data-original="{{image2 src w=185 h=86}}" style="display: block; opacity: 1;"> | 34 | <img class="lazy" data-original="{{image2 src w=185 h=86}}" style="display: block; opacity: 1;"> |
35 | </div> | 35 | </div> |
@@ -37,10 +37,10 @@ | @@ -37,10 +37,10 @@ | ||
37 | <p class="shop-name">{{shopName}}</p> | 37 | <p class="shop-name">{{shopName}}</p> |
38 | <p class="num-info">上新<span>{{newNum}}</span>件 <span>{{collNum}}</span>人收藏</p> | 38 | <p class="num-info">上新<span>{{newNum}}</span>件 <span>{{collNum}}</span>人收藏</p> |
39 | <span class="btn-tag tag-home"> | 39 | <span class="btn-tag tag-home"> |
40 | - <a href="{{url}}" target="_blank"><i class="iconfont"></i> <em>进入店铺</em></a> | 40 | + <i class="iconfont"></i> <em>进入店铺</em> |
41 | </span> | 41 | </span> |
42 | </div> | 42 | </div> |
43 | - </div> | 43 | + </a> |
44 | </div> | 44 | </div> |
45 | {{/if}} | 45 | {{/if}} |
46 | {{!SK商品}} | 46 | {{!SK商品}} |
@@ -55,6 +55,7 @@ | @@ -55,6 +55,7 @@ | ||
55 | 55 | ||
56 | .new-num { | 56 | .new-num { |
57 | background: #027cf9; | 57 | background: #027cf9; |
58 | + opacity: .6; | ||
58 | text-align: center; | 59 | text-align: center; |
59 | line-height: 30px; | 60 | line-height: 30px; |
60 | font-size: 14px; | 61 | font-size: 14px; |
@@ -199,7 +200,7 @@ | @@ -199,7 +200,7 @@ | ||
199 | .list-box { | 200 | .list-box { |
200 | border: 1px solid #e0e0e0; | 201 | border: 1px solid #e0e0e0; |
201 | border-top: 0; | 202 | border-top: 0; |
202 | - height: 152px; | 203 | + height: 151px; |
203 | padding-top: 18px; | 204 | padding-top: 18px; |
204 | padding-bottom: 18px; | 205 | padding-bottom: 18px; |
205 | padding-left: 5px; | 206 | padding-left: 5px; |
@@ -236,6 +237,7 @@ | @@ -236,6 +237,7 @@ | ||
236 | display: inline-block; | 237 | display: inline-block; |
237 | width: 100%; | 238 | width: 100%; |
238 | background: #f5f5f5; | 239 | background: #f5f5f5; |
240 | + cursor: pointer; | ||
239 | } | 241 | } |
240 | 242 | ||
241 | .brand-info { | 243 | .brand-info { |
@@ -295,16 +297,11 @@ | @@ -295,16 +297,11 @@ | ||
295 | height: 65px; | 297 | height: 65px; |
296 | 298 | ||
297 | > a { | 299 | > a { |
298 | - margin-top: 15px; | ||
299 | - padding: 0 5px; | ||
300 | text-align: center; | 300 | text-align: center; |
301 | } | 301 | } |
302 | 302 | ||
303 | .price { | 303 | .price { |
304 | text-align: center; | 304 | text-align: center; |
305 | - font-size: 14px; | ||
306 | - font-weight: bold; | ||
307 | - margin-top: 3px; | ||
308 | } | 305 | } |
309 | } | 306 | } |
310 | 307 |
-
Please register or login to post a comment