From 16f7eb87a04a764e97ccba0d703259e707ff4b98 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 05 九月 2025 16:16:10 +0800
Subject: [PATCH] 修BUG

---
 small-program/pages/index/index.vue |   46 ++++++++++++++++++++++++++++++++--------------
 1 files changed, 32 insertions(+), 14 deletions(-)

diff --git a/small-program/pages/index/index.vue b/small-program/pages/index/index.vue
index 119a4e7..4f22732 100644
--- a/small-program/pages/index/index.vue
+++ b/small-program/pages/index/index.vue
@@ -329,7 +329,14 @@
 			<view class="phone">
 				<view class="phone-head">
 					<view></view>
-					<text>瀹㈡湇鐢佃瘽</text> 
+					<text>鑱旂郴瀹㈡湇</text> 
+				</view>
+				<view class="phone-item">
+					<view>
+						<image style="width: 36rpx;height: 36rpx" src="/static/icon/ic_kefu.png" mode="widthFix"></image>
+						<button open-type="contact" plain="true" bindcontact="handleContact">鍦ㄧ嚎瀹㈡湇</button>
+					</view>
+					 <view class="line" v-if="serverPhone && serverPhone.length"></view>
 				</view>
 				 <view class="phone-item" v-if="serverPhone" v-for="(item,index) in serverPhone"  :key="item" @click="contactPhoneDo(item)">
 				 	<view>
@@ -427,7 +434,7 @@
 				carRemark: '',
 				
 				orderFood: [],
-				viewStatus: false,
+				viewStatus: true,
 				
 				form: {
 					startDate: '',
@@ -530,7 +537,7 @@
 				this.isLogin = false
 				console.log('鏈櫥闄�')
 			}
-			this.payOrderId=null 
+			// this.payOrderId=null 
 		},
 		watch: {
 			typeId: {
@@ -574,11 +581,15 @@
 		methods: {
 			goOrderDetail(id){
 				uni.navigateTo({
-					url: `/pages/order-details/order-details?id=`+id
+					url: '/pages/order-details/order-details?id='+id
 				})
-				this.orderId=null 
-				this.payOrderId=null 
-				this.show2=false
+				var that =this
+				setTimeout(function(){
+					that.orderId=null
+					that.payOrderId=null 
+					that.show2=false
+				},1000)
+				
 			},
 			clearFormParam(){
 				this.form.startDate = ''
@@ -783,7 +794,7 @@
 									fail(err) {
 										that.payOrderId = res.data.id
 										that.show2=true
-										console.log(err)
+										console.log("=====================",	 res.data.id,that.payOrderId,err)
 									}
 								})
 							}
@@ -2044,17 +2055,24 @@
 					color: #222222;
 				}
 			}
-			
-			.phone > .phone-item:last-of-type {
-			    /* 鏍峰紡 */
-				border-bottom:none !important;
-			}
+			 
 			.phone-item {
 				width: 100%;
 				text-align: center;
-				justify-content: space-between;  
+				display: flex;
+				justify-content: center;
+				flex-direction: column;
 				// border-bottom: 1rpx solid #eeeeee;
 				line-height: 78rpx;
+				button{
+					border: 1rpx white solid;
+					display: inline;
+					width: 300rpx;
+					font-weight: 500;
+					font-size: 32rpx;
+					line-height: 32rpx;
+					color: #222222;
+				}
 				image{
 					width: 28rpx;
 					height: 28rpx;

--
Gitblit v1.9.3