Authored by 梁志锋

购物车功能开发

@@ -156,8 +156,8 @@ $('.btn-balance').on('touchend', function() { @@ -156,8 +156,8 @@ $('.btn-balance').on('touchend', function() {
156 }); 156 });
157 157
158 $('.advance-buy').on('touchend', function() { 158 $('.advance-buy').on('touchend', function() {
159 - var $advanceBuy = $('#advanceBuy'),  
160 - $mainCart = $('#mainCart'); 159 + var $advanceBuy = $('#advanceBuy'),
  160 + $mainCart = $('#mainCart');
161 161
162 if ($advanceBuy.hasClass('hide')) { 162 if ($advanceBuy.hasClass('hide')) {
163 $mainCart.removeClass('show').addClass('hide'); 163 $mainCart.removeClass('show').addClass('hide');