...
|
...
|
@@ -181,10 +181,10 @@ $yohoPage.on('touchstart', '.color-list .block', function() { |
|
|
hasChooseColor = false;
|
|
|
|
|
|
//当前尺码行隐藏
|
|
|
$sizeRowList.eq(curSizeIndex).removeClass('show').addClass('hide');
|
|
|
$sizeRowList.eq(curSizeIndex).addClass('hide');
|
|
|
|
|
|
//目标尺码行显示
|
|
|
$sizeRowList.eq(0).removeClass('hide').addClass('show');
|
|
|
$sizeRowList.eq(0).removeClass('hide');
|
|
|
|
|
|
curSizeIndex = 0;
|
|
|
|
...
|
...
|
@@ -202,10 +202,10 @@ $yohoPage.on('touchstart', '.color-list .block', function() { |
|
|
displayGoodNum(curGoodNum);
|
|
|
|
|
|
// 尺码行当前行隐藏
|
|
|
$sizeRowList.eq(curSizeIndex).removeClass('show').addClass('hide');
|
|
|
$sizeRowList.eq(curSizeIndex).addClass('hide');
|
|
|
|
|
|
//尺码对应行显示
|
|
|
$sizeRowList.eq(index + 1).removeClass('hide').addClass('show');
|
|
|
$sizeRowList.eq(index + 1).removeClass('hide');
|
|
|
|
|
|
curSizeIndex = index + 1;
|
|
|
$curColorBlock = $this;
|
...
|
...
|
|