...
|
...
|
@@ -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('确定');
|
|
|
}
|
|
|
}
|
...
|
...
|
|