网页可见区域宽clientWidth
document.body.clientWidth
//padding+width 的和
网页可见区域宽: offsetWidth (包括边线的宽)
document.body.offsetWidth
//padding+width+boder
网页正文全文高 scrollHeight
离文档的高度
document.querySelector(‘.A’).offsetTop
document.body.scrollHeight
//padding+内容的高度 的和
滚动的高度
document.body.scrollTop //滚动内容的高度
window.screen.height 屏幕分辨率的高度