getPhoneInfo:function(){
this.setData({
phoneHeight: 750 / wx.getSystemInfoSync().windowWidth * wx.getSystemInfoSync().windowHeight
})
}
微信小程序获取手机分辨率高度
最新推荐文章于 2021-06-24 10:20:47 发布
getPhoneInfo:function(){
this.setData({
phoneHeight: 750 / wx.getSystemInfoSync().windowWidth * wx.getSystemInfoSync().windowHeight
})
}