From 253ff1c77c44686441f341be89cbbc243ed41ff0 Mon Sep 17 00:00:00 2001 From: wyx Date: Wed, 1 Feb 2023 10:30:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E5=AD=A6=E4=B9=A0?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=9B=BE=20=E5=85=B1=E4=BA=AB=E6=96=87?= =?UTF-8?q?=E6=A1=A3=20=E7=BB=A7=E7=BB=AD=E5=AD=A6=E4=B9=A0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/roadmap/PathDetails.vue | 79 +++++++++++++++++++------------ 1 file changed, 50 insertions(+), 29 deletions(-) diff --git a/src/views/roadmap/PathDetails.vue b/src/views/roadmap/PathDetails.vue index 17dc18d..ff8e911 100644 --- a/src/views/roadmap/PathDetails.vue +++ b/src/views/roadmap/PathDetails.vue @@ -123,30 +123,29 @@ {{ data.remark || "暂无说明" }} - - - - - - - - - - - - - - - - - - - - - - - + + +
+
+ + +
{{ value.name }}
+
+ +
下载
+
+
+
+
@@ -180,11 +179,11 @@
学习进度
- + +
+
上次学到:{{ data.lastLearned }}
+
继续学习
+
总进度
@@ -283,6 +282,7 @@ import { useRoute, useRouter } from "vue-router"; import { ElMessage } from "element-plus"; import store from "@/store"; import {ROUTER} from "@/api/CONST"; +import FileTypeImg from "@/components/FileTypeImg.vue"; const { query: { routerId, routerName }, @@ -476,9 +476,30 @@ function toFinish(d) { } } + function whiteTypes(type) { return import.meta.env.VITE_TASK_WHITE_TYPE.includes("-" + type + "-"); } + +// 共享文档下载 +function downloadFile(url){ + window.open(url); +} + +// 继续学习 +function continueLearn(taskname, datas){ + console.log('我是当前的列表展示信息',data) + console.log(datas) + let jumpinfo + for(let i=0; i