From 8512a2a1831fe67b2b6f89d220b6b2be9d576cff Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 30 四月 2026 17:27:34 +0800
Subject: [PATCH] 小程序 | app
---
small-program/pages/mine/mine.vue | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/small-program/pages/mine/mine.vue b/small-program/pages/mine/mine.vue
index 2ece09a..6d5b895 100644
--- a/small-program/pages/mine/mine.vue
+++ b/small-program/pages/mine/mine.vue
@@ -98,6 +98,15 @@
]
}
},
+ onLoad() {
+ uni.$on('loginOut', () => {
+ this.orderMenus = [
+ { label: '寰呮敮浠�', url: '/static/icon/mine_ic_daifukuan@2x.png', badge: 0,status:0 },
+ { label: '寰呮敹璐�', url: '/static/icon/mine_ic_daishouhuo@2x.png', badge: 0,status:3 },
+ { label: '閫�娆�/鍞悗', url: '/static/icon/mine_ic_tuikuan@2x.png', badge: 0 ,status:5}
+ ]
+ })
+ },
async onShow() {
await this.$onLaunched;
if (this.token) {
@@ -154,6 +163,10 @@
}
},
toOrderDetail(label) {
+ if (!this.token) {
+ this.showAuthLogin = true
+ return
+ }
uni.setStorageSync("orderStatus",label===0?-2:label)
uni.switchTab({
url: '/pages/itinerary/itinerary'
--
Gitblit v1.9.3