From 7c7c4ae64b84be1766a5ebbe3ba5ee97cba8c6da Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 04 七月 2024 16:21:41 +0800
Subject: [PATCH] ‘’

---
 h5/pages/appointmentDetails/appointmentDetails.vue |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/h5/pages/appointmentDetails/appointmentDetails.vue b/h5/pages/appointmentDetails/appointmentDetails.vue
index c757a11..e9a26ee 100644
--- a/h5/pages/appointmentDetails/appointmentDetails.vue
+++ b/h5/pages/appointmentDetails/appointmentDetails.vue
@@ -77,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 => {
@@ -216,7 +231,7 @@
     }
     .box_list_label {
       font-size: 32rpx;
-      font-weight: 500;
+      font-weight: 600;
       color: #222222;
     }
     .box_list_item {

--
Gitblit v1.9.3