onLoad() {
            uni.getSystemInfo({
                success: (res)=> {
                    let height=res.windowHeight-uni.upx2px(100) //获取系统信息,可使用窗口的高度
                    this.swiperheight=height;
                }
            });
        },

 

相关文章:

  • 2022-01-08
  • 2021-08-03
  • 2021-11-07
  • 2021-11-18
  • 2021-11-18
猜你喜欢
  • 2022-01-07
  • 2021-11-18
  • 2021-11-12
  • 2021-11-28
  • 2021-11-07
  • 2022-12-23
相关资源
相似解决方案