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
4d8354ad
Commit
4d8354ad
authored
May 06, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【订单-预约】:进入预约已超时的工单的预约页面,预约按钮没有立即显示为红色。
parent
c563582f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
detail.vue
src/pages/order/detail.vue
+2
-1
No files found.
src/pages/order/detail.vue
View file @
4d8354ad
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
<view
v-if=
"showCenterBtn"
@
click=
"handleBtn"
class=
"button"
:class=
"['center-button-view', btnClass]"
>
<view
v-if=
"showCenterBtn"
@
click=
"handleBtn"
class=
"button"
:class=
"['center-button-view', btnClass]"
>
<text>
{{
centerButtonText
}}
</text>
<text>
{{
centerButtonText
}}
</text>
<view
v-if=
"order.currentOverTime"
class=
"time-view"
>
<view
v-if=
"order.currentOverTime"
class=
"time-view"
>
<text>
{{
order
.
currentOverTime
>
new
Date
().
getTime
()?
'剩'
:
'超'
}}
</text>
<text
style=
"padding-right: 8rpx;"
>
{{
order
.
currentOverTime
>
new
Date
().
getTime
()?
'剩'
:
'超'
}}
</text>
<u-count-down
<u-count-down
:timestamp=
"timestampDiff(order.currentOverTime)"
:timestamp=
"timestampDiff(order.currentOverTime)"
font-size=
"20"
font-size=
"20"
...
@@ -340,6 +340,7 @@
...
@@ -340,6 +340,7 @@
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
self
.
order
=
res
.
data
self
.
order
=
res
.
data
this
.
getCurrentBtn
()
this
.
getCurrentBtn
()
self
.
timeOutChange
(
self
.
order
.
currentOverTime
)
if
(
self
.
order
.
isFirstOrder
){
if
(
self
.
order
.
isFirstOrder
){
this
.
visibale
=
true
this
.
visibale
=
true
}
}
...
...
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