...
|
...
|
@@ -312,7 +312,7 @@ function submitSearch() { |
|
|
|
|
|
// 同步mini购物车数据
|
|
|
function syncCratInfo(strG) {
|
|
|
var info, total;
|
|
|
var info, total = 0;
|
|
|
|
|
|
if (strG) {
|
|
|
window.setCookie('_g', strG, {
|
...
|
...
|
@@ -335,6 +335,8 @@ function syncCratInfo(strG) { |
|
|
});
|
|
|
$goodsNum.text(total);
|
|
|
}
|
|
|
|
|
|
total ? $goodsNum.removeClass('hide') : $goodsNum.addClass('hide');
|
|
|
}
|
|
|
|
|
|
function loadCartDetail(key) {
|
...
|
...
|
|