Authored by 梁志锋

购物车功能

@@ -78,6 +78,7 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { @@ -78,6 +78,7 @@ $('.cart-goods').on('touchstart', '.checkbox', function() {
78 tip.show('网络错误'); 78 tip.show('网络错误');
79 }); 79 });
80 }).on('touchstart', '.icon-edit', function() { 80 }).on('touchstart', '.icon-edit', function() {
  81 +
81 //var $this = $(this); 82 //var $this = $(this);
82 // 83 //
83 //var $cartgood = $this.closest('.shopping-cart-good'); 84 //var $cartgood = $this.closest('.shopping-cart-good');
@@ -168,7 +169,7 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { @@ -168,7 +169,7 @@ $('.cart-goods').on('touchstart', '.checkbox', function() {
168 169
169 170
170 $('.btn-balance').on('touchend', function() { 171 $('.btn-balance').on('touchend', function() {
171 - window.location.href = '/shoppingCart/orderEnsure?cartType='+'ordinary'; 172 + window.location.href = '/shoppingCart/orderEnsure?cartType=' + 'ordinary';
172 }); 173 });
173 174
174 $('.down').on('touchend', function() { 175 $('.down').on('touchend', function() {