11 2020 档案
uniapp获取元素距离顶部的距离
摘要:var that=this; const query = uni.createSelectorQuery().in(that); query.select('元素').boundingClientRect(data => { console.log(data) }).exec(); 阅读全文
posted @ 2020-11-03 11:36 uniapp 阅读(5428) 评论(0) 推荐(0)