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
74e6399be47ad9a20009da494248b60196b62389
1 parent
6c1a4703
修改预售购物车不显示的问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
static/js/cart/cart.js
static/js/cart/cart.js
View file @
74e6399
...
...
@@ -20,6 +20,10 @@ require('./good');
lazyLoad
(
$
(
'img.lazy'
));
if
(
'advance'
===
cartType
)
{
$cartContent
.
toggleClass
(
'hide'
);
}
if
(
$
(
'.cart-nav'
).
length
>
0
)
{
navHammer
=
new
Hammer
(
document
.
getElementsByClassName
(
'cart-nav'
)[
0
]);
navHammer
.
on
(
'tap'
,
function
(
e
)
{
...
...
Please
register
or
login
to post a comment