// 滑动分页
$(window).scroll(function() {
var mayLoadContent = $(window).scrollTop() >= $(document).height() - $(window).height();
var docHeight = $(document).height();
if (mayLoadContent) {
if (!Nodes[N_wrap].hasClass(CLs_isLoading)) {
Nodes[N_wrap].addClass(CLs_isLoading);
}
self.goToNextPage(); //跳转到下一页的方法
}
});
时间: 2024-10-12 02:35:12