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
9c360d20
authored
2024-05-26 17:18:24 +0800
by
yyx
1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
725a24fe
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
7 deletions
src/viewsPc/seat/confirm-order.vue
src/viewsPc/seat/order-list.vue
src/viewsPc/seat/ticket-detail.vue
src/viewsPc/seat/utils/request.js
src/viewsPc/seat/confirm-order.vue
View file @
9c360d2
...
...
@@ -84,7 +84,7 @@ const payment = reactive({
contactPhone
:
payment
.
form
.
phone
,
customerIds
:
payment
.
form
.
viewers
,
orderToken
:
order
.
data
?.
orderToken
,
payType
:
1
,
payType
:
language
.
value
==
0
?
1
:
2
,
paymentAmount
:
order
.
data
?.
paymentAmount
,
}).
then
((
res
)
=>
{
if
(
res
.
data
.
language
==
"zh-cn"
)
{
...
...
src/viewsPc/seat/order-list.vue
View file @
9c360d2
...
...
@@ -254,7 +254,9 @@ onMounted(() => {
class="tag"
>
{{
language
==
0
?
status
[
it
.
state
].
txt
:
status
[
it
.
state
].
text_en
language
==
0
?
status
[
it
.
state
].
txt
:
status
[
it
.
state
].
text_en
}}
</div>
<div
v-if=
"it.state == 0"
class=
"tip"
>
...
...
@@ -272,9 +274,11 @@ onMounted(() => {
</div>
</div>
<div
v-if=
"it.state == 0"
class=
"btn_box"
>
<div
class=
"pay"
>
立即支付
</div>
<div
class=
"pay"
>
{{
languageFormat
(
language
,
"立即支付"
,
"Pay Now"
)
}}
</div>
<div
class=
"can_pay"
@
click
.
stop=
"order.cancelPayment(it)"
>
取消支付
{{
languageFormat
(
language
,
"取消支付"
,
"Cancel the payment"
)
}}
</div>
</div>
</div>
...
...
src/viewsPc/seat/ticket-detail.vue
View file @
9c360d2
...
...
@@ -385,7 +385,9 @@ watch(
]"
@
click=
"select_form.onClickPrice(it)"
>
{{
it
.
price
}}
元
<span
v-if=
"language == 1"
>
€
</span>
{{
it
.
price
}}
<span
v-if=
"language == 0"
>
元
</span>
</div>
</div>
</div>
...
...
src/viewsPc/seat/utils/request.js
View file @
9c360d2
// http.js
// import axios from "axios";
import
axios
from
'axios/dist/axios'
import
axios
from
"axios/dist/axios"
;
import
{
getToken
}
from
"./local-store"
;
import
{
ElMessage
}
from
"element-plus"
;
...
...
@@ -16,7 +16,8 @@ const http = axios.create({
timeout
,
headers
:
{
"Content-Type"
:
"application/json"
,
Language
:
'zh-cn'
Language
:
"zh-cn"
,
client
:
"browser"
,
},
});
...
...
杨炀
@yangyang
mentioned in commit
ad1f4643
2024-05-27 01:34:24 UTC
mentioned in commit
ad1f4643
Toggle commit list
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