获取屏幕宽度:window.screen.width * window.devicePixelRatio 获取屏幕高度:window.screen.height * window.devicePixelRatio