From 1b22ff94c695de7aedc145999befb32b263961c6 Mon Sep 17 00:00:00 2001 From: MKStoler Date: Mon, 2 Dec 2024 18:32:53 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=AF=B4=E6=B3=95=E8=AE=A2=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/BugReport.yml | 2 +- .github/workflows/readme-contributors.yml | 28 ++++++++++----------- README.md | 17 ++++++------- src/renderer/src/components/ExamList.vue | 16 ++++++------ src/renderer/src/components/SubjectInfo.vue | 14 +++++++---- src/renderer/src/pages/about.vue | 10 +++++--- src/renderer/src/pages/infoPage.vue | 5 ++-- 7 files changed, 49 insertions(+), 43 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BugReport.yml b/.github/ISSUE_TEMPLATE/BugReport.yml index 877f3db..9fed2f4 100644 --- a/.github/ISSUE_TEMPLATE/BugReport.yml +++ b/.github/ISSUE_TEMPLATE/BugReport.yml @@ -87,4 +87,4 @@ body: description: 回顾您的回答 options: - label: 我认为上述的描述已经足以详细,以允许开发人员能复现该问题。如果我的 issue 没有按照上述的要求填写,可能会被无条件关闭。 - required: true \ No newline at end of file + required: true diff --git a/.github/workflows/readme-contributors.yml b/.github/workflows/readme-contributors.yml index bd81ea8..cb9fa22 100644 --- a/.github/workflows/readme-contributors.yml +++ b/.github/workflows/readme-contributors.yml @@ -1,17 +1,17 @@ on: - push: - branches: - - master + push: + branches: + - master jobs: - contrib-readme-job: - runs-on: ubuntu-latest - name: A job to automate contrib in readme - permissions: - contents: write - pull-requests: write - steps: - - name: Contribute List - uses: akhilmhdh/contributors-readme-action@v2.3.10 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + contrib-readme-job: + runs-on: ubuntu-latest + name: A job to automate contrib in readme + permissions: + contents: write + pull-requests: write + steps: + - name: Contribute List + uses: akhilmhdh/contributors-readme-action@v2.3.10 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 800b06b..f9b3e71 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,11 @@ 一款显示当前时间与考试详细信息的看板类软件 | 下载 | [Releases](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/releases) | [Actions](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/actions) | -| - | - | - | +| ---- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | -> [!tip] -> **本软件使用 `Vue` + `TypeScript` + `JavaScript` 制作,使用 `Node.js` + `Electron` 完善系统级功能并打包。** +> [!tip] > **本软件使用 `Vue` + `TypeScript` + `JavaScript` 制作,使用 `Node.js` + `Electron` 完善系统级功能并打包。** ## 功能 @@ -74,7 +73,7 @@ > [!tip] > > `message` 与 `room` 为选填 -> +> > 如果有两个以"/"分隔的科目可以自动转化为双行显示 - 打开软件,进入起始页面,点击 `打开配置` 按钮,选择配置文件 @@ -87,9 +86,9 @@ > > 可以在 `Raw 文件` 前加上镜像源,如 > ->``` ->https://github.moeyy.xyz/https://raw.githubusercontent.com/{owner}/{repo}/refs/heads/main/exam_config.json ->``` +> ``` +> https://github.moeyy.xyz/https://raw.githubusercontent.com/{owner}/{repo}/refs/heads/main/exam_config.json +> ``` - 点击`请求配置`加载配置文件并进入看板(下次可直接点击`直接进入看板`加载上次配置文件) @@ -111,10 +110,9 @@ - [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) > [!Caution] -> +> > **必须使用 Yarn 包管理。Node 版本要求为20。** - ### 工程构建 #### 配置 @@ -202,7 +200,6 @@ $ yarn build:linux ## Stars 历史 -
[![Star 历史](https://starchart.cc/ProjectCampus-CH/dsz-exam-showboard-next.svg?variant=adaptive)](https://starchart.cc/ProjectCampus-CH/dsz-exam-showboard-next/stargazers) diff --git a/src/renderer/src/components/ExamList.vue b/src/renderer/src/components/ExamList.vue index 46bac9b..f296773 100644 --- a/src/renderer/src/components/ExamList.vue +++ b/src/renderer/src/components/ExamList.vue @@ -14,7 +14,7 @@