let systemInfo = wx.getSystemInfoSync(); var { pixelRatio, windowWidth, windowHeight } = systemInfo var pixelRatioX = 720 / windowWidth, pixelRatioY = 1230 / windowHeight; export { windowWidth, windowHeight, pixelRatioX, pixelRatioY, pixelRatio }