微信小程序,利用wx.createSelectorQuery动态设置swiper或者scroll-view的高度做手机适配

<scroll-view scroll-y style="height:{{scrollHeight}}px"> // 计算滚动高度 var windowHeight = that.data.windowHeight; var headerHeight ; wx.createSelectorQuery().selectAll('.mine_hea
相关文章
相关标签/搜索