优化显示
This commit is contained in:
parent
20ea352398
commit
2d31688dc0
@ -30,10 +30,10 @@
|
|||||||
<view class="box-title" v-else-if="detailsinfo.rescueInfo.rescueStatus == 2">您的订单处于待开始,请耐心等待</view>
|
<view class="box-title" v-else-if="detailsinfo.rescueInfo.rescueStatus == 2">您的订单处于待开始,请耐心等待</view>
|
||||||
<view v-else class="box-title" style="display: flex;column-gap: 2px;align-items: center;">
|
<view v-else class="box-title" style="display: flex;column-gap: 2px;align-items: center;">
|
||||||
<text>{{detailsinfo.rescueInfo.driverCarNum}}</text>
|
<text>{{detailsinfo.rescueInfo.driverCarNum}}</text>
|
||||||
<text>|</text>
|
<!-- <text>|</text>
|
||||||
<text></text>
|
<text></text>
|
||||||
<text>|</text>
|
<text>|</text>
|
||||||
<text></text>
|
<text></text> -->
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="box-title" style="display: flex;column-gap: 2px;align-items: center;"
|
<!-- <view class="box-title" style="display: flex;column-gap: 2px;align-items: center;"
|
||||||
v-if="detailsinfo.rescueInfo.rescueStatus == 3">
|
v-if="detailsinfo.rescueInfo.rescueStatus == 3">
|
||||||
|
@ -111,7 +111,7 @@ import dayjs from '../../uni_modules/uview-ui/libs/util/dayjs';
|
|||||||
noticeGroupByCreateTime(list) {
|
noticeGroupByCreateTime(list) {
|
||||||
if (list && list.length > 0) {
|
if (list && list.length > 0) {
|
||||||
list.forEach((item) => {
|
list.forEach((item) => {
|
||||||
const day = dayjs(item.createTime).format('MM-DD HH:mm')
|
const day = item.createTime ? dayjs(item.createTime).format('MM-DD HH:mm') : ''
|
||||||
const find = this.groupArr.find(f => f.date === day)
|
const find = this.groupArr.find(f => f.date === day)
|
||||||
if (find) {
|
if (find) {
|
||||||
find.noticeList.push(item)
|
find.noticeList.push(item)
|
||||||
|
Loading…
Reference in New Issue
Block a user