swiper-item {overflow: scroll; } 最后在后台动态获得屏幕可视区域高度clientHeight即可 onLoad:function() {letthat =this//uni-app是uni.getSystemInfo,微信小程序wx.getSystemInfouni.getSystemInfo({success:function(res) {//uni-appthat.clientHeight=res.windowHeight-177//微信小程序//that.setData({// client...
</swiper-item> </swiper> swiper-item { overflow: scroll;} 最后在后台动态获得屏幕可视区域⾼度clientHeight即可 onLoad: function () { let that = this //uni-app是uni.getSystemInfo,微信⼩程序wx.getSystemInfo uni.getSystemInfo({ success: function (res) { //uni-app that.clientHeight=res....