From 3f9032e92fdd383bfefc87a0bec9b242e1223851 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 09 六月 2026 17:08:44 +0800
Subject: [PATCH] 改bug

---
 small-program/pages/mine/mine.vue |   48 +++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 39 insertions(+), 9 deletions(-)

diff --git a/small-program/pages/mine/mine.vue b/small-program/pages/mine/mine.vue
index 816cd39..33bb3c2 100644
--- a/small-program/pages/mine/mine.vue
+++ b/small-program/pages/mine/mine.vue
@@ -48,8 +48,8 @@
 					<view v-for="item in menuList" :key="item.label" class="menu-row" @click="handleMenuClick(item)">
 						<text class="menu-label">{{ item.label }}</text>
 						<view class="right-icon">
-							<text v-if="['闂ㄥ簵鍏ラ┗','闂ㄥ簵淇℃伅'].includes(item.label)" :class="{ 'status-red': userInfo.shopAuditStatus === 1 || userInfo.shopAuditStatus === 2 }">
-								{{userInfo.shopAuditStatus === 0 ? '瀹℃牳涓�' : userInfo.shopAuditStatus === 1 ? '瀹℃牳閫氳繃锛岃鏀粯鎶奸噾' : userInfo.shopAuditStatus === 2 ? '瀹℃牳鏈�氳繃' : userInfo.shopAuditStatus === 3 ? '闂ㄥ簵宸插叆椹�' : '' }}
+							<text v-if="['闂ㄥ簵鍏ラ┗','闂ㄥ簵淇℃伅'].includes(item.label)" :class="{ 'status-red': [1,2,5].includes(userInfo.shopAuditStatus), 'status-yellow': [4].includes(userInfo.shopAuditStatus) }">
+								{{userInfo.shopAuditStatus === 0 ? '瀹℃牳涓�' : userInfo.shopAuditStatus === 1 ? '瀹℃牳閫氳繃锛岃鏀粯鎶奸噾' : userInfo.shopAuditStatus === 2 ? '瀹℃牳鏈�氳繃' : userInfo.shopAuditStatus === 3 ? '闂ㄥ簵宸插叆椹�' : userInfo.shopAuditStatus === 4 ? '鍙樻洿涓�' : userInfo.shopAuditStatus === 5 ? '鍙樻洿鏈�氳繃' : '' }}
 							</text>
 							<button  v-if="item.label === '鍦ㄧ嚎瀹㈡湇'" open-type="contact" type="default">    </button>
 							<u-icon   name="arrow-right" size="18" color="#B5BBC5"></u-icon>
@@ -58,6 +58,20 @@
 				</view>
 			</view>
 		</view>
+
+		<u-popup :show="showPhone" round="15" mode="bottom" :safeAreaInsetBottom="true" @close="showPhone = false" :closeable="true" :closeOnClickOverlay="true">
+			<view class="phone">
+				<view class="phone-head">
+					<view></view>
+					<text>鑱旂郴骞冲彴</text> 
+				</view>
+				 <view style="flex-direction: row;margin-bottom: 30rpx;" class="phone-item" v-for="(phone, index) in serverPhoneList" :key="index" @click="contactPhoneDo(phone)">
+						<image src="/static/icon/ic_call@2x.png" mode="widthFix"></image>
+						<text>{{ phone }}</text>
+				 </view>  
+				 <view style="width: 100%; height: 30rpx;"></view>
+			</view>
+		</u-popup>
 
 		<auth-login
 			:show="showAuthLogin"
@@ -77,12 +91,17 @@
 			CustomTabbar
 		},
 		computed: {
-		...mapState(['navHeight', 'statusbarHeight', 'openid', 'userInfo', 'token'])
+		...mapState(['navHeight', 'statusbarHeight', 'openid', 'userInfo', 'token']),
+		serverPhoneList() {
+			if (!this.serverPhone) return []
+			return this.serverPhone.split(',')
+		}
 	},
 	data() {
 		return {
 			showAuthLogin: false,
 			agreeChecked: true,
+			showPhone: false,
 			userName: '',
 			serverPhone: '',
 			orderMenus: [
@@ -93,6 +112,8 @@
 			menuList: [
 				{ label: '闂ㄥ簵鍏ラ┗' },
 				{ label: '鎴戠殑闂ㄥ簵' },
+				{ label: '棰嗗埜涓績' },
+				{ label: '寮�绁ㄧ敵璇�' },
 				{ label: '鐢ㄦ埛鏈嶅姟鍗忚' },
 				{ label: '鐢ㄦ埛闅愮鏀跨瓥' },
 				{ label: '鍦ㄧ嚎瀹㈡湇' },
@@ -129,6 +150,13 @@
 		}
 	},
 	methods: {
+		contactPhoneDo(phone) {
+			if (phone) {
+				uni.makePhoneCall({
+					phoneNumber: phone
+				})
+			}
+		},
 		async getPlatformInfo() {
 			const res = await this.$u.api.getPlatformAboutUs({})
 			if (res.code === 200 && res.data) {
@@ -150,16 +178,14 @@
 			const urlMap = {
 				'闂ㄥ簵鍏ラ┗': '/pages/store-apply/store-apply',
 				'鎴戠殑闂ㄥ簵': '/shop/pages/login/login',
+				'棰嗗埜涓績': '/shop/pages/coupon-center/coupon-center',
+				'寮�绁ㄧ敵璇�': '/shop/pages/Invoice-application/Invoice-application',
 				'鐢ㄦ埛鏈嶅姟鍗忚': '/pages/rich-text/rich-text?type=0',
 				'鐢ㄦ埛闅愮鏀跨瓥': '/pages/rich-text/rich-text?type=1',
 				'鍏充簬鎴戜滑': '/pages/rich-text/rich-text?type=5' 
 			}
 			if (item.label === '鑱旂郴骞冲彴') {
-				if (this.serverPhone) {
-					uni.makePhoneCall({
-						phoneNumber: this.serverPhone
-					})
-				}
+				this.showPhone = true
 				return
 			}
 			if (['闂ㄥ簵鍏ラ┗', '鎴戠殑闂ㄥ簵'].includes(item.label)) {
@@ -168,7 +194,7 @@
 					return
 				}
 			}
-			if (['闂ㄥ簵鍏ラ┗','闂ㄥ簵淇℃伅'].includes(item.label) && [0,1,2,3].includes(this.userInfo.shopAuditStatus)) {
+			if (['闂ㄥ簵鍏ラ┗','闂ㄥ簵淇℃伅'].includes(item.label) && [0,1,2,3,4].includes(this.userInfo.shopAuditStatus)) {
 				uni.navigateTo({
 					url: '/pages/details-entry/details-entry'
 				})
@@ -185,6 +211,7 @@
 				this.showAuthLogin = true
 				return
 			}
+			// uni.$emit('shuaxin',label===0?-2:label)
 			uni.setStorageSync("orderStatus",label===0?-2:label)
 			uni.switchTab({
 				url: '/pages/itinerary/itinerary'
@@ -453,6 +480,9 @@
 		.status-red {
 			color: #FF0000;
 		}
+		.status-yellow {
+			color: #FFD700;
+		}
 		button {
 			position: relative;
 			top: 0;

--
Gitblit v1.9.3