diff --git a/mock/user.ts b/mock/user.ts index f039b1b..638dde8 100644 --- a/mock/user.ts +++ b/mock/user.ts @@ -10,7 +10,18 @@ function createUserList() { desc: '平台管理员', roles: ['平台管理员'], buttons: ['cuser.detail'], - routes: ['Home', 'Course', 'Student', 'Group', 'Message','BasicCourseInformation','CourseObjectives','CourseChapters','KnowledgePoints','CurriculumMap'], //老师权限 + routes: [ + 'Home', + 'Course', + 'Student', + 'Group', + 'Message', + 'BasicCourseInformation', + 'CourseObjectives', + 'CourseChapters', + 'KnowledgePoints', + 'CurriculumMap', + ], //老师权限 token: 'Admin Token', }, { @@ -22,7 +33,20 @@ function createUserList() { desc: '系统管理员', roles: ['系统管理员'], buttons: ['cuser.detail', 'cuser.user'], - routes: ['Home', 'MyCourseStudy', 'CourseResources', 'Message','LearningProcess','CourseCollections','Courselikes','WebHome','CourseHome','LearningPathRecommendations','KnowledgePointLearning','CourseReports'], //学生权限 + routes: [ + 'Home', + 'MyCourseStudy', + 'CourseResources', + 'Message', + 'LearningProcess', + 'CourseCollections', + 'Courselikes', + 'WebHome', + 'CourseHome', + 'LearningPathRecommendations', + 'KnowledgePointLearning', + 'CourseReports', + ], //学生权限 token: 'System Token', }, ] diff --git a/public/0.jpg b/public/0.jpg new file mode 100644 index 0000000..bf25122 Binary files /dev/null and b/public/0.jpg differ diff --git a/public/1.jpg b/public/1.jpg new file mode 100644 index 0000000..e56d855 Binary files /dev/null and b/public/1.jpg differ diff --git a/public/2.jpg b/public/2.jpg new file mode 100644 index 0000000..508cf0d Binary files /dev/null and b/public/2.jpg differ diff --git a/public/wl.png b/public/wl.png new file mode 100644 index 0000000..415d80b Binary files /dev/null and b/public/wl.png differ diff --git a/src/assets/icons/dianzan.svg b/src/assets/icons/dianzan.svg new file mode 100644 index 0000000..91826e5 --- /dev/null +++ b/src/assets/icons/dianzan.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/dianzanred.svg b/src/assets/icons/dianzanred.svg new file mode 100644 index 0000000..9248c3f --- /dev/null +++ b/src/assets/icons/dianzanred.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/点赞.svg b/src/assets/icons/点赞.svg new file mode 100644 index 0000000..0a06e19 --- /dev/null +++ b/src/assets/icons/点赞.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/images/0.jpg b/src/assets/images/0.jpg new file mode 100644 index 0000000..bf25122 Binary files /dev/null and b/src/assets/images/0.jpg differ diff --git a/src/assets/images/1.jpg b/src/assets/images/1.jpg new file mode 100644 index 0000000..e56d855 Binary files /dev/null and b/src/assets/images/1.jpg differ diff --git a/src/assets/images/1.png b/src/assets/images/1.png new file mode 100644 index 0000000..8bdddea Binary files /dev/null and b/src/assets/images/1.png differ diff --git a/src/assets/images/3.png b/src/assets/images/3.png new file mode 100644 index 0000000..2cb0913 Binary files /dev/null and b/src/assets/images/3.png differ diff --git a/src/assets/images/ck.png b/src/assets/images/ck.png new file mode 100644 index 0000000..d38f33b Binary files /dev/null and b/src/assets/images/ck.png differ diff --git a/src/assets/images/dx.png b/src/assets/images/dx.png new file mode 100644 index 0000000..96bb7c5 Binary files /dev/null and b/src/assets/images/dx.png differ diff --git a/src/assets/images/kc.jpg b/src/assets/images/kc.jpg new file mode 100644 index 0000000..ce8f230 Binary files /dev/null and b/src/assets/images/kc.jpg differ diff --git a/src/assets/images/logo.png b/src/assets/images/logo.png new file mode 100644 index 0000000..c464b5d Binary files /dev/null and b/src/assets/images/logo.png differ diff --git a/src/assets/images/logo1.png b/src/assets/images/logo1.png new file mode 100644 index 0000000..75ffcd4 Binary files /dev/null and b/src/assets/images/logo1.png differ diff --git a/src/assets/images/ls.jpg b/src/assets/images/ls.jpg new file mode 100644 index 0000000..ae410ca Binary files /dev/null and b/src/assets/images/ls.jpg differ diff --git a/src/assets/images/rjgz.jpg b/src/assets/images/rjgz.jpg new file mode 100644 index 0000000..02338e6 Binary files /dev/null and b/src/assets/images/rjgz.jpg differ diff --git a/src/assets/images/rwd.png b/src/assets/images/rwd.png new file mode 100644 index 0000000..887ac95 Binary files /dev/null and b/src/assets/images/rwd.png differ diff --git a/src/assets/images/sj.png b/src/assets/images/sj.png new file mode 100644 index 0000000..07c10df Binary files /dev/null and b/src/assets/images/sj.png differ diff --git a/src/assets/images/wl.png b/src/assets/images/wl.png new file mode 100644 index 0000000..415d80b Binary files /dev/null and b/src/assets/images/wl.png differ diff --git a/src/assets/images/xs.jpg b/src/assets/images/xs.jpg new file mode 100644 index 0000000..05151e1 Binary files /dev/null and b/src/assets/images/xs.jpg differ diff --git a/src/assets/images/zy.jpg b/src/assets/images/zy.jpg new file mode 100644 index 0000000..ffdb7bf Binary files /dev/null and b/src/assets/images/zy.jpg differ diff --git a/src/assets/images/图灵云logo.png b/src/assets/images/图灵云logo.png new file mode 100644 index 0000000..c3836fd Binary files /dev/null and b/src/assets/images/图灵云logo.png differ diff --git a/src/assets/images/小旗子.png b/src/assets/images/小旗子.png new file mode 100644 index 0000000..d37f107 Binary files /dev/null and b/src/assets/images/小旗子.png differ diff --git a/src/assets/images/搜索.png b/src/assets/images/搜索.png new file mode 100644 index 0000000..cb2e95d Binary files /dev/null and b/src/assets/images/搜索.png differ diff --git a/src/assets/images/点赞 (1).png b/src/assets/images/点赞 (1).png new file mode 100644 index 0000000..a782623 Binary files /dev/null and b/src/assets/images/点赞 (1).png differ diff --git a/src/assets/images/点赞.png b/src/assets/images/点赞.png new file mode 100644 index 0000000..d270a94 Binary files /dev/null and b/src/assets/images/点赞.png differ diff --git a/src/assets/images/知识点.png b/src/assets/images/知识点.png new file mode 100644 index 0000000..6e8df04 Binary files /dev/null and b/src/assets/images/知识点.png differ diff --git a/src/assets/images/统计计算.png b/src/assets/images/统计计算.png new file mode 100644 index 0000000..30339bb Binary files /dev/null and b/src/assets/images/统计计算.png differ diff --git a/src/assets/images/课程.png b/src/assets/images/课程.png new file mode 100644 index 0000000..d6469c1 Binary files /dev/null and b/src/assets/images/课程.png differ diff --git a/src/layout/main/index.vue b/src/layout/main/index.vue index 0cacbfe..8e00a1d 100644 --- a/src/layout/main/index.vue +++ b/src/layout/main/index.vue @@ -3,8 +3,8 @@ -
- +
+
diff --git a/src/layout/menu/index.vue b/src/layout/menu/index.vue index dce0724..062b37b 100644 --- a/src/layout/menu/index.vue +++ b/src/layout/menu/index.vue @@ -76,4 +76,4 @@ export default { name: 'Menu', } - \ No newline at end of file + diff --git a/src/router/routers.ts b/src/router/routers.ts index 8bf3b5a..c72a332 100644 --- a/src/router/routers.ts +++ b/src/router/routers.ts @@ -258,7 +258,8 @@ export const constantRoute: any = [ }, { path: '/portal/LearningPathRecommendations', - component: () => import('@/views/portal/LearningPathRecommendations.vue'), + component: () => + import('@/views/portal/LearningPathRecommendations.vue'), name: 'LearningPathRecommendations', meta: { title: '学习路径推荐', diff --git a/src/views/MyCourseStudy/Courselikes.vue b/src/views/MyCourseStudy/Courselikes.vue index b21f044..e7d0913 100644 --- a/src/views/MyCourseStudy/Courselikes.vue +++ b/src/views/MyCourseStudy/Courselikes.vue @@ -1,14 +1,9 @@ - - + diff --git a/src/views/MyCourseStudy/courseCollections.vue b/src/views/MyCourseStudy/courseCollections.vue index 0c2f435..f71132a 100644 --- a/src/views/MyCourseStudy/courseCollections.vue +++ b/src/views/MyCourseStudy/courseCollections.vue @@ -1,14 +1,9 @@ - - + diff --git a/src/views/MyCourseStudy/learningProcess.vue b/src/views/MyCourseStudy/learningProcess.vue index 5aeb410..de79071 100644 --- a/src/views/MyCourseStudy/learningProcess.vue +++ b/src/views/MyCourseStudy/learningProcess.vue @@ -1,14 +1,9 @@ - - + diff --git a/src/views/course/CourseObjectives.vue b/src/views/course/CourseObjectives.vue index 64135f7..87b0412 100644 --- a/src/views/course/CourseObjectives.vue +++ b/src/views/course/CourseObjectives.vue @@ -1,14 +1,9 @@ - - + diff --git a/src/views/course/basicCourseInformation.vue b/src/views/course/basicCourseInformation.vue index 0255c59..b8bc1a5 100644 --- a/src/views/course/basicCourseInformation.vue +++ b/src/views/course/basicCourseInformation.vue @@ -1,14 +1,9 @@ - - + diff --git a/src/views/course/courseChapters.vue b/src/views/course/courseChapters.vue index d664b3b..b84722c 100644 --- a/src/views/course/courseChapters.vue +++ b/src/views/course/courseChapters.vue @@ -1,14 +1,9 @@ - - + diff --git a/src/views/course/curriculumMap.vue b/src/views/course/curriculumMap.vue index c2054be..5c43bcd 100644 --- a/src/views/course/curriculumMap.vue +++ b/src/views/course/curriculumMap.vue @@ -1,14 +1,9 @@ - - + diff --git a/src/views/course/knowledgePoints.vue b/src/views/course/knowledgePoints.vue index 642e1c5..00ae4ee 100644 --- a/src/views/course/knowledgePoints.vue +++ b/src/views/course/knowledgePoints.vue @@ -1,14 +1,9 @@ - - + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index e577b38..da296ad 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,6 +1,10 @@ - + diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 65390e1..25c15b3 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,6 +1,5 @@ + - - diff --git a/src/views/portal/courseHomepage.vue b/src/views/portal/courseHomepage.vue index 78ee628..a8b4926 100644 --- a/src/views/portal/courseHomepage.vue +++ b/src/views/portal/courseHomepage.vue @@ -1,14 +1,542 @@ - - diff --git a/src/views/portal/courseReports.vue b/src/views/portal/courseReports.vue index 6c7ab52..4f6fad0 100644 --- a/src/views/portal/courseReports.vue +++ b/src/views/portal/courseReports.vue @@ -1,14 +1,353 @@ - - diff --git a/src/views/portal/index.vue b/src/views/portal/index.vue index 769e0cd..5c81b7f 100644 --- a/src/views/portal/index.vue +++ b/src/views/portal/index.vue @@ -1,14 +1,1046 @@ - - diff --git a/src/views/portal/knowledgePointLearning.vue b/src/views/portal/knowledgePointLearning.vue index 340775f..fc916d4 100644 --- a/src/views/portal/knowledgePointLearning.vue +++ b/src/views/portal/knowledgePointLearning.vue @@ -1,14 +1,9 @@ - - +