Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2b66cd88
authored
2025-07-09 18:50:14 +0800
by
华明祺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
76b186dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
src/viewsPc/center/info/reservationInfo.vue
src/viewsPc/center/myReservation.vue
src/viewsPc/center/info/reservationInfo.vue
View file @
2b66cd8
...
...
@@ -13,12 +13,9 @@
</div>
<div
class=
"status-po"
>
<span
v-if=
"b.status == '0'
&&b.surplus!='0,0'&&b.surplus!='0'
"
class=
"bg-warning"
>
<span
v-if=
"b.status == '0'"
class=
"bg-warning"
>
{{
language
==
0
?
'待支付'
:
'Unpaid'
}}
</span>
<span
v-if=
"b.status == '0'&&(b.surplus=='0,0'||b.surplus=='0')"
class=
"bg-warning"
>
{{
language
==
0
?
'已取消'
:
'Canceled'
}}
</span>
<span
v-if=
"b.status == '1'"
class=
"bg-blue"
>
{{
language
==
0
?
'支付成功'
:
'successful'
}}
</span>
<span
v-if=
"b.status == '2'"
class=
"bg-warning"
>
{{
language
==
0
?
'已取消'
:
'Canceled'
}}
</span>
<span
v-if=
"b.status == '3'||b.status == '4'"
class=
"bg-danger"
>
{{
...
...
@@ -103,11 +100,10 @@
</span>
</el-col>
<el-col
:lg=
"6"
:md=
"16"
:sm=
"16"
:xs=
"16"
>
<div
class=
"text-right mb20 text-danger"
v-if=
"b.
paymentType!='4'&&b.paymentType!='5'
"
>
<div
class=
"text-right mb20 text-danger"
v-if=
"b.
status == '0' && b.countdown>0
"
>
<el-countdown
v-if=
"b.status == '0'&&(b.surplus!='0,0'&&b.surplus!='0')"
:value=
"b.countdown"
format=
"mm:ss"
format=
"
D天 HH:
mm:ss"
value-style=
"color:#E60012;font-size:16px;"
@
finish=
"finish(b)"
/>
</div>
...
...
@@ -121,9 +117,10 @@
<el-button
class=
"mb10"
plain
round
size=
"small"
type=
"primary"
@
click=
"goDetail(b)"
>
{{
language
==
0
?
'详情'
:
'Detail'
}}
</el-button>
<el-button
v-if=
"b.status == '0'
&&(b.surplus!='0,0'&&b.surplus!='0')
&&!min"
class=
"mb10"
<el-button
v-if=
"b.status == '0' &&!min"
class=
"mb10"
plain
round
size=
"small"
type=
"primary"
@
click=
"goDetail(b)"
>
<span
v-if=
"b.paymentType=='4'||b.paymentType=='5'"
>
{{
language
==
0
?
'上传凭证'
:
'Upload Receipt'
}}
</span>
<span
v-if=
"b.paymentType=='4'||b.paymentType=='5'"
>
{{
language
==
0
?
'上传凭证'
:
'Upload Receipt'
}}
</span>
<span
v-else
>
{{
language
==
0
?
'支付'
:
'Pay'
}}
</span>
</el-button>
<el-button
v-if=
"b.viewStatus==0 &&!min"
class=
"mb10"
plain
round
size=
"small"
type=
"warning"
...
...
src/viewsPc/center/myReservation.vue
View file @
2b66cd8
...
...
@@ -48,8 +48,8 @@ function getList() {
console
.
log
(
e
)
}
}
if
(
b
.
surplus
&&
b
.
status
==
'0'
&&
(
b
.
surplus
!=
'0,0'
&&
b
.
surplus
!=
'0'
)
)
{
b
.
countdown
=
Date
.
now
()
+
Number
((
b
.
surplus
.
split
(
','
)[
0
]
*
60
+
b
.
surplus
.
split
(
','
)[
1
])
*
10
)
if
(
b
.
status
==
'0'
)
{
b
.
countdown
=
Number
(
b
.
surplus
)
}
}
})
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment