Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
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
a5ad2c35
authored
2024-05-23 15:35:18 +0800
by
yyx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
36bfde32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
21 deletions
src/viewsPc/seat/confirm-order.vue
src/viewsPc/seat/seat-picker.vue
src/viewsPc/seat/confirm-order.vue
View file @
a5ad2c3
...
...
@@ -70,26 +70,28 @@ const payment = reactive({
"Please enter the contact phone number."
),
});
payOrder
({
contactPhone
:
payment
.
form
.
phone
,
customerIds
:
payment
.
form
.
viewers
,
orderToken
:
order
.
data
?.
orderToken
,
payType
:
1
,
paymentAmount
:
order
.
data
?.
paymentAmount
,
}).
then
((
res
)
=>
{
if
(
res
.
data
.
language
==
"zh-cn"
)
{
payment
.
qrInfo
=
res
.
data
;
qrcode
.
toDataURL
(
res
.
data
.
scanCodeUrl
,
(
err
,
url
)
=>
{
if
(
url
)
{
payment
.
qrCodeData
=
url
;
}
});
payment
.
showCodeDialog
=
true
;
startCheckSuccessListener
(
res
.
data
.
orderSn
,
props
.
activityId
);
}
else
{
// TODO: 这里是PayPal支付
}
});
if
(
language
.
value
==
0
)
{
payOrder
({
contactPhone
:
payment
.
form
.
phone
,
customerIds
:
payment
.
form
.
viewers
,
orderToken
:
order
.
data
?.
orderToken
,
payType
:
1
,
paymentAmount
:
order
.
data
?.
paymentAmount
,
}).
then
((
res
)
=>
{
if
(
res
.
data
.
language
==
"zh-cn"
)
{
payment
.
qrInfo
=
res
.
data
;
qrcode
.
toDataURL
(
res
.
data
.
scanCodeUrl
,
(
err
,
url
)
=>
{
if
(
url
)
{
payment
.
qrCodeData
=
url
;
}
});
payment
.
showCodeDialog
=
true
;
startCheckSuccessListener
(
res
.
data
.
orderSn
,
props
.
activityId
);
}
});
}
else
{
// 这里是英文环境支付
}
},
handleCloce
()
{
payment
.
showCodeDialog
=
false
;
...
...
src/viewsPc/seat/seat-picker.vue
View file @
a5ad2c3
...
...
@@ -313,7 +313,9 @@ price.fetchData();
<div
v-for=
"(it, index) in selectedSeats"
class=
"seat_item"
>
<img
class=
"seat_icon"
:src=
"it.selectIcon"
/>
<span
class=
"num"
><span
v-if=
"it.area"
>
{{
it
.
area
}}{{
languageFormat
(
language
,
"区"
,
"Zones"
)
}}
</span>
><span
v-if=
"it.area"
>
{{
it
.
area
}}{{
languageFormat
(
language
,
"区"
,
"Zones"
)
}}
</span
>
{{
it
.
pai
}}{{
languageFormat
(
language
,
"排"
,
"Row"
)
}}
{{
it
.
no
}}
{{
languageFormat
(
language
,
"座"
,
"Seat"
)
}}
</span
>
...
...
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