Showing
1 changed file
with
5 additions
and
5 deletions
@@ -181,10 +181,10 @@ $yohoPage.on('touchstart', '.color-list .block', function() { | @@ -181,10 +181,10 @@ $yohoPage.on('touchstart', '.color-list .block', function() { | ||
181 | hasChooseColor = false; | 181 | hasChooseColor = false; |
182 | 182 | ||
183 | //当前尺码行隐藏 | 183 | //当前尺码行隐藏 |
184 | - $sizeRowList.eq(curSizeIndex).removeClass('show').addClass('hide'); | 184 | + $sizeRowList.eq(curSizeIndex).addClass('hide'); |
185 | 185 | ||
186 | //目标尺码行显示 | 186 | //目标尺码行显示 |
187 | - $sizeRowList.eq(0).removeClass('hide').addClass('show'); | 187 | + $sizeRowList.eq(0).removeClass('hide'); |
188 | 188 | ||
189 | curSizeIndex = 0; | 189 | curSizeIndex = 0; |
190 | 190 | ||
@@ -202,10 +202,10 @@ $yohoPage.on('touchstart', '.color-list .block', function() { | @@ -202,10 +202,10 @@ $yohoPage.on('touchstart', '.color-list .block', function() { | ||
202 | displayGoodNum(curGoodNum); | 202 | displayGoodNum(curGoodNum); |
203 | 203 | ||
204 | // 尺码行当前行隐藏 | 204 | // 尺码行当前行隐藏 |
205 | - $sizeRowList.eq(curSizeIndex).removeClass('show').addClass('hide'); | 205 | + $sizeRowList.eq(curSizeIndex).addClass('hide'); |
206 | 206 | ||
207 | //尺码对应行显示 | 207 | //尺码对应行显示 |
208 | - $sizeRowList.eq(index + 1).removeClass('hide').addClass('show'); | 208 | + $sizeRowList.eq(index + 1).removeClass('hide'); |
209 | 209 | ||
210 | curSizeIndex = index + 1; | 210 | curSizeIndex = index + 1; |
211 | $curColorBlock = $this; | 211 | $curColorBlock = $this; |
@@ -393,4 +393,4 @@ $yohoPage.on('touchstart', '.btn-minus', function() { | @@ -393,4 +393,4 @@ $yohoPage.on('touchstart', '.btn-minus', function() { | ||
393 | }); | 393 | }); |
394 | 394 | ||
395 | exports.init = init; | 395 | exports.init = init; |
396 | -exports.show = show; | 396 | +exports.show = show; |
-
Please register or login to post a comment