|
@@ -294,7 +294,8 @@ exports.getSearchLessProduct = (channelNum, uid, udid, page) => { |
|
@@ -294,7 +294,8 @@ exports.getSearchLessProduct = (channelNum, uid, udid, page) => { |
294
|
img: it.default_images ? helpers.image(it.default_images, 180, 240) : '',
|
294
|
img: it.default_images ? helpers.image(it.default_images, 180, 240) : '',
|
295
|
alt: it.product_name,
|
295
|
alt: it.product_name,
|
296
|
price: '¥' + transPrice(it.sales_price),
|
296
|
price: '¥' + transPrice(it.sales_price),
|
297
|
- marketPrice: '¥' + transPrice(it.market_price)
|
297
|
+ marketPrice: transPrice(it.market_price) === transPrice(it.sales_price)
|
|
|
298
|
+ ? false : ('¥' + transPrice(it.market_price))
|
298
|
};
|
299
|
};
|
299
|
|
300
|
|
300
|
let firstGoods = it.goods_list && it.goods_list[0];
|
301
|
let firstGoods = it.goods_list && it.goods_list[0];
|