Showing
1 changed file
with
1 additions
and
2 deletions
@@ -165,9 +165,8 @@ $yohoPage.on('touchstart', '.color-list .block', function(e) { | @@ -165,9 +165,8 @@ $yohoPage.on('touchstart', '.color-list .block', function(e) { | ||
165 | // 之前选中的尺码去掉勾选样式 | 165 | // 之前选中的尺码去掉勾选样式 |
166 | if ($preSiblingBlock.length > 0) { | 166 | if ($preSiblingBlock.length > 0) { |
167 | $preSiblingBlock.removeClass('chosed'); | 167 | $preSiblingBlock.removeClass('chosed'); |
168 | - } | ||
169 | - | ||
170 | curSizeBlock = $curSizeRow.children().get(scindex); | 168 | curSizeBlock = $curSizeRow.children().get(scindex); |
169 | + } | ||
171 | 170 | ||
172 | // 当前选中颜色对应的尺码行,其对应的尺码加上勾选样式 (前提是要判断下这个尺码是否存在) | 171 | // 当前选中颜色对应的尺码行,其对应的尺码加上勾选样式 (前提是要判断下这个尺码是否存在) |
173 | if (curSizeBlock) { | 172 | if (curSizeBlock) { |
-
Please register or login to post a comment