diff --git a/src/pages.json b/src/pages.json index cb3947d..4118a9a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -16,13 +16,6 @@ "disableScroll": true } }, - { - "path": "pages/root/login", - "style": { - "navigationBarTitleText": "登录", - "disableScroll": true - } - }, { "path": "pages/tabbar/order", "style": { @@ -36,6 +29,13 @@ "navigationBarTitleText": "我的", "disableScroll": true } + }, + { + "path": "pages/root/login", + "style": { + "navigationBarTitleText": "登录", + "disableScroll": true + } } ], "globalStyle": { diff --git a/src/pages/root/login.vue b/src/pages/root/login.vue index d6ed4ae..dec6c50 100644 --- a/src/pages/root/login.vue +++ b/src/pages/root/login.vue @@ -1,73 +1,59 @@ @@ -103,7 +92,22 @@ const doLogin = () => { - + + + + + + 登录错误,获取本机微信手机号失败,请联系客服 + + + 登录错误,本系统只为浦江县机关事务服务,如有疑问请联系客服 + + + 登录错误,请联系客服 + + + diff --git a/src/pages/tabbar/canteen.vue b/src/pages/tabbar/canteen.vue index fa66034..a945f13 100644 --- a/src/pages/tabbar/canteen.vue +++ b/src/pages/tabbar/canteen.vue @@ -16,14 +16,16 @@ const state = reactive({ onLoad(() => { const app = getApp({ allowDefault: true }) - console.log("app:", app); - - app._initTabbar() + if (app._initTabbar) { + app._initTabbar() + } }) onShow(() => { const app = getApp({ allowDefault: true }) - app._initTabbar() + if (app._initTabbar) { + app._initTabbar() + } reportPageAccess("pages/tabbar/canteen") if (pageRef.value) { pageRef.value.reload(false) diff --git a/src/pages/tabbar/my.vue b/src/pages/tabbar/my.vue index b019674..dea1546 100644 --- a/src/pages/tabbar/my.vue +++ b/src/pages/tabbar/my.vue @@ -1,6 +1,5 @@