Authored by 梁志锋

Merge remote-tracking branch 'remotes/origin/develop/wap' into beta/wap

@@ -31,9 +31,12 @@ $('.nav-btn').on('touchstart', function(event) { @@ -31,9 +31,12 @@ $('.nav-btn').on('touchstart', function(event) {
31 event.preventDefault(); 31 event.preventDefault();
32 event.stopPropagation(); 32 event.stopPropagation();
33 openSideNav = true; 33 openSideNav = true;
  34 + event.preventDefault();
  35 + event.stopPropagation();
34 36
35 //设置boy高宽,页面不能上下滑动 37 //设置boy高宽,页面不能上下滑动
36 $('body').css({ 38 $('body').css({
  39 + height: $(window).height(),
37 overflow: 'hidden' 40 overflow: 'hidden'
38 }); 41 });
39 return false; 42 return false;
@@ -47,6 +50,7 @@ function hideSideBar() { @@ -47,6 +50,7 @@ function hideSideBar() {
47 $('.sub-nav').removeClass('show'); 50 $('.sub-nav').removeClass('show');
48 $sideNav.removeClass('on'); 51 $sideNav.removeClass('on');
49 $('body').css({ 52 $('body').css({
  53 + height: 'auto',
50 overflow: 'auto' 54 overflow: 'auto'
51 }); 55 });
52 } 56 }