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
9de13c05ae21a33b3b3fdd139763ebd48f4cfe4f
1 parent
cb87394c
筛选框问题fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
static/js/product/shop.js
static/js/product/shop.js
View file @
9de13c0
...
...
@@ -314,13 +314,13 @@ myScroll.on('scroll', function() {
}
if
(
sTop
<
scH
)
{
if
(
!
$nav2
.
hasClass
(
'fixed-top'
))
{
$nav2
.
addClass
(
'fixed-top'
)
.
removeClass
(
'absolute'
)
.
css
({
transform
:
'translate(0, '
+
(
-
scH
)
+
'px)'
});
if
(
!
$nav2
.
hasClass
(
'absolute'
))
{
$nav2
.
addClass
(
'absolute'
)
.
removeClass
(
'fixed-top'
);
}
$nav2
.
css
({
transform
:
'translate(0, '
+
(
-
scH
)
+
'px)'
});
}
}
$
(
'#scroller'
).
trigger
(
'scroll'
);
...
...
Please
register
or
login
to post a comment