滚动顶部+页面高度 >= 滚动高度
$(window).scroll(function() {
var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
var scrollHeight = document.documentElement.scrollHeight || document.body.scrollHeight;
var clientHeight = document.documentElement.clientHeight || document.body.clientHeight;
if(scrollTop+clientHeight>=scrollHeight){
// 加载的逻辑
}
})