Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
dd276e9cfa3d2c083a6b99d5aa5706d60db43576
1 parent
56dbe054
购物车尺码颜色选择
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
static/js/cart/chose-panel.js
static/js/cart/chose-panel.js
View file @
dd276e9
...
...
@@ -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
(
'您选择的数量超过了最大库存量~'
);
...
...
Please
register
or
login
to post a comment