Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
13f467186c18ded8d622afe4a2fe441544622ce3
1 parent
611a8532
修改侧边栏效果
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
static/js/home/home.js
static/js/home/home.js
View file @
13f4671
...
...
@@ -34,6 +34,7 @@ $('.nav-btn').on('touchstart', function(event) {
//设置boy高宽,页面不能上下滑动
$
(
'body'
).
css
({
height
:
$
(
window
).
height
(),
overflow
:
'hidden'
});
return
false
;
...
...
@@ -47,6 +48,7 @@ function hideSideBar() {
$
(
'.sub-nav'
).
removeClass
(
'show'
);
$sideNav
.
removeClass
(
'on'
);
$
(
'body'
).
css
({
height
:
'auto'
,
overflow
:
'auto'
});
}
...
...
Please
register
or
login
to post a comment