window.addEventListener('scroll', function() {
var scrollHeight = window.scrollY || document.documentElement.scrollTop;
console.log("页面滚动高度:" + scrollHeight + " 像素");
});
window.addEventListener('scroll', function() {
var scrollHeight = window.scrollY || document.documentElement.scrollTop;
console.log("页面滚动高度:" + scrollHeight + " 像素");
});