迁移神秘占卜脚本

This commit is contained in:
2026-04-25 14:18:00 +08:00
parent 55d3dd43ba
commit e6a686233f
3 changed files with 181 additions and 128 deletions
+7
View File
@@ -30,6 +30,7 @@
* - initial-state.js:恢复首屏历史消息、欢迎消息、入场特效和挂起婚姻事件。
* - bank-modal.js:处理银行弹窗、转账、排行和标签切换。
* - fishing.js:处理钓鱼入口与自动钓鱼相关交互。
* - fortune-panel.js:提供神秘占卜 fortunePanel Alpine 组件。
* - profile-controls.js:处理用户资料和资料相关按钮。
* - shop-controls.js:处理商店弹窗的基础按钮事件。
* - slot-machine.js:提供老虎机 slotPanel/slotFab Alpine 组件。
@@ -102,6 +103,7 @@ export {
toggleBankRankSort,
} from "./chat-room/bank-modal.js";
export { bindFishingControls } from "./chat-room/fishing.js";
export { bindFortunePanelControls, fortunePanel } from "./chat-room/fortune-panel.js";
export { bindProfileControls } from "./chat-room/profile-controls.js";
export { bindShopControls } from "./chat-room/shop-controls.js";
export { bindSlotMachineControls, slotFab, slotPanel } from "./chat-room/slot-machine.js";
@@ -193,6 +195,7 @@ import {
toggleBankRankSort,
} from "./chat-room/bank-modal.js";
import { bindFishingControls } from "./chat-room/fishing.js";
import { bindFortunePanelControls, fortunePanel } from "./chat-room/fortune-panel.js";
import { bindProfileControls } from "./chat-room/profile-controls.js";
import { bindShopControls } from "./chat-room/shop-controls.js";
import { bindSlotMachineControls, slotFab, slotPanel } from "./chat-room/slot-machine.js";
@@ -298,6 +301,8 @@ if (typeof window !== "undefined") {
switchBankTab,
toggleBankRankSort,
bindFishingControls,
bindFortunePanelControls,
fortunePanel,
bindMarriageStatusControls,
bindProfileControls,
bindShopControls,
@@ -376,6 +381,7 @@ if (typeof window !== "undefined") {
window.closeBankModal = closeBankModal;
window.closeGameHall = closeGameHall;
window.fetchBankRanking = fetchBankRanking;
window.fortunePanel = fortunePanel;
window.deferChatGameBootstrap = deferChatGameBootstrap;
window.openGameHall = openGameHall;
window.openBankModal = openBankModal;
@@ -407,6 +413,7 @@ if (typeof window !== "undefined") {
bindChatInitialStateControls();
bindBankControls();
bindFishingControls();
bindFortunePanelControls();
bindMarriageStatusControls();
bindProfileControls();
bindShopControls();