px(rpx) {
var px = rpx / 750 * wx.getSystemInfoSync().windowWidth;
return px
},
wx.getSystemInfoSync() //是获取当前手机信息的api
2024-04-03 20:14:22
px(rpx) {
var px = rpx / 750 * wx.getSystemInfoSync().windowWidth;
return px
},
wx.getSystemInfoSync() //是获取当前手机信息的api