作者 xuqiang

提交

... ... @@ -328,10 +328,7 @@
//获取状态栏高度
uni.getSystemInfo({
success: (res) => {
this.mapHeight = res.screenHeight - res.statusBarHeight
// #ifdef APP-NVUE || MP-WEIXIN
this.mapHeight = this.mapHeight - 45
// #endif
this.mapHeight = res.screenHeight - res.statusBarHeight - 45
this.statusBarHeight = res.statusBarHeight*2
}
})
... ...