Showing
2 changed files
with
1 additions
and
26 deletions
@@ -168,29 +168,4 @@ $('.btn-balance').on('touchend', function() { | @@ -168,29 +168,4 @@ $('.btn-balance').on('touchend', function() { | ||
168 | window.location.href = '/shoppingCart/orderEnsure?cartType=' + 'ordinary'; | 168 | window.location.href = '/shoppingCart/orderEnsure?cartType=' + 'ordinary'; |
169 | }); | 169 | }); |
170 | 170 | ||
171 | -$('.down').on('touchend', function() { | ||
172 | - chosePanel.show(); | ||
173 | -}); | ||
174 | -$('.cut').on('touchend', function() { | ||
175 | - var id = $(this).closest('.shopping-cart-good').data('id'); | ||
176 | - | ||
177 | - $.ajax({ | ||
178 | - type: 'POST', | ||
179 | - url: '/shoppingCart/modifyNum', | ||
180 | - data: { | ||
181 | - sku: id, | ||
182 | - increaseNum: '0' | ||
183 | - }, | ||
184 | - success: function(data) { | ||
185 | - if (data.code === 200) { | ||
186 | - | ||
187 | - // window.history.go(0); | ||
188 | - } | ||
189 | - }, | ||
190 | - error: function() { | ||
191 | - tip.show('网络错误'); | ||
192 | - } | ||
193 | - }); | ||
194 | - | ||
195 | -}); | ||
196 | 171 |
-
Please register or login to post a comment