摘要: window.addEventListener('scroll',this.listscroll) listscroll(){ var contantheight=document.body.scrollHeight //正文高度 var scrollheight=window.screen.ava 阅读全文
posted @ 2021-11-11 15:09 谎渊 阅读(72) 评论(0) 推荐(0)
摘要: document.body.clientWidth ==> BODY对象宽度 2 document.body.clientHeight ==> BODY对象高度 3 document.documentElement.clientWidth ==> 可见区域宽度 4 document.document 阅读全文
posted @ 2021-11-11 15:05 谎渊 阅读(112) 评论(0) 推荐(0)