...
|
...
|
@@ -2,7 +2,7 @@ |
|
|
* @Author: Targaryen
|
|
|
* @Date: 2017-03-23 11:02:31
|
|
|
* @Last Modified by: Targaryen
|
|
|
* @Last Modified time: 2017-04-20 10:58:29
|
|
|
* @Last Modified time: 2017-04-20 11:58:47
|
|
|
*/
|
|
|
/* 红人店铺数据处理 */
|
|
|
|
...
|
...
|
@@ -333,6 +333,7 @@ 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;
|
|
|
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 : '';
|
...
|
...
|
|