...
|
...
|
@@ -147,7 +147,7 @@ function changeSizeChosed(oldSizeIndex) { |
|
|
function changeColorChosed(oldColorIndex) {
|
|
|
if (curSizeIndex && $curColorBlock && $curColorBlock.length > 0) {
|
|
|
$curColorBlock.removeClass('chosed');
|
|
|
$curColorBlock = $($colorRowList.eq(oldColorIndex).children().get(curSizeIndex - 1))
|
|
|
$curColorBlock = $($colorRowList.eq(oldColorIndex).children().get(curSizeIndex - 1));
|
|
|
$curColorBlock.addClass('chosed');
|
|
|
return $curColorBlock.data('num');
|
|
|
}
|
...
|
...
|
@@ -223,7 +223,7 @@ $yohoPage.on('touchstart', '.color-list .block', function() { |
|
|
updateConformButtonClassAndText();
|
|
|
}).on('touchstart', '.size-list .block', function() {
|
|
|
var $this = $(this),
|
|
|
index= $this.index(),
|
|
|
index = $this.index(),
|
|
|
curGoodNum;
|
|
|
|
|
|
// 当前尺码已经是选中状态,再点击时
|
...
|
...
|
|