this.createSelectorQuery().in(this)
.selectAll('#one_top_msg')
.boundingClientRect()
.exec((res) =>{
console.log('谢谢谢谢谢寻',res);
})
微信小程序组件中获取某个元素的信息
最新推荐文章于 2025-03-14 08:41:49 发布
this.createSelectorQuery().in(this)
.selectAll('#one_top_msg')
.boundingClientRect()
.exec((res) =>{
console.log('谢谢谢谢谢寻',res);
})