...
|
...
|
@@ -12999,7 +12999,6 @@ var isRefreshByDelete = window.cookie('_yoho-cart-refreshByDelete') === 'true' ? |
|
|
|
|
|
var lowStockCount = 0;
|
|
|
|
|
|
|
|
|
loading.showLoadingMask();
|
|
|
|
|
|
function needLoadRecommandForYou() {
|
...
|
...
|
@@ -13008,7 +13007,6 @@ function needLoadRecommandForYou() { |
|
|
$('.cart-goods').length <= 0;
|
|
|
}
|
|
|
|
|
|
|
|
|
if (needLoadRecommandForYou()) {
|
|
|
require("js/product/recommend-for-you");
|
|
|
} else {
|
...
|
...
|
@@ -13214,7 +13212,10 @@ $cartNav.on('touchstart', 'li', function(e) { |
|
|
|
|
|
//提前触发lazyload
|
|
|
$(window).scrollTop(1).scrollTop(0);
|
|
|
|
|
|
|
|
|
if ($('.invalid-goods').find('.shopping-cart-good').length === 0) {
|
|
|
$('#failure-goods').removeClass('invalid-goods');
|
|
|
}
|
|
|
});
|
|
|
define("js/cart/good", ["jquery","mlellipsis","lazyload","handlebars","source-map","hammer"], function(require, exports, module){
|
|
|
/**
|
...
|
...
|
@@ -14152,12 +14153,12 @@ function chooseAction(pDom, dom) { |
|
|
function confirmAction() {
|
|
|
var type = $invoiceType.find('.on').data('id'),
|
|
|
title = $('.invoice-top').find('.on').text(),
|
|
|
tel = $tel.data('tel'),
|
|
|
tel = $tel.attr('data-tel'),
|
|
|
company = $('.company').val(),
|
|
|
cont = $chooseCont.data('id');
|
|
|
|
|
|
if ($editFlag.val() === 'true') {
|
|
|
if (!myreg.test($tel.data('tel'))) {
|
|
|
if (!myreg.test($tel.attr('data-tel'))) {
|
|
|
tip.show('请输入正确手机号');
|
|
|
$tel.focus();
|
|
|
return false;
|
...
|
...
|
|