uni-app获取指定标签的高度
2020-09-08 本文已影响0人
Limolovely
var view = uni.createSelectorQuery().select(".list-right");
view.boundingClientRect(function(data) {
console.log(data.height);
}).exec();
var view = uni.createSelectorQuery().select(".list-right");
view.boundingClientRect(function(data) {
console.log(data.height);
}).exec();