From e23a1db0b60437f17d09d65c65f8fd0c8a5d88c7 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 26 八月 2024 18:11:07 +0800
Subject: [PATCH] 最新版本

---
 h5/pages/appointmentDetails/appointmentDetails.vue |   35 ++++++++++++++++++++++++++---------
 1 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/h5/pages/appointmentDetails/appointmentDetails.vue b/h5/pages/appointmentDetails/appointmentDetails.vue
index 997d0f0..4577ecd 100644
--- a/h5/pages/appointmentDetails/appointmentDetails.vue
+++ b/h5/pages/appointmentDetails/appointmentDetails.vue
@@ -3,7 +3,7 @@
     <view class="head_wrap head_success" v-if="info.status == 2">
       <view class="h1">璁垮棰勭害瀹℃牳閫氳繃</view>
       <view class="h2"
-        >鎮ㄧ殑鏉ヨ鐢宠宸插鏍搁�氳繃锛岃鍦ㄨ瀹㈡満绛惧埌鍏ュ巶銆傚閬囩壒娈婃儏鍐碉紝鍙仈绯昏璁夸汉鎴栧畨淇濅汉鍛�</view
+        >鎮ㄧ殑鏉ヨ鐢宠宸插鏍搁�氳繃锛岃鍦ㄨ瀹㈡満绛惧埌鍏ュ洯銆傚閬囩壒娈婃儏鍐碉紝鍙仈绯昏璁夸汉鎴栧畨淇濅汉鍛�</view
       >
     </view>
     <view class="qr_wrap" v-if="info.status == 2">
@@ -20,9 +20,9 @@
     </view>
     <view class="box_list">
       <view class="box_list_label">鎷滆淇℃伅</view>
-      <view class="box_list_tips" v-if="info.status == 6 || info.status == 3"
+      <!-- <view class="box_list_tips" v-if="info.status == 6 || info.status == 3"
         >璇锋敞鎰忔煡鐪嬪嚭鍏ラ棬绂佷笅鍙戞儏鍐碉紝濡傝嫢涓嬪彂澶辫触闇�閲嶆柊鐢宠</view
-      >
+      > -->
       <view class="box_list_item">
         <view class="box_list_item_label">琚浜哄憳锛�</view>
         <view class="box_list_item_val"
@@ -48,11 +48,13 @@
       </view>
       <view class="box_list_item">
         <view class="box_list_item_label">鏂藉伐浜哄憳锛�</view>
-        <view class="box_list_item_val">{{ info.type == 0 ? '鍚�' : '鏄�'}}</view>
+        <view class="box_list_item_val">{{
+          info.type == 0 ? "鍚�" : "鏄�"
+        }}</view>
       </view>
-			<view class="box_list_item" v-if="info.type == '1'">
+      <view class="box_list_item" v-if="info.type == '1'">
         <view class="box_list_item_label">鏂藉伐鍐呭锛�</view>
-        <view class="box_list_item_val">{{ info.constructionReason}}</view>
+        <view class="box_list_item_val">{{ info.constructionReason }}</view>
       </view>
       <view class="box_list_item">
         <view class="box_list_item_label">闅忚杞﹁締锛�</view>
@@ -75,10 +77,25 @@
   data() {
     return {
       info: {},
-      show: false
+      show: false,
+      detail: ''
     }
   },
+  onBackPress(options) {
+    if (this.detail == 1) {
+      uni.redirectTo({
+        url: '/pages/applicationRecord/applicationRecord'
+      })
+    } else {
+      uni.redirectTo({
+        url: '/pages/index/index'
+      })
+    }
+
+    return true
+  },
   onLoad(option) {
+    this.detail = option.detail || ''
     this.getDetail(option.id)
     // visitorSubDetail({ id: option.id })
     // 	.then(res => {
@@ -145,7 +162,7 @@
     .box_head_qrcode {
       width: 320rpx;
       height: 320rpx;
-			margin: 20rpx auto;
+      margin: 20rpx auto;
     }
     .text {
       font-size: 30rpx;
@@ -214,7 +231,7 @@
     }
     .box_list_label {
       font-size: 32rpx;
-      font-weight: 500;
+      font-weight: 600;
       color: #222222;
     }
     .box_list_item {

--
Gitblit v1.9.3