From 4cf5e896e4b349de17ec8502c253310c4edbf5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=B3=BD=E7=91=9E?= <2442171142@axhu.edu.cn> Date: Sat, 17 May 2025 09:56:33 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BC=80=E6=BA=90?= =?UTF-8?q?=E8=AE=B8=E5=8F=AF=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 杨泽瑞 <2442171142@axhu.edu.cn> --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..02fe8d6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 杨泽瑞 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -- Gitee From 06f9ec71bb574a6ca25cbe47de7c60ca7f0ffec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=B3=BD=E7=91=9E?= Date: Sat, 17 May 2025 18:29:22 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitee.yml=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=BB=A5=E9=85=8D=E7=BD=AE=20CI=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=B5=81=E6=B0=B4=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitee.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitee.yml diff --git a/.gitee.yml b/.gitee.yml new file mode 100644 index 0000000..eadc7dd --- /dev/null +++ b/.gitee.yml @@ -0,0 +1,16 @@ +version: '1.0' +name: ci-test +displayName: CI 测试流水线 +triggers: + pr: # 仅在 Pull Request 时触发 + branches: + include: + - master # 仅当 PR 目标为 master 时触发 +jobs: + test: + steps: + - name: 安装依赖 + uses: node:18 # 选择 Node.js 版本 + command: npm install + - name: 运行测试 + command: npm test # 执行项目测试脚本(确保 package.json 中有 "test" 脚本) \ No newline at end of file -- Gitee From 4dd7c007b5a6b0d510dfee7dc2509c6335071cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=B3=BD=E7=91=9E?= Date: Sat, 17 May 2025 18:34:23 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BC=98=E5=8C=96=20.todo-from=20=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BB=A5=E5=AE=9E=E7=8E=B0=E6=A8=AA=E5=90=91=E5=B1=85?= =?UTF-8?q?=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/App.vue b/src/App.vue index fde13bd..fadff87 100644 --- a/src/App.vue +++ b/src/App.vue @@ -113,13 +113,15 @@ const list = ref([{ padding-left: 15px; box-sizing: border-box; } - .todo-from{ - margin-top: 20px; - margin-left: 30px; - display: flex; - padding-left: 30px; - box-sizing: border-box; - } + .todo-from { + margin-top: 20px; + /* 移除原来的左内边距,避免影响居中 */ + /* margin - left: 30px; */ + display: flex; + /* 添加以下样式实现横向居中 */ + justify-content: center; + box-sizing: border-box; +} .item{ width: 80%; height: 50px; -- Gitee