From 447e19fa298ae11a1c3a3fa2d2ff3a1a8dba0501 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期四, 29 八月 2024 17:15:29 +0800 Subject: [PATCH] - --- src/pages/detail/detail.vue | 29 ++++++++++++++++------------- 1 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/pages/detail/detail.vue b/src/pages/detail/detail.vue index 2f36422..55794ff 100644 --- a/src/pages/detail/detail.vue +++ b/src/pages/detail/detail.vue @@ -11,12 +11,12 @@ 缁撶畻鎻愮幇 </view> <view class="chuany-flex chuany-justify-between"> - <view class=""> - <view class="chuany-flex chuany-justify-between chuany-align-center"> - <view class="c-p-18 chuany-font34"> + <view class="chuany-width100"> + <view class="chuany-flex chuany-justify-between chuany-align-center chuany-width100 chuany-box c-p-18"> + <view class=" chuany-font34"> {{orderObj.orderName}} </view> - <view class="c-p-l-108"> + <view> {{orderObj.workerType==0?'璁℃椂':'璁′欢'}} </view> </view> @@ -42,13 +42,18 @@ <view class="coreshop-bg-white c-m-t-18 c-p-18"> <view class="chuany-flex c-p-20"> <view class="chuany-width26"> + <text class="colorgray ">浠诲姟鏃ユ湡</text> + </view> + <view class="chuany-flex chuany-flex-direction"> + <text>{{$util.formatDate(orderObj.wordStartTime)}} 鑷� {{$util.formatDate(orderObj.wordEndTime)}}</text> + </view> + </view> + <view class="chuany-flex c-p-l-20 c-p-r-20 c-p-b-20"> + <view class="chuany-width26"> <text class="colorgray ">浠诲姟鏃堕棿</text> </view> <view class="chuany-flex chuany-flex-direction"> - <text class=''> - {{$util.formatDate(orderObj.wordEndTime,true)}} - </text> - <text>{{$util.formatDate(orderObj.wordStartTime,true)}}</text> + <text>{{orderObj.startTimeName}} 鑷� {{orderObj.endTimeName}}</text> </view> </view> <view class="chuany-flex c-p-l-18"> @@ -123,12 +128,12 @@ this.$api.saveBaoMing({ orderId: this.orderObj.id }).then(res => { - if(res.code==1){ + if (res.code == 1) { this.$util.showToast({ title: "鎶ュ悕鎴愬姛锛�", icon: "success" }) - }else{ + } else { this.$util.showToast({ title: res.error }) @@ -184,7 +189,5 @@ height: 50rpx; } - .borderbox { - border-top: 1px solid #f2f2f4; - } + </style> \ No newline at end of file -- Gitblit v1.9.1