Authored by Rock Zhang

Merge branch 'develop/wap' of git.dev.yoho.cn:web/yohobuy into develop/wap

@@ -25,18 +25,24 @@ var start = 0, @@ -25,18 +25,24 @@ var start = 0,
25 lazyLoad($('img.lazy')); 25 lazyLoad($('img.lazy'));
26 26
27 $('.nav-btn').on('touchstart', function(event) { 27 $('.nav-btn').on('touchstart', function(event) {
  28 + $sideNav.css('pointer-events', 'none');
28 $mobileWrap.addClass('menu-open'); 29 $mobileWrap.addClass('menu-open');
29 $overlay.show().css('opacity', 0.3); 30 $overlay.show().css('opacity', 0.3);
30 $sideNav.addClass('on'); 31 $sideNav.addClass('on');
31 - openSideNav = true;  
32 event.preventDefault(); 32 event.preventDefault();
33 event.stopPropagation(); 33 event.stopPropagation();
  34 + openSideNav = true;
34 35
35 //设置boy高宽,页面不能上下滑动 36 //设置boy高宽,页面不能上下滑动
36 $('body').css({ 37 $('body').css({
37 height: $(window).height(), 38 height: $(window).height(),
38 overflow: 'hidden' 39 overflow: 'hidden'
39 }); 40 });
  41 +
  42 + setTimeout(function() {
  43 + $sideNav.css('pointer-events', 'auto');
  44 + }, 400);
  45 +
40 return false; 46 return false;
41 }); 47 });
42 48