...
|
...
|
@@ -69,8 +69,10 @@ require('./good'); |
|
|
lazyLoad($('img.lazy'));
|
|
|
|
|
|
if (typeof window.cookie === 'function' && 'y' === window.cookie('_hasShowCartPresellTip')) {
|
|
|
$('#presell-tip').addClass('hide');
|
|
|
$('#presell-tip').removeClass('show').addClass('hide');
|
|
|
hasShowCartPresellTip = true;
|
|
|
} else {
|
|
|
$('#presell-tip').removeClass('hide').addClass('show');
|
|
|
}
|
|
|
|
|
|
if ('advance' === cartType) {
|
...
|
...
|
@@ -108,9 +110,9 @@ if ($('.cart-nav').length > 0) { |
|
|
$(window).trigger('scroll');
|
|
|
});
|
|
|
|
|
|
if(!hasShowCartPresellTip) {
|
|
|
if (!hasShowCartPresellTip) {
|
|
|
setTimeout(function() {
|
|
|
$('#presell-tip').addClass('hide');
|
|
|
$('#presell-tip').removeClass('show').addClass('hide');
|
|
|
window.setCookie('_hasShowCartPresellTip', 'y');
|
|
|
}, 3000);
|
|
|
}
|
...
|
...
|
|