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
c7f6d381
authored
2024-05-22 19:26:44 +0800
by
yyx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
b3d87286
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
5 deletions
src/viewsPc/seat/seat-picker.vue
src/viewsPc/seat/seat-picker.vue
View file @
c7f6d38
...
...
@@ -64,6 +64,22 @@ function onWindowMessage(e) {
moveToPriceArea
(
route
.
query
.
ticket_block
);
},
500
);
});
// 绘制舞台矩形
sendMsg
(
"draw-object-rectangle"
,
{
x
:
1800
,
y
:
960
,
w
:
4400
,
h
:
1300
,
color
:
"#e0e0e0"
,
});
// 绘制舞台文字
sendMsg
(
"draw-object-text"
,
{
x
:
3900
,
y
:
1500
,
text
:
"舞台"
,
style
:
{
fontSize
:
160
,
fontWeight
:
"400"
,
fill
:
"#6a6a6a"
},
});
}
else
if
(
data
.
type
==
"seat-click"
)
{
// 子页面点击了座位
const
seatData
=
data
.
data
;
...
...
@@ -80,11 +96,14 @@ function onWindowMessage(e) {
selectedSeats
.
value
?.
length
>=
5
&&
seatData
.
active
==
0
)
return
ElMessage
({
type
:
"warning"
,
message
:
languageFormat
(
language
,
"最多选择5个座位"
,
"Selectt at most 5 seats"
)
});
return
ElMessage
({
type
:
"warning"
,
message
:
languageFormat
(
language
,
"最多选择5个座位"
,
"Selectt at most 5 seats"
),
});
const
newActive
=
seatData
.
active
==
0
?
1
:
0
;
const
siteConfigItem
=
siteConfig
.
data
.
find
((
it
)
=>
it
.
id
==
seatData
.
id
);
...
...
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