...
|
...
|
@@ -30,7 +30,9 @@ var $main = $('.main'), |
|
|
secKill = $main.data('seckill') === 'Y',
|
|
|
limitCode = $main.data('limitcode'),
|
|
|
isBundle = $main.data('type') === 2, // 量贩商品
|
|
|
goodsBaseNum = isBundle ? $main.data('count'): 1; // 每次购买最低件数
|
|
|
goodsBaseNum = isBundle ? $main.data('count') : 1; // 每次购买最低件数
|
|
|
|
|
|
var maxStock = -1; // 记录当前选中的颜色-尺码的库存量,若为-1,代表未选择尺码
|
|
|
|
|
|
var SLIDETIME = 200;
|
|
|
|
...
|
...
|
@@ -99,8 +101,6 @@ bindEvent.add(function() { |
|
|
|
|
|
var isTicket = $('input[name="isTicket"]').length > 0 && $('input[name="isTicket"]').val() === 'true';
|
|
|
|
|
|
var maxStock = -1; // 记录当前选中的颜色-尺码的库存量,若为-1,代表未选择尺码
|
|
|
|
|
|
var brandDomain = $('.home').attr('href');
|
|
|
|
|
|
var Alert = require('../common/dialog').Alert;
|
...
|
...
|
@@ -234,8 +234,6 @@ bindEvent.add(function() { |
|
|
|
|
|
$('.activity-title').click(function() {
|
|
|
$(this).toggleClass('active');
|
|
|
$('.activity-container').empty();
|
|
|
|
|
|
if ($(this).hasClass('active')) {
|
|
|
$(this).find('span').html(icon.fold);
|
|
|
$('.activity-container').slideDown(400);
|
...
|
...
|
@@ -443,7 +441,7 @@ bindEvent.add(function() { |
|
|
|
|
|
switchBtnStatus();
|
|
|
|
|
|
/// 到货通知:状态
|
|
|
// / 到货通知:状态
|
|
|
if ($this.data('notify') === 'Y') {
|
|
|
$enableNotifyYou.removeClass('hide');
|
|
|
|
...
|
...
|
@@ -1069,7 +1067,7 @@ function fetchComment() { |
|
|
$consultNum.text(res[0].total);
|
|
|
|
|
|
totalnum = Math.ceil(res[0].total / 10) * 20;
|
|
|
|
|
|
|
|
|
$consultsUl.empty().append(consultsTpl({
|
|
|
consults: res
|
|
|
}));
|
...
|
...
|
@@ -1158,8 +1156,6 @@ function fetchComment() { |
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 我要咨询
|
|
|
$('#consults-btn').click(function() {
|
|
|
|
...
|
...
|
|