...
|
...
|
@@ -41,8 +41,6 @@ $('.nav-btn').on('touchstart', function() { |
|
|
$sideNav.css('pointer-events', 'auto');
|
|
|
}, 400);
|
|
|
|
|
|
//innerScroll.disableScroll($sideNav);
|
|
|
|
|
|
return false;
|
|
|
});
|
|
|
|
...
|
...
|
@@ -82,13 +80,8 @@ $sideNav.on('touchend', 'li', function(e) { |
|
|
// 返回一级导航,收起二级导航
|
|
|
$subNav.each(function() {
|
|
|
$(this).find('li').eq(0).on('click', function() {
|
|
|
|
|
|
$sideNav.css('pointer-events', 'none');
|
|
|
setTimeout(function() {
|
|
|
$('.sub-nav').removeClass('show');
|
|
|
$sideNav.css('pointer-events', 'auto');
|
|
|
}, 400);
|
|
|
|
|
|
$('.sub-nav').removeClass('show');
|
|
|
return false;
|
|
|
});
|
|
|
}).on('touchstart', function(e) {
|
|
|
if (e.currentTarget !== e.target) {
|
...
|
...
|
|