...
|
...
|
@@ -42,7 +42,6 @@ var winH = $(window).height(), |
|
|
var defaultOpt = require('./query-param');
|
|
|
|
|
|
var $listNav = $('#list-nav'),
|
|
|
$posList = $('#pos-list'),
|
|
|
|
|
|
//导航数据信息
|
|
|
navInfo = {
|
...
|
...
|
@@ -612,10 +611,6 @@ $listNav.bind('contextmenu', function(e) { |
|
|
return false;
|
|
|
});
|
|
|
|
|
|
$posList.bind('contextmenu', function(e) {
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
$subNav.on('touchend touchcancel', function(e) {
|
|
|
var $this = $(e.target).closest('li'),
|
|
|
cname,
|
...
|
...
|
@@ -783,12 +778,11 @@ $listNav.on('touchstart', 'li', function(e) { |
|
|
myScroll.refresh();
|
|
|
});
|
|
|
|
|
|
$posList.on('touchstart', 'li', function(e) {
|
|
|
$nav2.on('touchstart', 'li', function(e) {
|
|
|
$(this).addClass('bytouch');
|
|
|
}).on('touchend touchcancel', function() {
|
|
|
$posList.find('li').removeClass('bytouch');
|
|
|
$listNav.find('li').removeClass('bytouch');
|
|
|
myScroll.refresh();
|
|
|
myScroll.scrollTo(0, -(imgH + nav1H + main1oH + 5));
|
|
|
});
|
|
|
|
|
|
//底部导航点击
|
...
|
...
|
|