...
|
...
|
@@ -31,9 +31,12 @@ $('.nav-btn').on('touchstart', function(event) { |
|
|
event.preventDefault();
|
|
|
event.stopPropagation();
|
|
|
openSideNav = true;
|
|
|
event.preventDefault();
|
|
|
event.stopPropagation();
|
|
|
|
|
|
//设置boy高宽,页面不能上下滑动
|
|
|
$('body').css({
|
|
|
height: $(window).height(),
|
|
|
overflow: 'hidden'
|
|
|
});
|
|
|
return false;
|
...
|
...
|
@@ -47,6 +50,7 @@ function hideSideBar() { |
|
|
$('.sub-nav').removeClass('show');
|
|
|
$sideNav.removeClass('on');
|
|
|
$('body').css({
|
|
|
height: 'auto',
|
|
|
overflow: 'auto'
|
|
|
});
|
|
|
}
|
...
|
...
|
|