1
Showing
1 changed file
with
33 additions
and
15 deletions
| ... | @@ -65,21 +65,39 @@ function onWindowMessage(e) { | ... | @@ -65,21 +65,39 @@ function onWindowMessage(e) { |
| 65 | }, 500); | 65 | }, 500); |
| 66 | }); | 66 | }); |
| 67 | 67 | ||
| 68 | // 绘制舞台矩形 | 68 | if (route.query.sitePlace == "B6") { |
| 69 | sendMsg("draw-object-rectangle", { | 69 | // 绘制舞台矩形 |
| 70 | x: 1800, | 70 | sendMsg("draw-object-rectangle", { |
| 71 | y: 960, | 71 | x: 1800, |
| 72 | w: 4400, | 72 | y: 960, |
| 73 | h: 1300, | 73 | w: 4400, |
| 74 | color: "#e0e0e0", | 74 | h: 1300, |
| 75 | }); | 75 | color: "#e0e0e0", |
| 76 | // 绘制舞台文字 | 76 | }); |
| 77 | sendMsg("draw-object-text", { | 77 | // 绘制舞台文字 |
| 78 | x: 3900, | 78 | sendMsg("draw-object-text", { |
| 79 | y: 1500, | 79 | x: 3900, |
| 80 | text: language.value == 0 ? "舞台" : "stage", | 80 | y: 1500, |
| 81 | style: { fontSize: 160, fontWeight: "400", fill: "#6a6a6a" }, | 81 | text: language.value == 0 ? "舞台" : "stage", |
| 82 | }); | 82 | style: { fontSize: 160, fontWeight: "400", fill: "#6a6a6a" }, |
| 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