Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
502e8a73
Commit
502e8a73
authored
Apr 29, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情页面履约记录
parent
f27f2ce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
6 deletions
+45
-6
detail.vue
src/pages/order/detail.vue
+45
-6
No files found.
src/pages/order/detail.vue
View file @
502e8a73
...
@@ -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
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment