document.documentElement.scrollTop||document.body.scrollTop 转载于:https://www.cnblogs.com/500m/p/11452519.html