微信小程序,利用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
相關文章
相關標籤/搜索