c7f6d381 by yyx

1

1 parent b3d87286
......@@ -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);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!