去掉 逛详情 相关推荐最多显示4个的逻辑 review by chenlin
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -314,9 +314,9 @@ export function goodsProductBySkns(item, contentIndex) { | @@ -314,9 +314,9 @@ export function goodsProductBySkns(item, contentIndex) { | ||
314 | return new DetailService(app.host).productInfoBySkns(skns) | 314 | return new DetailService(app.host).productInfoBySkns(skns) |
315 | .then(json => { | 315 | .then(json => { |
316 | let productList = []; | 316 | let productList = []; |
317 | - // 最多显示4个 | ||
318 | - let result = json.product_list.slice(0, 4); | ||
319 | - result.map((item3, i3) => { | 317 | + // 最多显示4个------------ 逛最开始的逻辑 改版后产品确认暂时不需要 |
318 | + //let result = json.product_list.slice(0, 4); | ||
319 | + json.product_list.map((item3, i3) => { | ||
320 | let src = productImages[item3.product_skn]; | 320 | let src = productImages[item3.product_skn]; |
321 | if (src) { | 321 | if (src) { |
322 | if (item3.tags.includes('is_soon_sold_out')) { | 322 | if (item3.tags.includes('is_soon_sold_out')) { |
-
Please register or login to post a comment