mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-29 14:06:34 +00:00
208 lines
8.0 KiB
Markdown
208 lines
8.0 KiB
Markdown
<div align="center">
|
||
|
||
<image src="resources/icon.png" height="128"/>
|
||
|
||
# ExamShowboard-Next(下一代考试看板)
|
||
|
||

|
||

|
||
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/stargazers)
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/forks)
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/watchers)
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/releases)
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/issues)
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/discussions)
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next)
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/commits/master)
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next)
|
||
[](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next)
|
||
[](LICENSE)
|
||
[](https://qm.qq.com/q/zDiEipHsaI)
|
||
|
||
一款显示当前时间与考试详细信息的看板类软件
|
||
|
||
| 下载 | [Releases](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/releases) | [Actions](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/actions) |
|
||
| - | - | - |
|
||
|
||
</div>
|
||
|
||
> [!tip]
|
||
> **本软件使用 `Vue` + `TypeScript` + `JavaScript` 制作,使用 `Node.js` + `Electron` 完善系统级功能并打包。**
|
||
|
||
## 功能
|
||
|
||
- 起始页展示 `打开配置` 、 `直接进入看板` 按钮
|
||
- 看板页面
|
||
- 上方展示 `考试标题` 、 `信息`
|
||
- 左侧展示 `当前时间` 、 `当前科目` 、 `考试时间` 、 `考试状态`
|
||
- 右侧展示考试科目列表,包括 `科目` 、 `开始` 、 `结束` 、 `状态`
|
||
- 考试结束前15分钟黄字提醒
|
||
- 集控功能(早期测试)
|
||
|
||
## 开始使用
|
||
|
||
- 下载安装程序并运行
|
||
|
||
默认安装路径 `AppData\Local\Programs\dsz-exam-showboard`
|
||
|
||
- 编写 `json` 配置文件
|
||
|
||
新建文件 `exam_config.json` ,模板如下
|
||
|
||
```json
|
||
{
|
||
"examName": "考试名称",
|
||
"message": "信息",
|
||
"room": "考场号",
|
||
"examInfos": [
|
||
{
|
||
"name": "科目",
|
||
"start": "2024-12-01T07:00:00",
|
||
"end": "2024-12-01T08:00:00"
|
||
},
|
||
{
|
||
"name": "科目/科目",
|
||
"start": "2024-12-01T09:00:00",
|
||
"end": "2024-12-01T10:00:00"
|
||
}
|
||
]
|
||
}
|
||
```
|
||
|
||
> [!tip]
|
||
>
|
||
> 如果有两个以"/"分隔的科目可以自动转化为双行显示
|
||
|
||
- 打开软件,进入起始页面,点击 `打开配置` 按钮,选择配置文件
|
||
- 或使用集控(仿照 [`ClassIsland` 集控使用方法](https://docs.classisland.tech/management/tutorial-create-management-config.html))
|
||
- 新建 GitHub 公开存储仓库
|
||
- 上传上面提到的 `exam_config.json` 文件
|
||
- 复制 `Raw` 直链粘贴到应用`请求地址`文本框并保存
|
||
|
||
> [!tip]
|
||
>
|
||
> 可以在 `Raw 文件` 前加上镜像源,如
|
||
>
|
||
>```
|
||
>https://github.moeyy.xyz/https://raw.githubusercontent.com/{owner}/{repo}/refs/heads/main/exam_config.json
|
||
>```
|
||
|
||
- 点击`请求配置`加载配置文件并进入看板(下次可直接点击`直接进入看板`加载上次配置文件)
|
||
|
||
## 遇到问题
|
||
|
||
💡 如果您遇到 `Bug` ,或需要提出`优化`建议或新的`功能`,请提交 [`Issues`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/issues) 或在 [`Discussions`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/discussions) 中讨论。
|
||
|
||
👥 您也可以加入 [`QQ群|901670561`](https://qm.qq.com/q/zDiEipHsaI)获取帮助或交流讨论。
|
||
|
||
🛠️ 欢迎为本软件进行改进或编写新功能提交 [`Pull Request`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/pulls)
|
||
|
||
## 开发
|
||
|
||
### 推荐开发环境
|
||
|
||
- [VSCode](https://code.visualstudio.com/)
|
||
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
|
||
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
|
||
- [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
|
||
|
||
> [!Caution]
|
||
>
|
||
> **必须使用 Yarn 包管理。Node 版本要求为20。**
|
||
|
||
### 工程构建
|
||
|
||
#### 配置
|
||
|
||
```bash
|
||
$ yarn
|
||
```
|
||
|
||
#### 开发
|
||
|
||
```bash
|
||
$ yarn dev
|
||
# 如果无法显示,可以尝试使用下面的命令(不支持热重载):
|
||
$ yarn start
|
||
```
|
||
|
||
> [!important]
|
||
>
|
||
> **如果 dev 模式页面不显示或按钮点击无效等问题,请连续刷新至少3次后再进行操作。 build 后没有此问题。**
|
||
|
||
#### 构建
|
||
|
||
```bash
|
||
# For windows
|
||
$ yarn build:win
|
||
|
||
# For macOS
|
||
$ yarn build:mac
|
||
|
||
# For Linux
|
||
$ yarn build:linux
|
||
```
|
||
|
||
### 开发进度
|
||
|
||
- 正在 [`master`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/commits/master) 分支上维护`1.2-Yesod`版本。
|
||
|
||
- 正在 [`dev`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/commits/dev) 分支上开发`1.3-HOD`版本。
|
||
|
||
## 贡献者
|
||
|
||
<!-- readme: collaborators,contributors -start -->
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td align="center">
|
||
<a href="https://github.com/Jursin">
|
||
<img src="https://avatars.githubusercontent.com/u/127487914?v=4" width="100;" alt="Jursin"/>
|
||
<br />
|
||
<sub><b>Jursin</b></sub>
|
||
</a>
|
||
</td>
|
||
<td align="center">
|
||
<a href="https://github.com/hello8693DSZ">
|
||
<img src="https://avatars.githubusercontent.com/u/88492699?v=4" width="100;" alt="hello8693DSZ"/>
|
||
<br />
|
||
<sub><b>Hello8693</b></sub>
|
||
</a>
|
||
</td>
|
||
<td align="center">
|
||
<a href="https://github.com/MKStoler4096">
|
||
<img src="https://avatars.githubusercontent.com/u/178344462?v=4" width="100;" alt="MKStoler4096"/>
|
||
<br />
|
||
<sub><b>MKStoler</b></sub>
|
||
</a>
|
||
</td>
|
||
<td align="center">
|
||
<a href="https://github.com/fhz08">
|
||
<img src="https://avatars.githubusercontent.com/u/152045732?v=4" width="100;" alt="fhz08"/>
|
||
<br />
|
||
<sub><b>fhz08</b></sub>
|
||
</a>
|
||
</td>
|
||
<td align="center">
|
||
<a href="https://github.com/wjj-8283">
|
||
<img src="https://avatars.githubusercontent.com/u/82750345?v=4" width="100;" alt="wjj-8283"/>
|
||
<br />
|
||
<sub><b>wjj-8283</b></sub>
|
||
</a>
|
||
</td>
|
||
</tr>
|
||
<tbody>
|
||
</table>
|
||
<!-- readme: collaborators,contributors -end -->
|
||
|
||
## Stars 历史
|
||
|
||
<div align="center">
|
||
|
||
[](https://starchart.cc/ProjectCampus-CH/dsz-exam-showboard-next/stargazers)
|
||
|
||
如果这个项目对您有帮助,请点亮 Star [⭐](#dsz-exam-showboard-next)
|
||
|
||
</div>
|