Authored by 梁志锋

add files

@@ -9,5 +9,6 @@ require('./js/index/entry'); @@ -9,5 +9,6 @@ require('./js/index/entry');
9 require('./js/passport/entry'); 9 require('./js/passport/entry');
10 require('./js/product/entry'); 10 require('./js/product/entry');
11 require('./js/me/entry'); 11 require('./js/me/entry');
  12 +require('./js/cart/entry');
12 13
13 module.exports = yohobuy; 14 module.exports = yohobuy;
@@ -43,26 +43,10 @@ navHammer.on('tap', function(e) { @@ -43,26 +43,10 @@ navHammer.on('tap', function(e) {
43 $(window).trigger('scroll'); 43 $(window).trigger('scroll');
44 }); 44 });
45 45
46 -  
47 -  
48 $('.btn-balance').on('touchend', function() { 46 $('.btn-balance').on('touchend', function() {
49 window.location.href = '/cart/index/orderEnsure?cartType=' + cartType; 47 window.location.href = '/cart/index/orderEnsure?cartType=' + cartType;
50 }); 48 });
51 49
52 -//$('.advance-buy').on('touchend', function() {  
53 -// var $advanceBuy = $('#advanceBuy'),  
54 -// $mainCart = $('#mainCart');  
55 -//  
56 -// if ($advanceBuy.hasClass('hide')) {  
57 -// $mainCart.removeClass('show').addClass('hide');  
58 -// $advanceBuy.removeClass('hide').addClass('show');  
59 -// } else {  
60 -// $advanceBuy.removeClass('show').addClass('hide');  
61 -// $mainCart.removeClass('hide').addClass('show');  
62 -// }  
63 -//});  
64 -  
65 -  
66 $('.chose').on('touchend', function() { 50 $('.chose').on('touchend', function() {
67 51
68 //var id = $(this).closest('.gift-advance-good').data('id'); 52 //var id = $(this).closest('.gift-advance-good').data('id');