|
@@ -27,7 +27,6 @@ var isRefreshByDelete = window.cookie('_yoho-cart-refreshByDelete') === 'true' ? |
|
@@ -27,7 +27,6 @@ var isRefreshByDelete = window.cookie('_yoho-cart-refreshByDelete') === 'true' ? |
27
|
|
27
|
|
28
|
var lowStockCount = 0;
|
28
|
var lowStockCount = 0;
|
29
|
|
29
|
|
30
|
-
|
|
|
31
|
loading.showLoadingMask();
|
30
|
loading.showLoadingMask();
|
32
|
|
31
|
|
33
|
function needLoadRecommandForYou() {
|
32
|
function needLoadRecommandForYou() {
|
|
@@ -36,7 +35,6 @@ function needLoadRecommandForYou() { |
|
@@ -36,7 +35,6 @@ function needLoadRecommandForYou() { |
36
|
$('.cart-goods').length <= 0;
|
35
|
$('.cart-goods').length <= 0;
|
37
|
}
|
36
|
}
|
38
|
|
37
|
|
39
|
-
|
|
|
40
|
if (needLoadRecommandForYou()) {
|
38
|
if (needLoadRecommandForYou()) {
|
41
|
require('../product/recommend-for-you');
|
39
|
require('../product/recommend-for-you');
|
42
|
} else {
|
40
|
} else {
|
|
@@ -242,3 +240,7 @@ $cartNav.on('touchstart', 'li', function(e) { |
|
@@ -242,3 +240,7 @@ $cartNav.on('touchstart', 'li', function(e) { |
242
|
|
240
|
|
243
|
//提前触发lazyload
|
241
|
//提前触发lazyload
|
244
|
$(window).scrollTop(1).scrollTop(0);
|
242
|
$(window).scrollTop(1).scrollTop(0);
|
|
|
243
|
+
|
|
|
244
|
+if ($('.invalid-goods').find('.shopping-cart-good').length === 0) {
|
|
|
245
|
+ $('#failure-goods').removeClass('invalid-goods');
|
|
|
246
|
+} |