把 XH巡课 的当前可运行版本放进仓库,方便后续继续改并同步。
This commit is contained in:
commit
6e5107f1b6
134 files changed
+11284
No files matched your search
@@ -0,0 +1,15 @@
|
||||
---
|
||||
description: Vue 3、TypeScript 与界面规范
|
||||
globs: frontend/**/*.{vue,ts,css}
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# 前端
|
||||
|
||||
- 使用 `<script setup lang="ts">`。路由懒加载。站点名称、颜色、注册开关来自 `useSiteStore`。
|
||||
- 摄像头和麦克风是两个独立列表,禁止合并成一个设备框。
|
||||
- 进入教室页不得自动打开摄像头或麦克风,必须由教师点击授权。
|
||||
- 离开直播页时断开 Room、停止轨道并关闭 AudioContext。
|
||||
- 接口错误、空数据和加载中都要有可见状态。
|
||||
- 家长页优先手机宽度,教师页按钮适合触摸,后台页优先信息密度。
|
||||
- 主题色默认 `#1677ff`,并支持深色模式。
|
||||
Reference in new issue
Block a user