...
|
...
|
@@ -421,6 +421,16 @@ Cart = { |
|
|
isReAdd: true
|
|
|
});
|
|
|
},
|
|
|
reAdd2Cart2: function() {
|
|
|
var $this = $(this);
|
|
|
var $li = $this.closest('li');
|
|
|
|
|
|
capi.addcart({
|
|
|
productSku: $li.data('id'),
|
|
|
buyNumber: $li.data('productnum'),
|
|
|
promotionId: $li.data('promotionid')
|
|
|
});
|
|
|
},
|
|
|
reFav: function() {
|
|
|
|
|
|
var $this = $(this);
|
...
|
...
|
@@ -503,6 +513,7 @@ $cartListWrap.on('click', '#Y_CartSelectDialog .btn-account', Cart.submitSingle) |
|
|
|
|
|
// 重新加入购物车
|
|
|
$cartListWrap.on('click', '#Y_delReselWrap [data-role=readd2cart]', Cart.reAdd2Cart);
|
|
|
$cartListWrap.on('click', '[data-role=readd2cart2]', Cart.reAdd2Cart2);
|
|
|
$cartListWrap.on('click', '#Y_delReselWrap [data-role=reFav]', Cart.reFav);
|
|
|
|
|
|
// 失效商品的提示
|
...
|
...
|
|