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
ce96a9a3
authored
2024-05-23 16:09:31 +0800
by
yyx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
8e7582de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
15 deletions
src/viewsPc/seat/seat-picker.vue
src/viewsPc/seat/seat-picker.vue
View file @
ce96a9a
...
...
@@ -65,21 +65,39 @@ function onWindowMessage(e) {
},
500
);
});
// 绘制舞台矩形
sendMsg
(
"draw-object-rectangle"
,
{
x
:
1800
,
y
:
960
,
w
:
4400
,
h
:
1300
,
color
:
"#e0e0e0"
,
});
// 绘制舞台文字
sendMsg
(
"draw-object-text"
,
{
x
:
3900
,
y
:
1500
,
text
:
language
.
value
==
0
?
"舞台"
:
"stage"
,
style
:
{
fontSize
:
160
,
fontWeight
:
"400"
,
fill
:
"#6a6a6a"
},
});
if
(
route
.
query
.
sitePlace
==
"B6"
)
{
// 绘制舞台矩形
sendMsg
(
"draw-object-rectangle"
,
{
x
:
1800
,
y
:
960
,
w
:
4400
,
h
:
1300
,
color
:
"#e0e0e0"
,
});
// 绘制舞台文字
sendMsg
(
"draw-object-text"
,
{
x
:
3900
,
y
:
1500
,
text
:
language
.
value
==
0
?
"舞台"
:
"stage"
,
style
:
{
fontSize
:
160
,
fontWeight
:
"400"
,
fill
:
"#6a6a6a"
},
});
}
else
{
// 绘制舞台矩形
sendMsg
(
"draw-object-rectangle"
,
{
x
:
80
,
y
:
380
,
w
:
4400
,
h
:
1300
,
color
:
"#e0e0e0"
,
});
// 绘制舞台文字
sendMsg
(
"draw-object-text"
,
{
x
:
2100
,
y
:
950
,
text
:
language
.
value
==
0
?
"舞台"
:
"stage"
,
style
:
{
fontSize
:
160
,
fontWeight
:
"400"
,
fill
:
"#6a6a6a"
},
});
}
}
else
if
(
data
.
type
==
"seat-click"
)
{
// 子页面点击了座位
const
seatData
=
data
.
data
;
...
...
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