Authored by 李奇

Merge branch 'feature/group-buy' into 'release/313'

拼团商品详情页优化



See merge request !1709
... ... @@ -134,8 +134,8 @@
<div id="productDesc" {{#if limit}}class="limit"{{/if}}> </div>
<div class="bottom">
<div class="count-down">
{{#ifcond storage_sum '&&' activityIdDetail.currentTime}}
<div class="count-down">
<div data-current="{{activityIdDetail.currentTime}}"
data-begin="{{activityIdDetail.beginTime}}"
data-end="{{activityIdDetail.endTime}}"
... ... @@ -147,8 +147,8 @@
<span class="number" id="minutes"></span>
<span class="number" id="seconds"></span>
</div>
</div>
{{/ifcond}}
</div>
{{#unless groupNo}}
<a href="/activity/group" class='shoppint-cart-icon'>
<img src="//img10.static.yhbimg.com/yhb-img01/2019/02/21/01/016b3f1cbc1b946fa0acbb1523f6386435.png"
... ...
... ... @@ -76,7 +76,7 @@
<a href="../group/list?activityId={{activityId}}" class="status-btn">查看更多拼团活动</a>
{{/ifcond}}
<a class="tip" href="https://m.yohobuy.com/activity/feature/1555.html">支付开团-支付参团-凑齐人数发货-凑不齐退款 玩法介绍》</a>
<a class="tip" href="https://m.yohobuy.com/activity/feature/1555.html?nodownload=1">支付开团-支付参团-凑齐人数发货-凑不齐退款 玩法介绍》</a>
</div>
</div>
{{#if bannerResource}}
... ...
... ... @@ -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';
};
}
}
}
... ...
... ... @@ -673,3 +673,7 @@
display: none !important;
}
}
.yoho-footer {
margin-bottom: 100px;
}
... ...