From 93717449cbed1573e46a017ef56ffe9834a6ceb1 Mon Sep 17 00:00:00 2001 From: songwc Date: Fri, 14 Oct 2022 18:06:53 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=AE=8C=E6=88=90=E5=85=B3?= =?UTF-8?q?=E5=8D=A1=E7=9A=84=E5=88=9B=E5=BB=BA=E5=85=B3=E5=8D=A1=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=20=E5=AE=8C=E6=88=90=E6=9F=A5=E7=9C=8B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=20=E4=BF=AE=E6=94=B9=E5=AD=A6=E5=91=98=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=B8=8B=E6=8B=89=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src/components/BreadCrumb.vue | 17 +- src/components/NavLeft.vue | 6 + src/views/learningpath/LearningPath.vue | 341 +++++++++++---------- src/views/learningpath/LevelAdd.vue | 28 +- src/views/learningpath/LevelAddDetail.vue | 196 +++++++++++- src/views/learningpath/LevelCheck.vue | 354 ++++++++++++++++++++++ 7 files changed, 772 insertions(+), 172 deletions(-) create mode 100644 src/views/learningpath/LevelCheck.vue diff --git a/README.md b/README.md index 8e7d558b..a75f77fa 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/). LearningPath.vue:学习路径页面 LevelAdd.vue:关卡页面 LevelAddDetail.vue:创建关卡页面 - +LevelCheck.vue查看页面 ``` ### 二、projectcenter:项目文件夹 diff --git a/src/components/BreadCrumb.vue b/src/components/BreadCrumb.vue index 1832f22a..bad79a1f 100644 --- a/src/components/BreadCrumb.vue +++ b/src/components/BreadCrumb.vue @@ -68,6 +68,21 @@ export default { }, ]; } + if (n === "/levelcheck" || n === "/LevelCheck") { + state.list = [ + { + name: "学习路径", + href: "/learningpath", + }, + { + name: "关卡", + href: "/leveladd", + }, + { + name: "查看", + }, + ]; + } if (n === "/projectmanage" || n === "/ProjectManage") { state.list = [ { @@ -117,7 +132,7 @@ export default { }, { name: "添加任务", - } + }, ]; } if (n === "/templatelibrary" || n === "/TemplateLibrary") { diff --git a/src/components/NavLeft.vue b/src/components/NavLeft.vue index 1b3dac35..35a79d85 100644 --- a/src/components/NavLeft.vue +++ b/src/components/NavLeft.vue @@ -258,6 +258,12 @@ export default { selectedKeys: "sub1", pagename: "关卡", }, + { + href: "/levelcheck", + openKeys: "sub1", + selectedKeys: "sub1", + pagename: "查看", + }, { href: "/leveladddetail", openKeys: "sub1", diff --git a/src/views/learningpath/LearningPath.vue b/src/views/learningpath/LearningPath.vue index d5d1e5e7..650997b4 100644 --- a/src/views/learningpath/LearningPath.vue +++ b/src/views/learningpath/LearningPath.vue @@ -92,9 +92,9 @@
@@ -572,170 +572,183 @@ export default { }; \ No newline at end of file