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
5489bb02
authored
2024-05-24 13:25:43 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge commit '
0b6f8d31
' into dev
2 parents
4a62ab76
0b6f8d31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletions
src/viewsPc/seat/confirm-order.vue
src/viewsPc/seat/order-detail.vue
src/viewsPc/seat/order-list.vue
src/viewsPc/seat/confirm-order.vue
View file @
5489bb0
...
...
@@ -70,6 +70,16 @@ const payment = reactive({
"Please enter the contact phone number."
),
});
if
(
/^
[
1
][
3,4,5,7,8
][
0-9
]{9}
$/
.
test
(
payment
.
form
.
phone
))
{
return
ElMessage
({
type
:
"warning"
,
message
:
languageFormat
(
language
.
value
,
"联系电话格式不正确"
,
"The format of the contact phone is incorrect."
),
});
}
if
(
language
.
value
==
0
)
{
payOrder
({
contactPhone
:
payment
.
form
.
phone
,
...
...
@@ -98,6 +108,9 @@ const payment = reactive({
payment
.
qrCodeData
=
""
;
clearInterval
(
timer
);
timer
=
null
;
router
.
replace
({
path
:
"/seat/order"
,
});
},
});
...
...
src/viewsPc/seat/order-detail.vue
View file @
5489bb0
...
...
@@ -285,6 +285,13 @@ detail.fetchData();
<div
class=
"tr"
>
<div
style=
"width: 30.33%"
class=
"td flex-col"
>
<div>
{{
detail
.
data
?.
dateStr
}}
</div>
<div>
{{
detail
.
data
?.
openType
==
0
?
languageFormat
(
language
,
"日场"
,
"Day session"
)
:
languageFormat
(
language
,
"夜场"
,
"Night session"
)
}}
</div>
<div
v-for=
"(it, index) in detail.data?.seatList"
:key=
"index"
>
<span
v-if=
"it.venueId == 1"
>
{{
it
.
area
...
...
src/viewsPc/seat/order-list.vue
View file @
5489bb0
...
...
@@ -254,7 +254,7 @@ onMounted(() => {
class="tag"
>
{{
language
==
0
?
status
[
it
.
state
].
txt
:
status
[
it
.
state
].
txt_en
language
==
0
?
status
[
it
.
state
].
txt
:
status
[
it
.
state
].
t
e
xt_en
}}
</div>
<div
v-if=
"it.state == 0"
class=
"tip"
>
...
...
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