Showing
4 changed files
with
2 additions
and
2 deletions
@@ -480,7 +480,7 @@ function actionGoodsCart() { | @@ -480,7 +480,7 @@ function actionGoodsCart() { | ||
480 | } | 480 | } |
481 | 481 | ||
482 | } | 482 | } |
483 | - if (cartInfo != null) { | 483 | + if (cartInfo !== null && cartInfo !== '') { |
484 | totalNum = parseInt(cartInfo._nac) + parseInt(cartInfo._ac); | 484 | totalNum = parseInt(cartInfo._nac) + parseInt(cartInfo._ac); |
485 | if (totalNum === 0) { | 485 | if (totalNum === 0) { |
486 | $('#icart-num').attr('class', 'icart-num icart-none'); | 486 | $('#icart-num').attr('class', 'icart-num icart-none'); |
@@ -1147,7 +1147,7 @@ function actionTipPic() { | @@ -1147,7 +1147,7 @@ function actionTipPic() { | ||
1147 | } | 1147 | } |
1148 | } | 1148 | } |
1149 | }); | 1149 | }); |
1150 | - logolink = $('.first-nav-item .cure').find('.name-cn').find('a').attr('href'); | 1150 | + logolink = $('.cure').find('.name-cn').find('a').attr('href'); |
1151 | $('.main-link').attr('href', logolink); | 1151 | $('.main-link').attr('href', logolink); |
1152 | } | 1152 | } |
1153 | 1153 |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment