1. 相关尺寸 1.1 获取元素相对于文档的偏移量 var pos = $('#small').offset(); console.log(pos.left, pos.top);var pos = $('#smal 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交