Authored by 郭成尧

Merge branch 'feature/oneset' into release/5.3.1

... ... @@ -225,7 +225,7 @@ const tool = {
return {
title: '优惠套装',
href: helpers.urlFormat('/product/bundle/detail', {skn: skn}),
description: '立省¥' + priceShow + '元',
description: '立省¥' + priceShow,
productList: productProcess.processProductList(bundleData && bundleData.productList)
};
},
... ...
... ... @@ -56,7 +56,7 @@
</a>
</div>
{{#if @root.discountBuy}}
<span class="left-num-discount" style="color: #e10;position: absolute;top: 0.5rem;left: 9.5rem;overflow: hidden;white-space: nowrap;width: 5.2rem;-o-text-overflow: ellipsis;text-overflow: ellipsis;">{{@root.discountBuy.num}}件起购{{@root.discountBuy.discount}}</span>
<span class="left-num-discount" style="color: #e10;position: absolute;top: 0.5rem;left: 9.5rem;overflow: hidden;white-space: nowrap;width: 5.2rem;-o-text-overflow: ellipsis;text-overflow: ellipsis;">{{@root.discountBuy.num}}件起购享{{@root.discountBuy.discount}}</span>
<input id="mnum" type="hidden" value="{{@root.discountBuy.num}}">
{{^}}
<span class="left-num"></span>
... ...
... ... @@ -40,6 +40,13 @@ var $chosePanel = $('.chose-panel'),
var productSkn;
/* 为套装调整样式 */
function disableShowNum() {
$('.num').css('display', 'none');
$chosePanel.find('.infos').css('height', '9rem');
$chosePanel.find('.main').css('height', '12.8rem');
}
// 禁用数字编辑
function disableNumEdit() {
var $numBtn = $chosePanel.find('.num .btn>.iconfont');
... ... @@ -67,6 +74,7 @@ function init(sknId) {
curColorIndex = 0;
curSizeIndex = 0;
productSkn = sknId;
disableShowNum();
}
// 删除面板
... ...
... ... @@ -2,6 +2,7 @@
height: 344px;
overflow: hidden;
background-color: #fff;
margin-bottom: 30px;
.bundle-nav {
overflow: hidden;
... ...