diff --git a/App.vue b/App.vue index 7810340..0e40d43 100644 --- a/App.vue +++ b/App.vue @@ -248,7 +248,7 @@ export default { setMenuHeight() { uni.getSystemInfo({ success: res => { - // console.log(res,'resaaaaa') + console.log(res,'resaaaaa') this.globalData.navTopHeight = res.statusBarHeight; this.globalData.CustomBar = res.statusBarHeight + 45; this.globalData.systemInfo = res; @@ -259,11 +259,10 @@ export default { } }); let menuButtonObj = uni.getMenuButtonBoundingClientRect(); - // console.log(menuButtonObj,'menuButtonObj') + console.log(menuButtonObj,'menuButtonObj') this.globalData.menuTop = menuButtonObj.top; this.globalData.menuHeight = menuButtonObj.height; this.globalData.topHeight = menuButtonObj.top + menuButtonObj.height; - this.globalData.topLeft = menuButtonObj.left; this.globalData.navHeight = menuButtonObj.top; }, diff --git a/components/CustomNavigator.vue b/components/CustomNavigator.vue index ef60374..16d69b4 100644 --- a/components/CustomNavigator.vue +++ b/components/CustomNavigator.vue @@ -1,8 +1,8 @@