...
|
...
|
@@ -90,6 +90,15 @@ class featureModel extends global.yoho.BaseModel { |
|
|
obj.brandurl = `//m.yohobuy.com/product/index/brand?domain=${val.brand_domain}&openby:yohobuy={"action":"go.brand","params":{"brand_id":${val.brand_id}}}`; // eslint-disable-line
|
|
|
}
|
|
|
|
|
|
if (!_.isEmpty(val.cover_info)) {
|
|
|
let { share_content } = val.cover_info;
|
|
|
|
|
|
Object.assign(obj, {
|
|
|
saleprice: share_content,
|
|
|
salesPriceClass: 'share-price'
|
|
|
});
|
|
|
}
|
|
|
|
|
|
resList[val.product_skn] = obj;
|
|
|
});
|
|
|
});
|
...
|
...
|
@@ -120,7 +129,8 @@ class featureModel extends global.yoho.BaseModel { |
|
|
enterShopBgImage: value.enterShopBgImage,
|
|
|
brandColor: value.brandColor,
|
|
|
buyBtnImg: value.buyBtnImg,
|
|
|
showLastSoldTpl: value.showLastSoldTpl
|
|
|
showLastSoldTpl: value.showLastSoldTpl,
|
|
|
arrivalPriceStyle: value.arrivalPriceStyle
|
|
|
};
|
|
|
|
|
|
value._defaultSkns && value._defaultSkns.forEach(val => {
|
...
|
...
|
|