1. 判断是否滚动到页面底部:spa
if( $(window).scrollTop() + $(window).height() + 250 >= $(document).height() ){scroll
//滚动到底部的处理document
}滚动