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

8
pnpm-lock.yaml generated
View File

@@ -29,6 +29,9 @@ importers:
ky:
specifier: ^2.0.1
version: 2.0.1
lottie-web:
specifier: ^5.13.0
version: 5.13.0
lucide-react:
specifier: ^1.9.0
version: 1.9.0(react@19.2.5)
@@ -1565,6 +1568,9 @@ packages:
resolution: {integrity: sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q==}
engines: {node: '>=0.10.0'}
lottie-web@5.13.0:
resolution: {integrity: sha512-+gfBXl6sxXMPe8tKQm7qzLnUy5DUPJPKIyRHwtpCpyUEYjHYRJC/5gjUvdkuO2c3JllrPtHXH5UJJK8LRYl5yQ==}
lru-cache@5.1.1:
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
@@ -3387,6 +3393,8 @@ snapshots:
longest@2.0.1: {}
lottie-web@5.13.0: {}
lru-cache@5.1.1:
dependencies:
yallist: 3.1.1