Authored by 梁志锋

尺码颜色选择

@@ -146,12 +146,13 @@ function changeSizeChosed(newSizeIndex) { @@ -146,12 +146,13 @@ 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 - }  
150 - }  
151 -  
152 $curSizeBlock.addClass('chosed'); 149 $curSizeBlock.addClass('chosed');
153 return $curSizeBlock.data('num'); 150 return $curSizeBlock.data('num');
154 } 151 }
  152 + }
  153 + $curSizeBlock = null;
  154 + return 0;
  155 + }
155 return 0; 156 return 0;
156 } 157 }
157 158