参考文献: JavaScript概念之screen/client/offset/scroll/inner/avail的width/left 转载于:https://www.cnblogs.com/nightnight/p/10795215.html