getPhoneInfo:function(){
this.setData({
phoneHeight: 750 / wx.getSystemInfoSync().windowWidth * wx.getSystemInfoSync().windowHeight
})
}
微信小程序获取手机分辨率高度
猜你喜欢
转载自blog.csdn.net/qq_33966519/article/details/103763993
今日推荐
周排行