From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 16 十月 2024 15:59:38 +0800
Subject: [PATCH] 代码初始化
---
h5/pages/appointmentDetails/appointmentDetails.vue | 31 +++++++++++++++++++++++++++----
1 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/h5/pages/appointmentDetails/appointmentDetails.vue b/h5/pages/appointmentDetails/appointmentDetails.vue
index c757a11..2413308 100644
--- a/h5/pages/appointmentDetails/appointmentDetails.vue
+++ b/h5/pages/appointmentDetails/appointmentDetails.vue
@@ -14,15 +14,23 @@
<view class="h1">璁垮棰勭害寰呭鏍�</view>
<view class="h2">鎮ㄧ殑棰勭害鍗曞凡鎻愪氦瀹℃牳锛岃绛夊緟琚浜哄鏍�</view>
</view>
+ <view class="head_wrap head_padding" v-if="info.status == 1">
+ <view class="h1">璁垮棰勭害瀹℃壒涓�</view>
+ <view class="h2">鎮ㄧ殑鏉ヨ鐢宠姝e湪瀹℃牳</view>
+ </view>
<view class="head_wrap head_error" v-if="info.status == 3">
<view class="h1">璁垮棰勭害瀹℃牳涓嶉�氳繃</view>
<view class="h2">鎮ㄧ殑鏉ヨ鐢宠宸茶椹冲洖锛屽鏈夌枒闂紝鍙仈绯昏璁夸汉</view>
</view>
+ <view class="head_wrap head_error" v-if="info.status == 9">
+ <view class="h1">璁垮棰勭害宸插け鏁�</view>
+ <view class="h2">鎮ㄧ殑鏉ヨ鐢宠宸插け鏁堬紝璇烽噸鏂扮敵璇�</view>
+ </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"
@@ -77,10 +85,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 +239,7 @@
}
.box_list_label {
font-size: 32rpx;
- font-weight: 500;
+ font-weight: 600;
color: #222222;
}
.box_list_item {
--
Gitblit v1.9.3