Authored by 梁志锋

购物车尺码颜色选择

@@ -18,9 +18,9 @@ var panelTmpl, @@ -18,9 +18,9 @@ var panelTmpl,
18 $chosePanel = $('#chose-panel'), 18 $chosePanel = $('#chose-panel'),
19 $num, 19 $num,
20 $chosed, 20 $chosed,
21 - re = /\d+/, 21 +
  22 + // re = /\d+/,
22 leftNum, 23 leftNum,
23 - $sizeList,  
24 confirming, 24 confirming,
25 hasChooseColor = false, 25 hasChooseColor = false,
26 hasChooseSize = false, 26 hasChooseSize = false,
@@ -430,7 +430,7 @@ $('#chose-btn-sure').on('touchstart', function() { @@ -430,7 +430,7 @@ $('#chose-btn-sure').on('touchstart', function() {
430 return; 430 return;
431 } 431 }
432 432
433 - leftNum = $('#left-num').val();; 433 + leftNum = $('#left-num').val();
434 434
435 if (num > leftNum) { 435 if (num > leftNum) {
436 tip.show('您选择的数量超过了最大库存量~'); 436 tip.show('您选择的数量超过了最大库存量~');