Authored by 毕凯

订单页面选择地址 删除地址清cookie

@@ -15,8 +15,8 @@ $('.address-item').on('touchend', function() { @@ -15,8 +15,8 @@ $('.address-item').on('touchend', function() {
15 }).on('touchend', '.edit', function() { 15 }).on('touchend', '.edit', function() {
16 window.location.href = $(this).data('href'); 16 window.location.href = $(this).data('href');
17 return false; 17 return false;
18 -}).on('touchend', '.del', function() {  
19 - deleteId = $(this).data('address-id'); 18 +}).on('touchstart', '.del', function() {
  19 + deleteId = $(this).data('id');
20 }); 20 });
21 21
22 $confim.on('touchend', '.confim', function() { 22 $confim.on('touchend', '.confim', function() {