element.offsetParent 定义 element.offsetParent为包含element的祖先元素中,层级最近的定位元素。 也就是说,offsetParent必须满足三个条件:element.offsetParent 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交