2019-2-25 22:42:38

This commit is contained in:
Weilanwl
2019-02-25 22:42:42 +08:00
parent 56d35053cd
commit e2e35a2d72
24 changed files with 478 additions and 89 deletions

View File

@@ -4,7 +4,9 @@ App({
wx.getSystemInfo({
success: e => {
this.globalData.StatusBar = e.statusBarHeight;
this.globalData.CustomBar = e.platform == 'android' ? e.statusBarHeight + 50 : e.statusBarHeight + 45;
let custom = wx.getMenuButtonBoundingClientRect();
this.globalData.Custom = custom;
this.globalData.CustomBar = custom.bottom + custom.top - e.statusBarHeight;
}
})
},