摘要: const query = wx.createSelectorQuery(); query.select('.box').boundingClientRect(); query.exec( (rect) => { console.log(rect) }); 注:如果返回一个null或者是[null] 阅读全文
posted @ 2022-06-01 10:13 叶乘风 阅读(197) 评论(0) 推荐(0) 编辑