Authored by 刘传洋

m

... ... @@ -16,7 +16,8 @@ const PROMOTION_TYPE_TAG_MAP = {
Gift: '赠品',
Needpaygift: '加价购',
SpecifiedAmount: '满减', // X件X元
FreeShippingCost: '免运费'
FreeShippingCost: '免运费',
VipFreeShippingCost: '免运费'
};
const GOODS_TYPE_TAG_MAP = {
... ... @@ -326,8 +327,8 @@ const formatPromotion = (it, selectedGiftsList) => {
promotionId: it.promotion_id, // 促销id
promotionTitle: it.promotion_title, // "已满足[满30减10-dev30]",
promotionType: it.promotion_type, // 促销类型
// list.yohobuy.com?pp_id=10408
promotionPageUrl: helpers.urlFormat('', { pp_id: it.promotion_id }, 'list'),
// list.yohobuy.com?psp_id=10408
promotionPageUrl: helpers.urlFormat('', { psp_id: it.promotion_id }, 'list'),
tag: PROMOTION_TYPE_TAG_MAP[it.promotion_type],
isGift: it.promotion_type === 'Gift',
... ...