uni-app ( ) 获取高度不准确解决方案
setTimeout(() => {
uni.getSystemInfo({
success: function(res) {
let info = uni.createSelectorQuery().selectAll(".display_wrap");
info.fields({
size: true,
scrollOffset: true
}, (data) => { // 获取距离
let firstContentScroll = data[0].height + data[1].height;
let srollPullDown = firstContentScroll + 500;
e[0](srollPullDown);
}).exec();
}
});
})