From a9aceb5f7178e7436d0e8243548d5870c7a10855 Mon Sep 17 00:00:00 2001 From: Double-_-Z <2492419643@qq.com> Date: Thu, 24 Jul 2025 17:11:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E4=BF=AE=E6=94=B9=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E6=8E=A5=E5=8F=A3=EF=BC=8C=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E5=AE=8C=E5=96=84=E8=AF=B7=E6=B1=82=E6=8B=A6=E6=88=AA?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E5=A4=84=E7=90=86=E5=92=8C=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=A4=84=E7=90=86=EF=BC=8C=E5=A2=9E=E5=8A=A0=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E5=AD=98=E5=82=A8store?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aircraft/server/index/index.vue | 24 +- aircraft/server/my/child_pages/login.vue | 27 +- .../server/my/child_pages/reset-password.vue | 111 +++++++++ aircraft/server/my/child_pages/setting.vue | 231 +++++++++++++++--- aircraft/server/my/my.vue | 15 +- common/http.api.js | 7 + common/http.interceptor.js | 18 +- components/loading/index.vue | 4 +- pages.json | 10 +- store/index.js | 5 +- 10 files changed, 369 insertions(+), 83 deletions(-) create mode 100644 aircraft/server/my/child_pages/reset-password.vue diff --git a/aircraft/server/index/index.vue b/aircraft/server/index/index.vue index ee1f49e..2a83f2e 100644 --- a/aircraft/server/index/index.vue +++ b/aircraft/server/index/index.vue @@ -4,9 +4,9 @@ scroll-with-animation @scroll="scroll" @refresherrefresh="refresh"> - - - + + + + v-for="(item,index) in isPilot?aNavicationList:bNavicationList" :key="index"> {{ item.name }} @@ -47,7 +47,7 @@ export default { loading: false, fileUrl: configService.fileUrl + 'aerocraft/navigation/',//导航栏图标基础路径 // 导航栏按钮 - navicationList:[ + aNavicationList:[ { name: '订单', icon: 'order.png', @@ -69,6 +69,18 @@ export default { select: 'my-select.png' } ], + bNavicationList:[ + { + name: '订单', + icon: 'order.png', + select: 'order-select.png' + }, + { + name: '我的', + icon: 'my.png', + select: 'my-select.png' + } + ], topLevel: 0,// 页面是否滚动到顶 // 滚动顶部 scrollTop: 0, @@ -77,12 +89,14 @@ export default { refs: ['order','equipment','route','my'], // 登录状态 isLogin: this.$store.state.vuex_token, + isPilot: this.$store.state.user_type == 1, } }, onLoad(){ let index = uni.getStorageSync('current'); this.current = index?index:0; this.isLogin = this.$store.state.vuex_token; + this.isPilot = this.$store.state.user_type; this.changeCurrent(this.current); }, onShow(){ diff --git a/aircraft/server/my/child_pages/login.vue b/aircraft/server/my/child_pages/login.vue index 24767cf..85a5ba6 100644 --- a/aircraft/server/my/child_pages/login.vue +++ b/aircraft/server/my/child_pages/login.vue @@ -42,7 +42,7 @@ + + \ No newline at end of file diff --git a/aircraft/server/my/child_pages/setting.vue b/aircraft/server/my/child_pages/setting.vue index a27645e..7fefd4b 100644 --- a/aircraft/server/my/child_pages/setting.vue +++ b/aircraft/server/my/child_pages/setting.vue @@ -1,13 +1,42 @@