迁移在线名单提示气泡脚本

This commit is contained in:
2026-04-25 19:50:28 +08:00
parent c8a9c92b56
commit 17d1885efc
3 changed files with 150 additions and 101 deletions
+9
View File
@@ -249,6 +249,9 @@ export {
updateRedPacketClaimsUI,
} from "./chat-room/red-packet-panel.js";
export { createMessageQueue } from "./chat-room/message-queue.js";
export {
bindInstantHoverTooltip,
} from "./chat-room/hover-tooltip.js";
export {
isExpiredChatImageMessage,
localClearScreen,
@@ -448,6 +451,9 @@ import {
updateRedPacketClaimsUI,
} from "./chat-room/red-packet-panel.js";
import { createMessageQueue } from "./chat-room/message-queue.js";
import {
bindInstantHoverTooltip,
} from "./chat-room/hover-tooltip.js";
import {
isExpiredChatImageMessage,
localClearScreen,
@@ -457,6 +463,8 @@ import {
} from "./chat-room/message-utils.js";
if (typeof window !== "undefined") {
bindInstantHoverTooltip();
// 保留聚合入口,给新迁移模块、测试和仍在 Blade 内的存量脚本统一读取工具。
window.ChatRoomTools = {
escapeHtml,
@@ -680,6 +688,7 @@ if (typeof window !== "undefined") {
showRedPacketModal,
updateRedPacketClaimsUI,
createMessageQueue,
bindInstantHoverTooltip,
isExpiredChatImageMessage,
localClearScreen,
scrollChatToBottom,