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
2cd8d8e74079f028e08926b9e66f28dc48d87dea
1 parent
73544d74
尺码颜色修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
static/js/cart/chose-panel.js
static/js/cart/chose-panel.js
View file @
2cd8d8e
...
...
@@ -181,10 +181,10 @@ $yohoPage.on('touchstart', '.color-list .block', function() {
hasChooseColor
=
false
;
//当前尺码行隐藏
$sizeRowList
.
eq
(
curSizeIndex
).
removeClass
(
'show'
).
addClass
(
'hide'
);
$sizeRowList
.
eq
(
curSizeIndex
).
addClass
(
'hide'
);
//目标尺码行显示
$sizeRowList
.
eq
(
0
).
removeClass
(
'hide'
)
.
addClass
(
'show'
)
;
$sizeRowList
.
eq
(
0
).
removeClass
(
'hide'
);
curSizeIndex
=
0
;
...
...
@@ -202,10 +202,10 @@ $yohoPage.on('touchstart', '.color-list .block', function() {
displayGoodNum
(
curGoodNum
);
// 尺码行当前行隐藏
$sizeRowList
.
eq
(
curSizeIndex
).
removeClass
(
'show'
).
addClass
(
'hide'
);
$sizeRowList
.
eq
(
curSizeIndex
).
addClass
(
'hide'
);
//尺码对应行显示
$sizeRowList
.
eq
(
index
+
1
).
removeClass
(
'hide'
)
.
addClass
(
'show'
)
;
$sizeRowList
.
eq
(
index
+
1
).
removeClass
(
'hide'
);
curSizeIndex
=
index
+
1
;
$curColorBlock
=
$this
;
...
...
@@ -393,4 +393,4 @@ $yohoPage.on('touchstart', '.btn-minus', function() {
});
exports
.
init
=
init
;
exports
.
show
=
show
;
exports
.
show
=
show
;
\ No newline at end of file
...
...
Please
register
or
login
to post a comment