Authored by xuqi

suspend cart count

... ... @@ -13,7 +13,7 @@ $.ajax({
url: '/cart/index/count',
success: function(data) {
if (data.code === 200) {
$cart.find('.cart-count').html(data.data.cart_good_count).removeClass('hide');
$cart.find('.cart-count').html(data.data.cart_goods_count).removeClass('hide');
}
}
});
\ No newline at end of file
... ...
... ... @@ -2,5 +2,5 @@
<a href={{cartUrl}}>
<span class="iconfont">&#xe62c;</span>
</a>
<span class="cart-count hide">1</span>
<span class="cart-count hide">0</span>
</div>
\ No newline at end of file
... ...