<scroll-view scroll-y="{true}" style="height:{{scroll_height}}rpx"></scroll-view>
onLoad: function (options) {
let windowHeight = wx.getSystemInfoSync().windowHeight // 屏幕的高度
let windowWidth = wx.getSystemInfoSync().windowWidth // 屏幕的宽度
this.setData({
scroll_height: windowHeight * 750 / windowWidth - 140,
})
},