mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
- 在api-models.ts中定义弹幕投票相关类型 - 在constants.ts中添加VOTE_API_URL常量 - 在路由中添加弹幕投票管理和OBS视图 - 更新组件以支持弹幕投票功能
19 lines
684 B
Plaintext
19 lines
684 B
Plaintext
- @src/api/api-models.ts: 定义了系统中使用的数据模型
|
|
- @src/api/query.ts: 提供了API请求的基础函数
|
|
- @src/api/account.ts: 账户管理相关API
|
|
|
|
## 主要目录结构
|
|
|
|
- `src/`: 源代码目录
|
|
- `api/`: API调用和模型定义
|
|
- `assets/`: 静态资源文件
|
|
- `client/`: 客户端相关组件和服务
|
|
- `components/`: Vue组件
|
|
- `composables/`: Vue组合式API函数
|
|
- `data/`: 数据相关模块,包括聊天和弹幕客户端
|
|
- `router/`: 路由配置
|
|
- `store/`: 状态管理
|
|
- `views/`: 页面视图组件
|
|
- `open_live/`: 直播相关视图,包括点歌系统
|
|
- `obs/`: OBS相关视图组件
|
|
- `public/`: 公共静态资源 |