华为MatePad Pro屏幕分辩率
分辨率:2560×1440
像素密度:240PPI
设备像素比= 240PPI/160PPI 约等于 1.5
屏幕物理像素/设备独立像素 = 设备像素比
设备独立像素-长= 屏幕物理像素/设备像素比 = 2560/1.5 = 1707
设备独立像素-宽= 屏幕物理像素/设备像素比 = 1440/1.5 = 960
http://www.czssqw.net/zhzf_ly/
@media (max-width:500px) or
let windowWidth = 600
uni.getSystemInfo({
success: function(res) {
// _this.setWidth = res.windowWidth * 0.8
console.log(res.windowWidth)
windowWidth = res.windowWidth
}
})
background: url('~@/static/image/dlybg.png') no-repeat rpx2multiple(128) center;
"router" : {
"base" : "./",
"mode" : "hash"
}
'production': {
baseUrl: 'http://218.93.116.190:18080/wjrxgj',
}