优化跑马页面
This commit is contained in:
@@ -127,6 +127,25 @@ export function initChat(roomId) {
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:baccarat.settled", { detail: e }),
|
||||
);
|
||||
})
|
||||
// ─── 赛马:开场 / 进度 / 结算 ────────────────────────────────
|
||||
.listen(".horse.opened", (e) => {
|
||||
console.log("赛马开场:", e);
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:horse.opened", { detail: e }),
|
||||
);
|
||||
})
|
||||
.listen(".horse.progress", (e) => {
|
||||
console.log("赛马进度:", e);
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:horse.progress", { detail: e }),
|
||||
);
|
||||
})
|
||||
.listen(".horse.settled", (e) => {
|
||||
console.log("赛马结算:", e);
|
||||
window.dispatchEvent(
|
||||
new CustomEvent("chat:horse.settled", { detail: e }),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user