...
|
...
|
@@ -70,7 +70,8 @@ $('.goods-img').on('touchend', function() { |
|
|
op: 'YB_GDS_PACKAGE_GOODS_C',
|
|
|
param: JSON.stringify({
|
|
|
C_ID: window._ChannelVary[window.cookie('_Channel')],
|
|
|
PRD_ID: window.queryString.gid,
|
|
|
PRD_ID: window.queryString.productId,
|
|
|
TAB_ID: window.queryString.index || 1,
|
|
|
PACKAGE_GOODS: packGood.data('id'),
|
|
|
PACKAGE_INDEX: packGood.data('index') + 1
|
|
|
})
|
...
|
...
|
@@ -85,6 +86,16 @@ $('.bundle-tabs').on('click', '.swiper-slide', (e) => { |
|
|
if ($tab.hasClass('selected')) {
|
|
|
return;
|
|
|
}
|
|
|
if (window._yas && window._yas.sendCustomInfo) {
|
|
|
window._yas.sendCustomInfo({
|
|
|
op: 'YB_GDS_PACKAGE_TAB_C',
|
|
|
param: JSON.stringify({
|
|
|
C_ID: window._ChannelVary[window.cookie('_Channel')],
|
|
|
PRD_ID: window.queryString.productId,
|
|
|
TAB_ID: $(e.currentTarget).data('index') + 1
|
|
|
})
|
|
|
}, true);
|
|
|
}
|
|
|
let href = $tab.data('href');
|
|
|
|
|
|
window.location.href = href;
|
...
|
...
|
@@ -128,7 +139,7 @@ $buyNowBtn.on('touchstart', function() { |
|
|
op: 'YB_GDS_PACKAGE_BUY_NOW_C',
|
|
|
param: JSON.stringify({
|
|
|
C_ID: window._ChannelVary[window.cookie('_Channel')],
|
|
|
PRD_ID: window.queryString.id,
|
|
|
PRD_ID: window.queryString.productId,
|
|
|
PACKAGE_GOODS: yasGid.join(',')
|
|
|
})
|
|
|
}, true);
|
...
|
...
|
@@ -141,6 +152,6 @@ $buyNowBtn.on('touchstart', function() { |
|
|
activity_id: bundleId
|
|
|
}), actCkOpthn);
|
|
|
|
|
|
window.location.href = '/cart/index/new/orderEnsure?cartType=bundle&activityType=bundle';
|
|
|
window.location.href = '/cart/index/new/orderEnsure?cartType=bundle&activityType=bundle&productId=' + window.queryString.productId;
|
|
|
}
|
|
|
}); |
...
|
...
|
|