Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
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
180756d6bc26aef3ee2f30c17b5e84d31df46b21
1 parent
bbce5310
购物车颜色尺码选择
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
static/js/cart/chose-panel.js
static/js/cart/chose-panel.js
View file @
180756d
...
...
@@ -286,7 +286,7 @@ $('.size-list').on('touchstart', '.block', function(e) {
}
// 如果当前有尺码被选中,且数量等于0,则颜色块添加数量为0的样式, 否则显示剩余件数
if
(
curGoodNum
>
0
)
{
if
(
curGoodNum
>
0
&&
hasChooseColor
)
{
$that
.
find
(
'.num .left-num'
).
html
(
'剩余'
+
curGoodNum
+
'件'
);
}
else
{
$colorChosed
.
removeClass
(
'zero-stock'
).
addClass
(
'zero-stock'
);
...
...
Please
register
or
login
to post a comment