diff --git a/app.js b/app.js index f969143..d51edce 100644 --- a/app.js +++ b/app.js @@ -196,8 +196,10 @@ App({ if (modelmes && modelmes.indexOf('iPhone X') != -1) {  //XS,XR,XS MAX均可以适配,因为indexOf()会将包含'iPhone X'的字段都查出来 this.globalData.isIpx = true } + this.globalData.navBarHeight = 44 + res.statusBarHeight }, }) + this.globalData.menuInfo = wx.getMenuButtonBoundingClientRect() || {} var th = this; var pages = getCurrentPages(); //获取加载的页面