From 7a0b33a5f2e0ba589bf35a1b8d896700a21f94a4 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 30 四月 2026 16:00:55 +0800
Subject: [PATCH] 支付宝支付dddadd

---
 small-program/pages/mine/mine.vue |   27 +++++++++++++++++++++++++--
 1 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/small-program/pages/mine/mine.vue b/small-program/pages/mine/mine.vue
index 910e2cf..6d5b895 100644
--- a/small-program/pages/mine/mine.vue
+++ b/small-program/pages/mine/mine.vue
@@ -16,10 +16,10 @@
 						<view class="tool-item" @click="toSetting">
 							<image class="tool-icon" src="/static/icon/ic_option@2x.png" mode="aspectFit"></image>
 						</view>
-						<view class="tool-item has-badge">
+						<!-- <view class="tool-item has-badge">
 							<image class="tool-icon" src="/static/icon/ic_notice@2x.png" mode="aspectFit"></image>
 							<view class="tool-badge" v-if="userInfo.hasMessage"></view>
-						</view>
+						</view> -->
 					</view>
 				</view>
 
@@ -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) {
@@ -135,6 +144,12 @@
 				'鐢ㄦ埛闅愮鏀跨瓥': '/pages/rich-text/rich-text?type=1',
 				'鍏充簬鎴戜滑': '/pages/rich-text/rich-text?type=5' 
 			}
+			if (['闂ㄥ簵鍏ラ┗', '鎴戠殑闂ㄥ簵'].includes(item.label)) {
+				if (!this.token) {
+					this.showAuthLogin = true
+					return
+				}
+			}
 			if (['闂ㄥ簵鍏ラ┗','闂ㄥ簵淇℃伅'].includes(item.label) && [0,1,2,3].includes(this.userInfo.shopAuditStatus)) {
 				uni.navigateTo({
 					url: '/pages/details-entry/details-entry'
@@ -148,12 +163,20 @@
 			}
 		},
 		toOrderDetail(label) {
+			if (!this.token) {
+				this.showAuthLogin = true
+				return
+			}
 			uni.setStorageSync("orderStatus",label===0?-2:label)
 			uni.switchTab({
 				url: '/pages/itinerary/itinerary'
 			})
 		},
 		toSetting() {
+			if (!this.token) {
+				this.showAuthLogin = true
+				return
+			}
 			uni.navigateTo({
 				url: '/pages/settings/settings'
 			})

--
Gitblit v1.9.3