Commit 502e8a73 authored by 刘用法's avatar 刘用法

详情页面履约记录

parent f27f2ce8
...@@ -75,11 +75,16 @@ ...@@ -75,11 +75,16 @@
</view> </view>
<view v-if="orderRecords.length == 0" class="no-record-view">当前暂无履约记录</view> <view v-if="orderRecords.length == 0" class="no-record-view">当前暂无履约记录</view>
<view v-else> <view v-else>
<view class="order" v-for="(record,index) in shwoOrderRecords" :key="record.operationContent"> <view class="record-line-view">
<view class="order-cell between-cell"> <view class="order-cell between-cell" v-for="(record,index) in shwoOrderRecords" :key="record.operationContent">
<view class="node-view"></view>
<view class="line-view-left">
<text>{{$u.timeFormat(record.operationDatetime, 'yyyy.mm.dd hh:MM:ss')}} </text>
</view>
<view class="line-view-right">
<text style="color: red;">{{record.overTime?'(超时)':''}}{{record.exception?'(异常)':''}}</text>
<text>{{record.operationType}}</text> <text>{{record.operationType}}</text>
<text>{{$u.timeFormat(record.operationDatetime, 'yyyy-mm-dd hh:MM:ss')}} </text> </view>
<text style="color: red;">{{record.overTime?'超时 ':''}}{{record.exception?' 异常':''}}</text>
</view> </view>
</view> </view>
<view v-if="orderRecords.length > showLenght"> <view v-if="orderRecords.length > showLenght">
...@@ -780,6 +785,41 @@ ...@@ -780,6 +785,41 @@
color: #333333; color: #333333;
margin-top: 30rpx; margin-top: 30rpx;
} }
.record-line-view {
padding-left: 30rpx;
position: relative;
margin-left: 6rpx;
}
.line-view-left {
width: 270rpx;
flex-shrink: 0;
}
.line-view-right {
text-align: right;
}
.record-line-view ::before {
content: " ";
position: absolute;
left: 0;
top: 20rpx;
width: 1px;
bottom: 20rpx;
border-left: 1px dashed #2272FF;
transform-origin: 0 0;
transform: scaleX(0.5);
}
.node-view {
margin-top: 16rpx;
position: absolute;
left: -3px;
background-color: #2272FF;
border-radius: 7rpx;
width: 14rpx;
height: 14rpx;
z-index: 1;
}
.address-cell { .address-cell {
height: 24rpx; height: 24rpx;
...@@ -897,7 +937,6 @@ ...@@ -897,7 +937,6 @@
// 页面公用css // 页面公用css
.order-cell { .order-cell {
height: 48rpx;
font-size: 26rpx; font-size: 26rpx;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
...@@ -909,6 +948,6 @@ ...@@ -909,6 +948,6 @@
.between-cell { .between-cell {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: flex-start;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment