...
|
...
|
@@ -2,7 +2,7 @@ |
|
|
* @Author: Targaryen
|
|
|
* @Date: 2017-03-23 11:02:31
|
|
|
* @Last Modified by: Targaryen
|
|
|
* @Last Modified time: 2017-05-02 11:09:37
|
|
|
* @Last Modified time: 2017-05-19 14:49:28
|
|
|
*/
|
|
|
/* 红人店铺数据处理 */
|
|
|
|
...
|
...
|
@@ -330,7 +330,9 @@ const pushGoodsInfo = (decorators, goodsList) => { |
|
|
let marketPrice = _.get(goodsObj, `${subValue.skn}.market_price`, '');
|
|
|
let imageSrc = _.get(goodsObj, `${subValue.skn}.default_images`, '');
|
|
|
|
|
|
decorators[key].pics[subKey].showProductInfo = salesPrice !== 0;
|
|
|
if (salesPrice === 0) {
|
|
|
decorators[key].noShowProductInfo = true;
|
|
|
}
|
|
|
decorators[key].pics[subKey].name = _.get(goodsObj, `${subValue.skn}.product_name`, '');
|
|
|
decorators[key].pics[subKey].salesPrice = salesPrice ? '¥' + salesPrice : '';
|
|
|
decorators[key].pics[subKey].marketPrice = marketPrice ? '¥' + marketPrice : '';
|
...
|
...
|
|