...
|
...
|
@@ -287,6 +287,7 @@ Cart = { |
|
|
modNum: function() {
|
|
|
var $this = $(this);
|
|
|
var $item = $this.closest('li[data-role=pitem]');
|
|
|
var $btn = $item.find('.cart-item-check');
|
|
|
|
|
|
// var storagenum = $item.data('storagenum') ? $item.data('storagenum') * 1 : 0;
|
|
|
var countJSON = {};
|
...
|
...
|
@@ -305,6 +306,10 @@ Cart = { |
|
|
capi.cartItemNumChg($.extend(countJSON, {
|
|
|
sku: $item.data('id')
|
|
|
}));
|
|
|
|
|
|
if (!$btn.hasClass('cart-item-checked')) {
|
|
|
$btn.click();
|
|
|
}
|
|
|
},
|
|
|
reAdd2Cart: function() {
|
|
|
|
...
|
...
|
|