...
|
...
|
@@ -218,7 +218,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;
|
...
|
...
|
@@ -264,7 +264,7 @@ function tabChange(dom, index) { |
|
|
$nav1.removeClass('fixed-top absolute');
|
|
|
$nav2.removeClass('fixed-top absolute');
|
|
|
}
|
|
|
// myScroll && myScroll.refresh();
|
|
|
myScroll && myScroll.refresh();
|
|
|
scH = $('#scroller').outerHeight();
|
|
|
if (!$nav1.hasClass('hide')) {
|
|
|
myScroll && myScroll.scrollTo(0, 0 - imgH);
|
...
|
...
|
@@ -442,9 +442,9 @@ document.addEventListener('touchmove', function(e) { |
|
|
//window ready 后重新refresh iscroll
|
|
|
$(window).ready(function() {
|
|
|
myScroll && myScroll.refresh();
|
|
|
imgH = $('#nav-top').outerHeight(true);
|
|
|
nav1H = $('#nav').outerHeight(true);
|
|
|
main1H = $('#nav-main').height(true);
|
|
|
imgH = $('#nav-top').outerHeight();
|
|
|
nav1H = $('#nav').outerHeight();
|
|
|
main1H = $('#nav-main').height();
|
|
|
main1oH = $('#nav-main').outerHeight(true);
|
|
|
nav2H = $('#list-nav').outerHeight(true);
|
|
|
main2oH = $('#goods-container').outerHeight(true);
|
...
|
...
|
@@ -911,7 +911,7 @@ function postCollect(info) { |
|
|
}
|
|
|
|
|
|
setTimeout(function() {
|
|
|
// myScroll.refresh();
|
|
|
myScroll.refresh();
|
|
|
scH = $('#scroller').outerHeight();
|
|
|
}, 500);
|
|
|
searching = false;
|
...
|
...
|
|