doum
2025-09-05 16f7eb87a04a764e97ccba0d703259e707ff4b98
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;