From b806c4ad52a661a1e5f0695650ec1a7e42f01633 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 20 五月 2026 23:08:48 +0800
Subject: [PATCH] 提交

---
 small-program/pages/mine/mine.vue |   36 +++++++++++++++++++++++++++++-------
 1 files changed, 29 insertions(+), 7 deletions(-)

diff --git a/small-program/pages/mine/mine.vue b/small-program/pages/mine/mine.vue
index c093665..fbbfb9f 100644
--- a/small-program/pages/mine/mine.vue
+++ b/small-program/pages/mine/mine.vue
@@ -59,6 +59,20 @@
 			</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"
 			:checked.sync="agreeChecked"
@@ -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: [
@@ -131,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) {
@@ -159,11 +185,7 @@
 				'鍏充簬鎴戜滑': '/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)) {
@@ -189,7 +211,7 @@
 				this.showAuthLogin = true
 				return
 			}
-			uni.setStorageSync("orderStatus",label===0?-2:label)
+			uni.$emit('shuaxin',label===0?-2:label)
 			uni.switchTab({
 				url: '/pages/itinerary/itinerary'
 			})

--
Gitblit v1.9.3