h5会出问题原因是uviewplus组件问题,所以代码是没问题 const getSectionHeight = () => { // 创建选择器对象## 标题 var query = uni.createSelectorQuery() query .select('.section')