...
|
...
|
@@ -168,29 +168,4 @@ $('.btn-balance').on('touchend', function() { |
|
|
window.location.href = '/shoppingCart/orderEnsure?cartType=' + 'ordinary';
|
|
|
});
|
|
|
|
|
|
$('.down').on('touchend', function() {
|
|
|
chosePanel.show();
|
|
|
});
|
|
|
$('.cut').on('touchend', function() {
|
|
|
var id = $(this).closest('.shopping-cart-good').data('id');
|
|
|
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
url: '/shoppingCart/modifyNum',
|
|
|
data: {
|
|
|
sku: id,
|
|
|
increaseNum: '0'
|
|
|
},
|
|
|
success: function(data) {
|
|
|
if (data.code === 200) {
|
|
|
|
|
|
// window.history.go(0);
|
|
|
}
|
|
|
},
|
|
|
error: function() {
|
|
|
tip.show('网络错误');
|
|
|
}
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
...
|
...
|
|