This commit is contained in:
yixu
2025-12-19 11:21:04 +08:00
commit 258e14e27c
82 changed files with 5371 additions and 0 deletions

21
src/globalToastEvent.js Normal file
View File

@@ -0,0 +1,21 @@
import mitt from 'mitt';
const globalToastEvent = mitt();
export const ToastType = {
SHOW_TODO: "show_todo",
SHOW_RULE: "show_rule",
SHOW_PRIZELIST: "show_prizelist",
SHOW_LOTTERY: "show_lottery",
SHOW_AD: "show_ad",
SHOW_ADDRESS: "show_address",
MOUNTED: "mounted",
INFO_UPDATE: "info_update",
SHOW_SWIPER: "game_swiper",
SHOW_GAMEPAGE: "game_page",
SHOW_GAMEDEMO: "game_demo",
SHOW_SHAREPAGE: "share_page",
SHOW_POPUPMORE: "popup_more",
CLOSE_ALL: "close_all"
};
export default globalToastEvent;