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
梁志锋
2015-12-16 17:49:17 +0800
Commit
289e1aef2b49317bcabc4619a4351f54966a8044
1 parent
6a66e15c
购物车类型的设置
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
static/js/cart/cart.js
static/js/cart/cart.js
View file @
289e1ae
...
...
@@ -27,6 +27,12 @@ navHammer.on('tap', function(e) {
return
;
}
if
(
cartType
===
'ordinary'
)
{
cartType
=
'advance'
;
}
else
{
cartType
=
'ordinary'
;
}
$this
.
siblings
(
'.active'
).
removeClass
(
'active'
);
$this
.
addClass
(
'active'
);
...
...
Please
register
or
login
to post a comment