DOM元素获取位置信息各类方法图示
getBoundingClientRect用法domRect = element.getBoundingClientRect();图解The returned value is a DOMRect object which is the smallest rectangle which contains the entire element, including its padding and border-width.返回值是一个DOMRect对象,该对象是包含这个元素的最小矩形,