Authored by zhangxiaoru

yas

... ... @@ -587,18 +587,20 @@ $yohoPage.on('touchstart', '.btn-minus', function() {
}
$chosed = $('.block-list>ul>li.chosed');
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: 'YB_GDS_DT_ADD_TO_SC',
param: JSON.stringify(Object.assign(yasparm, {
C_ID: window._ChannelVary[window.cookie('_Channel')],
PRD_ID: $('#goodsId').val(),
PRD_NUM: buyNumber,
PRD_SKN: thisSkn,
PRD_SKU: $curSizeBlock.data('skuid')
}))
}, true);
}
setTimeout(function() {
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: 'YB_GDS_DT_ADD_TO_SC',
param: JSON.stringify({
C_ID: window._ChannelVary[window.cookie('_Channel')],
PRD_ID: $('#goodsId').val(),
PRD_NUM: buyNumber,
PRD_SKN: thisSkn,
PRD_SKU: $curSizeBlock.data('skuid')
})
}, true);
}
})
if ($chosed.length === 2 && $chosed.closest('.zero-stock').length === 0) {
isSecKills = $('.seckill-time').length; // 秒杀标记
... ...