1
Showing
1 changed file
with
18 additions
and
0 deletions
| ... | @@ -65,6 +65,7 @@ function onWindowMessage(e) { | ... | @@ -65,6 +65,7 @@ function onWindowMessage(e) { |
| 65 | }, 500); | 65 | }, 500); |
| 66 | }); | 66 | }); |
| 67 | 67 | ||
| 68 | if (route.query.sitePlace == "B6") { | ||
| 68 | // 绘制舞台矩形 | 69 | // 绘制舞台矩形 |
| 69 | sendMsg("draw-object-rectangle", { | 70 | sendMsg("draw-object-rectangle", { |
| 70 | x: 1800, | 71 | x: 1800, |
| ... | @@ -80,6 +81,23 @@ function onWindowMessage(e) { | ... | @@ -80,6 +81,23 @@ function onWindowMessage(e) { |
| 80 | text: language.value == 0 ? "舞台" : "stage", | 81 | text: language.value == 0 ? "舞台" : "stage", |
| 81 | style: { fontSize: 160, fontWeight: "400", fill: "#6a6a6a" }, | 82 | style: { fontSize: 160, fontWeight: "400", fill: "#6a6a6a" }, |
| 82 | }); | 83 | }); |
| 84 | } else { | ||
| 85 | // 绘制舞台矩形 | ||
| 86 | sendMsg("draw-object-rectangle", { | ||
| 87 | x: 80, | ||
| 88 | y: 380, | ||
| 89 | w: 4400, | ||
| 90 | h: 1300, | ||
| 91 | color: "#e0e0e0", | ||
| 92 | }); | ||
| 93 | // 绘制舞台文字 | ||
| 94 | sendMsg("draw-object-text", { | ||
| 95 | x: 2100, | ||
| 96 | y: 950, | ||
| 97 | text: language.value == 0 ? "舞台" : "stage", | ||
| 98 | style: { fontSize: 160, fontWeight: "400", fill: "#6a6a6a" }, | ||
| 99 | }); | ||
| 100 | } | ||
| 83 | } else if (data.type == "seat-click") { | 101 | } else if (data.type == "seat-click") { |
| 84 | // 子页面点击了座位 | 102 | // 子页面点击了座位 |
| 85 | const seatData = data.data; | 103 | const seatData = data.data; | ... | ... |
-
Please register or sign in to post a comment