document.onscroll = function(e){ console.log((document.documentElement.scrollTop + document.body.scrollTop) == ($(document).height() - $(window).height()));
//到底部返回true
}
document.onscroll = function(e){ console.log((document.documentElement.scrollTop + document.body.scrollTop) == ($(document).height() - $(window).height()));
//到底部返回true
}
评论 (0)