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
9c842441
authored
2024-08-12 17:12:23 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
https://code.itechtop.cn/yangyang/dance-pc
into dev
2 parents
348487be
017ca9eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
15 deletions
src/viewsPc/booking/ticket/index.vue
src/viewsPc/center/myReservation.vue
src/viewsPc/booking/ticket/index.vue
View file @
9c84244
...
...
@@ -63,7 +63,7 @@
<!-- 时间 -->
<div
class=
"select_item_box"
>
<div
class=
"label"
>
{{ triggerLanguage(language, "
时间", "Event Date
&
Time
") }}
{{ triggerLanguage(language, "
场次", "Session
") }}
</div>
<div
class=
"select_item"
>
<div
...
...
@@ -118,7 +118,9 @@
}}
</div>
<div
v-else
class=
"btn forPc"
style=
"margin-left: 40px"
@
click=
"toSelectSeat()"
>
{{ triggerLanguage(language, "添加观影人", "Add Moviegoers") }}
{{
triggerLanguage(language, "立即购票", "Buy tickets now")
}}
</div>
</div>
...
...
@@ -235,7 +237,7 @@ function toSelectSeat() {
return
}
checkNonPayment
().
then
(
res
=>
{
if
(
!
res
.
count
)
{
if
(
res
.
data
)
{
router
.
push
({
name
:
'confirmOrder'
,
params
:
{
...
...
@@ -245,7 +247,7 @@ function toSelectSeat() {
}
})
}
else
{
router
.
push
(
'/center/my
Info
'
)
router
.
push
(
'/center/my
Reservation
'
)
}
})
...
...
src/viewsPc/center/myReservation.vue
View file @
9c84244
...
...
@@ -121,7 +121,8 @@
</div>
<div
class=
"text-right"
>
<el-button
v-if=
"b.orderType == 0&&b.viewStatus!=0"
class=
"mb10"
plain
round
size=
"small"
type=
"success"
<el-button
v-if=
"(b.orderType == 0||b.orderType == 5)&&b.viewStatus!=0"
class=
"mb10"
plain
round
size=
"small"
type=
"success"
@
click=
"Rebook(b)"
>
{{
language
==
0
?
'再次预订'
:
'Rebook'
}}
</el-button>
...
...
@@ -208,16 +209,25 @@ function goDetail(b) {
function
Rebook
(
row
)
{
console
.
log
(
row
)
router
.
push
({
name
:
'hotelDetail'
,
params
:
{
cptId
:
row
.
activeId
,
hotelId
:
row
.
hotelId
},
query
:
{
id
:
row
.
extId
}
})
if
(
row
.
orderType
==
0
)
{
router
.
push
({
name
:
'hotelDetail'
,
params
:
{
cptId
:
row
.
activeId
,
hotelId
:
row
.
hotelId
},
query
:
{
id
:
row
.
extId
}
})
}
else
{
router
.
push
({
name
:
'ticket'
,
params
:
{
activeId
:
row
.
activeId
,
}
})
}
}
const
cancel
=
(
row
)
=>
{
...
...
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