...
|
...
|
@@ -74,7 +74,7 @@ let cartObj = { |
|
|
let title = encodeURIComponent('优惠活动商品');
|
|
|
let href;
|
|
|
|
|
|
if (opts.status === 20 || (opts.promotionType !== 'Gift' && opts.promotionType !== 'Needpaygift')) {
|
|
|
if (opts.status === 20 || opts.status === 0 || (opts.promotionType !== 'Gift' && opts.promotionType !== 'Needpaygift')) {
|
|
|
href = `/product/index/index?promotion_id=${opts.promotionId}&title=${title}&intro_text=${opts.promotionTitle}&cartType=${cartType}`;
|
|
|
} else if (opts.promotionType === 'Gift') {
|
|
|
href = `/cart/index/new/gift?promotion_id=${opts.promotionId}&title=${title}&intro_text=${opts.promotionTitle}&cartType=${cartType}`;
|
...
|
...
|
|