Authored by 梁志锋

修改预售购物车不显示的问题

@@ -20,6 +20,10 @@ require('./good'); @@ -20,6 +20,10 @@ require('./good');
20 20
21 lazyLoad($('img.lazy')); 21 lazyLoad($('img.lazy'));
22 22
  23 +if ('advance' === cartType) {
  24 + $cartContent.toggleClass('hide');
  25 +}
  26 +
23 if ($('.cart-nav').length > 0) { 27 if ($('.cart-nav').length > 0) {
24 navHammer = new Hammer(document.getElementsByClassName('cart-nav')[0]); 28 navHammer = new Hammer(document.getElementsByClassName('cart-nav')[0]);
25 navHammer.on('tap', function(e) { 29 navHammer.on('tap', function(e) {