...
|
...
|
@@ -58,13 +58,17 @@ function getOrders(option) { |
|
|
|
|
|
if (opt.page === 1) {
|
|
|
$curContainer.html(data);
|
|
|
lazyLoad($curContainer.find('.lazy'));
|
|
|
lazyLoad($curContainer.find('.lazy'), {
|
|
|
try_again_css: 'order-failure'
|
|
|
});
|
|
|
} else {
|
|
|
num = $curContainer.children('.order').length;
|
|
|
$curContainer.append(data);
|
|
|
|
|
|
//lazyload
|
|
|
lazyLoad($curContainer.children('.order:gt(' + (num - 1) + ')').find('.lazy'));
|
|
|
lazyLoad($curContainer.children('.order:gt(' + (num - 1) + ')').find('.lazy'), {
|
|
|
try_again_css: 'order-failure'
|
|
|
});
|
|
|
}
|
|
|
|
|
|
window.rePosFooter(); //重新计算底部位置
|
...
|
...
|
@@ -78,7 +82,9 @@ function getOrders(option) { |
|
|
});
|
|
|
}
|
|
|
|
|
|
lazyLoad();
|
|
|
lazyLoad({
|
|
|
try_again_css: 'order-failure'
|
|
|
});
|
|
|
|
|
|
//初始化导航
|
|
|
(function() {
|
...
|
...
|
|