this.$refs.piediv.getBoundingClientRect().top; //piediv为dom对象的ref 相关文章: 2022-12-23 2022-12-23 2022-12-23 2021-12-23 2022-01-07 2021-12-23