摘要: 首先定义获取页面当前的滚动高度方法: //滚动条在Y轴上的滚动距离 getScrollTop() { var documentScrollTop = 0; documentScrollTop = document.documentElement.scrollTop; return documentS 阅读全文
posted @ 2020-10-11 21:21 巫小婆 阅读(1350) 评论(0) 推荐(0) 编辑