...
|
...
|
@@ -33,20 +33,6 @@ lazyLoad($('img.lazy')); |
|
|
|
|
|
navHammer = new Hammer($('.nav-btn')[0]);
|
|
|
navHammer.on('tap', function(event) {
|
|
|
<<<<<<< HEAD
|
|
|
if (!$(this).hasClass('menu-open')) {
|
|
|
$('.mobile-wrap').addClass('menu-open');
|
|
|
$('.overlay').show().css('opacity', 0.3);
|
|
|
$('.side-nav').addClass('on');
|
|
|
|
|
|
//设置boy高宽,页面不能上下滑动
|
|
|
$('body').css({
|
|
|
height: $(window).height(),
|
|
|
width: '100%',
|
|
|
overflow: 'hidden'
|
|
|
});
|
|
|
}
|
|
|
=======
|
|
|
$mobileWrap.addClass('menu-open');
|
|
|
$overlay.show().css('opacity', 0.3);
|
|
|
$sideNav.addClass('on');
|
...
|
...
|
@@ -57,7 +43,7 @@ navHammer.on('tap', function(event) { |
|
|
width: '100%',
|
|
|
overflow: 'hidden'
|
|
|
});
|
|
|
>>>>>>> 9ef15a28755af3762f68b90623fd5e6d1a27082e
|
|
|
|
|
|
event.srcEvent.stopPropagation();
|
|
|
});
|
|
|
|
...
|
...
|
|