feat(modal): 添加居中模态框组件及游戏相关弹窗功能

- 新增 CenterModal 组件,支持标题、关闭按钮、背景图片等功能
- 添加键盘 ESC 键关闭模态框和页面滚动锁定功能
- 创建桌面端登录、注册和用户信息三个业务模态框
- 集成 lottie-web 动画库并创建 LottiePlayer 组件
- 在样式文件中添加模态框相关的 CSS 类和输入框样式
- 更新桌面入口文件集成登录和用户信息模态框
- 调整桌面控制组件间距和样式配置
This commit is contained in:
JiaJun
2026-05-07 16:16:41 +08:00
parent 9ee681168e
commit f98710d375
20 changed files with 1390 additions and 7 deletions

View File

@@ -32,6 +32,7 @@
"dayjs": "^1.11.20",
"i18next": "^26.0.5",
"ky": "^2.0.1",
"lottie-web": "^5.13.0",
"lucide-react": "^1.9.0",
"motion": "^12.38.0",
"react": "^19.2.4",