Authored by 梁志锋

购物车尺码颜色选择

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