From 458acdd4d1df98ab09f3496024876a4f8328d687 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Tue, 18 Jun 2024 18:49:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/modules/growth.js | 4 + pages/learnPath/learnPath.vue | 322 +++++++++++++++++++++++++++++++++- pages/study/index.vue | 41 +++-- static/images/go.png | Bin 0 -> 359 bytes 4 files changed, 349 insertions(+), 18 deletions(-) create mode 100644 api/modules/growth.js create mode 100644 static/images/go.png diff --git a/api/modules/growth.js b/api/modules/growth.js new file mode 100644 index 0000000..aea7ae9 --- /dev/null +++ b/api/modules/growth.js @@ -0,0 +1,4 @@ +import ajax from '@/api/manage/manageAjax.js'; +export const getList = (params) => ajax.get(`/manageApi/stu/grow/getStuLearnInfo?userId=${params}`); +//获取路径图详情 +export const taskList = (id) => ajax.get(`/manageApi/stu/grow/taskList?growId=${id}`); \ No newline at end of file diff --git a/pages/learnPath/learnPath.vue b/pages/learnPath/learnPath.vue index ad6a847..4cf0bf0 100644 --- a/pages/learnPath/learnPath.vue +++ b/pages/learnPath/learnPath.vue @@ -23,24 +23,172 @@ 您的学习之旅已结束 - + + + + + {{item.currentRatio || 0}}% + + + + + {{item.title}} + + + + + {{ currentItem.title }} + + + {{currentItem.flag == 0 ? '选修' : '必修'}} + + {{currentItem.type==5?'考试':currentItem.type==1?'在线':''}} + + + 学习进度 + + + + + + + + + 课程讲师: {{currentItem.teacherName}} + 课程简介: {{currentItem.introduce}} + + + 学习中 + + + + @@ -48,6 +196,114 @@