Authored by 梁志锋

购物车类型的设置

@@ -27,6 +27,12 @@ navHammer.on('tap', function(e) { @@ -27,6 +27,12 @@ navHammer.on('tap', function(e) {
27 return; 27 return;
28 } 28 }
29 29
  30 + if (cartType === 'ordinary') {
  31 + cartType = 'advance';
  32 + } else {
  33 + cartType = 'ordinary';
  34 + }
  35 +
30 $this.siblings('.active').removeClass('active'); 36 $this.siblings('.active').removeClass('active');
31 $this.addClass('active'); 37 $this.addClass('active');
32 38