Authored by 李奇

不支持操作数量

@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 </a> 52 </a>
53 </div> 53 </div>
54 <!--<span class="left-num-discount">即将售罄</span>--> 54 <!--<span class="left-num-discount">即将售罄</span>-->
55 - <span class="left-num-discount">限购{{buy_limit_number}}</span> 55 + <!--<span class="left-num-discount">限购{{buy_limit_number}}件</span>-->
56 </div> 56 </div>
57 </div> 57 </div>
58 </div> 58 </div>
@@ -207,7 +207,7 @@ class GroupProgress extends Page { @@ -207,7 +207,7 @@ class GroupProgress extends Page {
207 }).then(result => { 207 }).then(result => {
208 if (result && result.sku) { 208 if (result && result.sku) {
209 if (result.buyNow) { 209 if (result.buyNow) {
210 - 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 210 + 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
211 let nextUrl = location.origin + `/cart/index/buynow/orderensure?${query}`; 211 let nextUrl = location.origin + `/cart/index/buynow/orderensure?${query}`;
212 212
213 if (!yoho.isLogin()) { 213 if (!yoho.isLogin()) {
@@ -27,7 +27,6 @@ let $yohoPage = $('.yoho-page'), @@ -27,7 +27,6 @@ let $yohoPage = $('.yoho-page'),
27 $choseArea, 27 $choseArea,
28 $goodNum, 28 $goodNum,
29 $btnMinus, 29 $btnMinus,
30 - $btnPlus,  
31 $thumbImg, 30 $thumbImg,
32 $choseBtnSure; 31 $choseBtnSure;
33 32
@@ -108,7 +107,6 @@ class ChosePanel { @@ -108,7 +107,6 @@ class ChosePanel {
108 $choseArea = $('.chose-panel .main .chose-items'); 107 $choseArea = $('.chose-panel .main .chose-items');
109 $goodNum = $('#good-num'); 108 $goodNum = $('#good-num');
110 $btnMinus = $('.btn-minus'); 109 $btnMinus = $('.btn-minus');
111 - $btnPlus = $('.btn-plus');  
112 $thumbImg = $('.thumb-img'); 110 $thumbImg = $('.thumb-img');
113 $choseBtnSure = $('.btn-sure-buynow'); 111 $choseBtnSure = $('.btn-sure-buynow');
114 } 112 }
@@ -120,9 +118,6 @@ class ChosePanel { @@ -120,9 +118,6 @@ class ChosePanel {
120 $yohoPage.on('touchstart', '.block', (e) => { 118 $yohoPage.on('touchstart', '.block', (e) => {
121 this._blockClick(e); 119 this._blockClick(e);
122 }); 120 });
123 - $yohoPage.on('touchstart', '.btn-plus,.btn-minus', (e) => {  
124 - this._numClick(e);  
125 - });  
126 $yohoPage.on('touchstart', '.thumb-img .thumb', (e) => { 121 $yohoPage.on('touchstart', '.thumb-img .thumb', (e) => {
127 this._thumbClick(e); 122 this._thumbClick(e);
128 }); 123 });
@@ -270,8 +265,6 @@ class ChosePanel { @@ -270,8 +265,6 @@ class ChosePanel {
270 } else { 265 } else {
271 $goodNum.val(1); 266 $goodNum.val(1);
272 this.data.buyNumber = 1; 267 this.data.buyNumber = 1;
273 - $btnMinus.find('.operator').addClass('disabled');  
274 - $btnPlus.find('.operator').removeClass('disabled');  
275 $choseBtnSure.css('background-color', '#d0021b').text('确定'); 268 $choseBtnSure.css('background-color', '#d0021b').text('确定');
276 } 269 }
277 } 270 }
@@ -93,11 +93,14 @@ @@ -93,11 +93,14 @@
93 font-size: 40px; 93 font-size: 40px;
94 color: #d0021b; 94 color: #d0021b;
95 font-weight: bold; 95 font-weight: bold;
  96 + line-height: 1;
  97 + margin-top: 40px;
96 } 98 }
97 99
98 .single-buy-price { 100 .single-buy-price {
99 font-size: 20px; 101 font-size: 20px;
100 color: #b0b0b0; 102 color: #b0b0b0;
  103 + margin-top: 6px;
101 } 104 }
102 105
103 .single-buy-price .line-through { 106 .single-buy-price .line-through {