...
|
...
|
@@ -188,7 +188,7 @@ function newData(callback) { |
|
|
req.callBack = function(data) {
|
|
|
$('#new-arrival').append(data);
|
|
|
navInfo.new.page++;
|
|
|
//myScroll.refresh();
|
|
|
myScroll.refresh();
|
|
|
lazyLoad($('#new-arrival .lazy'));
|
|
|
scH = $('#scroller').outerHeight();
|
|
|
searching = false;
|
...
|
...
|
@@ -213,7 +213,7 @@ function hotData(callback) { |
|
|
req.callBack = function(data) {
|
|
|
$('#popularity').append(data);
|
|
|
navInfo.hot.page++;
|
|
|
//myScroll.refresh();
|
|
|
myScroll.refresh();
|
|
|
lazyLoad($('#popularity .lazy'));
|
|
|
scH = $('#scroller').outerHeight();
|
|
|
searching = false;
|
...
|
...
|
@@ -257,7 +257,7 @@ function tabChange(dom, index) { |
|
|
viewType = 3;
|
|
|
} else if (activeTab === 'home-page') {
|
|
|
|
|
|
//myScroll && myScroll.refresh();
|
|
|
myScroll && myScroll.refresh();
|
|
|
scH = $('#scroller').outerHeight();
|
|
|
$nav1.removeClass('fixed-top absolute');
|
|
|
$nav2.removeClass('fixed-top absolute');
|
...
|
...
|
@@ -830,14 +830,14 @@ $listNav.on('touchstart', 'li', function(e) { |
|
|
$(this).addClass('bytouch');
|
|
|
}).on('touchend touchcancel', function() {
|
|
|
$listNav.find('li').removeClass('bytouch');
|
|
|
//myScroll && myScroll.refresh();
|
|
|
myScroll && myScroll.refresh();
|
|
|
});
|
|
|
|
|
|
$nav2.on('touchstart', 'li', function(e) {
|
|
|
$(this).addClass('bytouch');
|
|
|
}).on('touchend touchcancel', function() {
|
|
|
$nav2.find('li').removeClass('bytouch');
|
|
|
//myScroll && myScroll.refresh();
|
|
|
myScroll && myScroll.refresh();
|
|
|
});
|
|
|
|
|
|
//底部导航点击
|
...
|
...
|
|