Authored by 李奇

不支持操作数量

... ... @@ -52,7 +52,7 @@
</a>
</div>
<!--<span class="left-num-discount">即将售罄</span>-->
<span class="left-num-discount">限购{{buy_limit_number}}</span>
<!--<span class="left-num-discount">限购{{buy_limit_number}}件</span>-->
</div>
</div>
</div>
... ...
... ... @@ -207,7 +207,7 @@ class GroupProgress extends Page {
}).then(result => {
if (result && result.sku) {
if (result.buyNow) {
let query = `is_group=1&product_sku=${result.sku.skuId}&buy_number=1&activityId=${this.data.activityId}&group_no=${this.data.groupNo}`; // eslint-disable-line
let query = `is_group=1&product_sku=${result.sku.skuId}&buy_number=1&activity_id=${this.data.activityId}&group_no=${this.data.groupNo}`; // eslint-disable-line
let nextUrl = location.origin + `/cart/index/buynow/orderensure?${query}`;
if (!yoho.isLogin()) {
... ...
... ... @@ -27,7 +27,6 @@ let $yohoPage = $('.yoho-page'),
$choseArea,
$goodNum,
$btnMinus,
$btnPlus,
$thumbImg,
$choseBtnSure;
... ... @@ -108,7 +107,6 @@ class ChosePanel {
$choseArea = $('.chose-panel .main .chose-items');
$goodNum = $('#good-num');
$btnMinus = $('.btn-minus');
$btnPlus = $('.btn-plus');
$thumbImg = $('.thumb-img');
$choseBtnSure = $('.btn-sure-buynow');
}
... ... @@ -120,9 +118,6 @@ class ChosePanel {
$yohoPage.on('touchstart', '.block', (e) => {
this._blockClick(e);
});
$yohoPage.on('touchstart', '.btn-plus,.btn-minus', (e) => {
this._numClick(e);
});
$yohoPage.on('touchstart', '.thumb-img .thumb', (e) => {
this._thumbClick(e);
});
... ... @@ -270,8 +265,6 @@ class ChosePanel {
} else {
$goodNum.val(1);
this.data.buyNumber = 1;
$btnMinus.find('.operator').addClass('disabled');
$btnPlus.find('.operator').removeClass('disabled');
$choseBtnSure.css('background-color', '#d0021b').text('确定');
}
}
... ...
... ... @@ -93,11 +93,14 @@
font-size: 40px;
color: #d0021b;
font-weight: bold;
line-height: 1;
margin-top: 40px;
}
.single-buy-price {
font-size: 20px;
color: #b0b0b0;
margin-top: 6px;
}
.single-buy-price .line-through {
... ...