...
|
...
|
@@ -287,7 +287,9 @@ class Detail extends Page { |
|
|
let formatCollagePrice = document.getElementById('collagePrice').value;
|
|
|
|
|
|
this.getProductData(productSkn);
|
|
|
buynow.onclick = this.joinGroup.bind(this);
|
|
|
if (buynow) {
|
|
|
buynow.onclick = this.joinGroup.bind(this);
|
|
|
}
|
|
|
|
|
|
let title = `【包邮】${formatCollagePrice}抢${goodsName}`;
|
|
|
|
...
|
...
|
@@ -306,14 +308,17 @@ class Detail extends Page { |
|
|
isShowPop.style.display = 'none';
|
|
|
}, 10000);
|
|
|
}
|
|
|
if (groupNo) {
|
|
|
selfBuyDom.onclick = function() {
|
|
|
window.location.href = '/activity/group/detail?activityId=' + activityId + '&productSkn=' + productSkn;
|
|
|
};
|
|
|
} else {
|
|
|
selfBuyDom.onclick = function() {
|
|
|
location.href = '/product/' + productSkn + '.html';
|
|
|
};
|
|
|
|
|
|
if (selfBuyDom) {
|
|
|
if (groupNo) {
|
|
|
selfBuyDom.onclick = function() {
|
|
|
window.location.href = '/activity/group/detail?activityId=' + activityId + '&productSkn=' + productSkn;
|
|
|
};
|
|
|
} else {
|
|
|
selfBuyDom.onclick = function() {
|
|
|
location.href = '/product/' + productSkn + '.html';
|
|
|
};
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|