...
|
...
|
@@ -58,8 +58,6 @@ var limitProductCode, |
|
|
// 限购商品的skn。只有限购商品时才会设置。
|
|
|
skn;
|
|
|
|
|
|
var isSecKills = $('.isSecKill').length;// 秒杀标记
|
|
|
|
|
|
// 禁用数字编辑
|
|
|
function disableNumEdit() {
|
|
|
var $numBtn = $('.chose-panel').find('.num .btn>.iconfont');
|
...
|
...
|
@@ -207,6 +205,7 @@ function hide() { |
|
|
// 修改加入购物车的文字和背景
|
|
|
|
|
|
var isSeckill = $('.limit-num-text').length;
|
|
|
var isSecKills = 0;
|
|
|
|
|
|
function updateConformButtonClassAndText() {
|
|
|
if (isSeckill > 0) {
|
...
|
...
|
@@ -558,6 +557,8 @@ $yohoPage.on('touchstart', '.btn-minus', function() { |
|
|
$chosed = $('.block-list>ul>li.chosed');
|
|
|
|
|
|
if ($chosed.length === 2 && $chosed.closest('.zero-stock').length === 0) {
|
|
|
isSecKills = $('.seckill-time').length;// 秒杀标记
|
|
|
|
|
|
productSku = $curSizeBlock.data('skuid');
|
|
|
promotionId = $('#promotionId').val();
|
|
|
if (confirming) {
|
...
|
...
|
@@ -589,7 +590,7 @@ $yohoPage.on('touchstart', '.btn-minus', function() { |
|
|
url = '/cart/index/modify';
|
|
|
|
|
|
} else if (limitProductCode) {
|
|
|
|
|
|
isSecKills = $('.seckill-time').length;// 秒杀标记
|
|
|
$(this).css('background-color', '#ccc').removeAttr('id');
|
|
|
|
|
|
// 当前面板选择的是限购商品
|
...
|
...
|
|