- Get independent physical pixel ratio and the pixel value
window.devicePixelRatio
- Acquiring physical pixel device
屏幕的宽度:window.screen.width
屏幕的高度:window.screen.height
window.devicePixelRatio
屏幕的宽度:window.screen.width
屏幕的高度:window.screen.height