迁移赛马主面板脚本

This commit is contained in:
2026-04-25 18:33:08 +08:00
parent 0953e03b73
commit 1f1c329085
3 changed files with 568 additions and 402 deletions
+8
View File
@@ -32,6 +32,7 @@
* - game-bootstrap.js:提供非关键游戏延迟初始化工具。
* - game-panels.js:处理通用游戏面板关闭事件。
* - gomoku-controls.js:处理五子棋外部打开和接受邀请入口。
* - horse-race-panel.js:提供赛马竞猜主面板 Alpine 组件和下注流程。
* - horse-race-fab.js:处理赛马竞猜悬浮按钮拖动与打开面板。
* - horse-race-events.js:处理赛马广播事件和页面恢复当前场次。
* - holiday-modal.js:处理节日福利弹窗、广播监听、领取状态和系统消息入口。
@@ -116,6 +117,7 @@ export { bindGameHallControls, closeGameHall, openGameHall } from "./chat-room/g
export { bindGameBootstrapControls, deferChatGameBootstrap } from "./chat-room/game-bootstrap.js";
export { bindGamePanelControls } from "./chat-room/game-panels.js";
export { acceptGomokuInvite, bindGomokuControls, openGomokuPanel } from "./chat-room/gomoku-controls.js";
export { bindHorseRacePanelControls, horseRacePanel, requestHorseRaceJson } from "./chat-room/horse-race-panel.js";
export { bindHorseRaceFabControls, horseRaceFab } from "./chat-room/horse-race-fab.js";
export { bindHorseRaceEvents } from "./chat-room/horse-race-events.js";
export {
@@ -284,6 +286,7 @@ import { bindGameHallControls, closeGameHall, openGameHall } from "./chat-room/g
import { bindGameBootstrapControls, deferChatGameBootstrap } from "./chat-room/game-bootstrap.js";
import { bindGamePanelControls } from "./chat-room/game-panels.js";
import { acceptGomokuInvite, bindGomokuControls, openGomokuPanel } from "./chat-room/gomoku-controls.js";
import { bindHorseRacePanelControls, horseRacePanel, requestHorseRaceJson } from "./chat-room/horse-race-panel.js";
import { bindHorseRaceFabControls, horseRaceFab } from "./chat-room/horse-race-fab.js";
import { bindHorseRaceEvents } from "./chat-room/horse-race-events.js";
import {
@@ -462,6 +465,9 @@ if (typeof window !== "undefined") {
acceptGomokuInvite,
bindGomokuControls,
openGomokuPanel,
bindHorseRacePanelControls,
horseRacePanel,
requestHorseRaceJson,
bindHorseRaceFabControls,
horseRaceFab,
bindHorseRaceEvents,
@@ -641,6 +647,7 @@ if (typeof window !== "undefined") {
window.openGameHall = openGameHall;
window.acceptGomokuInvite = acceptGomokuInvite;
window.openGomokuPanel = openGomokuPanel;
window.horseRacePanel = horseRacePanel;
window.horseRaceFab = horseRaceFab;
window.openLotteryPanel = openLotteryPanel;
window.openBankModal = openBankModal;
@@ -729,6 +736,7 @@ if (typeof window !== "undefined") {
bindGameBootstrapControls();
bindGamePanelControls();
bindGomokuControls();
bindHorseRacePanelControls();
bindHorseRaceFabControls();
bindHorseRaceEvents();
bindHolidayModalControls();