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 @@