Authored by 梁志锋

尺码颜色选择

@@ -146,11 +146,12 @@ function changeSizeChosed(newSizeIndex) { @@ -146,11 +146,12 @@ function changeSizeChosed(newSizeIndex) {
146 $curSizeBlock = $(sizes[i]); 146 $curSizeBlock = $(sizes[i]);
147 queryString = '#' + $curSizeBlock.data('name'); 147 queryString = '#' + $curSizeBlock.data('name');
148 curColorIndex = $(queryString).data('index'); 148 curColorIndex = $(queryString).data('index');
  149 + $curSizeBlock.addClass('chosed');
  150 + return $curSizeBlock.data('num');
149 } 151 }
150 } 152 }
151 -  
152 - $curSizeBlock.addClass('chosed');  
153 - return $curSizeBlock.data('num'); 153 + $curSizeBlock = null;
  154 + return 0;
154 } 155 }
155 return 0; 156 return 0;
156 } 157 }