...
|
...
|
@@ -78,6 +78,23 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { |
|
|
tip.show('网络错误');
|
|
|
});
|
|
|
}).on('touchstart', '.icon-edit', function() {
|
|
|
//var $this = $(this);
|
|
|
//
|
|
|
//var $cartgood = $this.closest('.shopping-cart-good');
|
|
|
//
|
|
|
////var id = $this.closest('.shopping-cart-good').data('id');
|
|
|
//
|
|
|
//var $viewGood = $cartgood.find('.deps');
|
|
|
// $editGoot = $cartgood.find('.calculate-num');
|
|
|
//
|
|
|
//if ($viewGood.hasClass('show')) {
|
|
|
// $viewGood.removeClass('show').addClass('hide');
|
|
|
// $editGoot.removeClass('hide').addClass('show');
|
|
|
//} else {
|
|
|
// $viewGood.removeClass('hide').addClass('show');
|
|
|
// $editGoot.removeClass('show').addClass('hide');
|
|
|
//}
|
|
|
|
|
|
|
|
|
}).on('touchstart', '.icon-del', function(e) {
|
|
|
var $this = $(this);
|
...
|
...
|
@@ -151,7 +168,7 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { |
|
|
|
|
|
|
|
|
$('.btn-balance').on('touchend', function() {
|
|
|
window.location.href = '/shoppingCart/orderEnsure?cartType=';
|
|
|
window.location.href = '/shoppingCart/orderEnsure?cartType='+'ordinary';
|
|
|
});
|
|
|
|
|
|
$('.down').on('touchend', function() {
|
...
|
...
|
|