WxPhone_list
WxPhone_list copied to clipboard
找到了bug
在scroll-view中不能让高使用100%,应该使用具体的数字,为了自适应最好直接获取系统的高度。
wx.getSystemInfo({
success: function (res) {
console.log("高度:" + res.windowHeight)
that.setData({
mainH: res.windowHeight*2
})
}
})