uni.createSelectorQuery().in(this).select('.类名').boundingClientRect(data => {
console.log(data.height)
console.log(data.width)
}).exec()
标签:uniapp,console,log,获取,宽度,data From: https://www.cnblogs.com/zhang-DaChong/p/16583867.html
uni.createSelectorQuery().in(this).select('.类名').boundingClientRect(data => {
console.log(data.height)
console.log(data.width)
}).exec()
标签:uniapp,console,log,获取,宽度,data From: https://www.cnblogs.com/zhang-DaChong/p/16583867.html