具体问题是:党建答题小程序首页有个背景图,目前高度设置有问题,导致存在上下滑动条?请问这个如何解决?
getSystemInfo里面三个高度问题请教?
关于这三个高度的问题
- screenHeight: 568
- statusBarHeight: 20
- windowHeight: 504
- SDKVersion: "2.8.1"
- batteryLevel: 89
- brand: "devtools"
- deviceOrientation: "portrait"
- errMsg: "getSystemInfo:ok"
- fontSizeSetting: 16
- language: "zh_CN"
- model: "iPhone 5"
- pixelRatio: 2
- platform: "devtools"
- safeArea: {right: 320, bottom: 568, left: 0, top: 20, width: 320, …}
- screenHeight: 568
- screenWidth: 320
- statusBarHeight: 20
- system: "iOS 10.0.1"
- version: "7.0.4"
- windowHeight: 504
- windowWidth: 320
- __proto__: Object
screenHeight可视高度
statusBarHeight状态栏高度
windowHeight窗口高度