diff --git a/src/views/portal/course/CourseSeries.vue b/src/views/portal/course/CourseSeries.vue
index 34947376..49d8e33d 100644
--- a/src/views/portal/course/CourseSeries.vue
+++ b/src/views/portal/course/CourseSeries.vue
@@ -127,23 +127,23 @@ export default {
keywordsActive: [{
showTitle: false,
name: '哈哈哈',
- title:"哈哈哈"
- },{
+ title: "哈哈哈"
+ }, {
showTitle: false,
name: '哈哈哈',
- title:"哈哈哈"
- },{
+ title: "哈哈哈"
+ }, {
showTitle: false,
name: '哈哈哈',
- title:"哈哈哈"
- },{
+ title: "哈哈哈"
+ }, {
showTitle: false,
name: '哈哈哈',
- title:"哈哈哈"
- },{
+ title: "哈哈哈"
+ }, {
showTitle: false,
name: '哈哈哈',
- title:"哈哈哈"
+ title: "哈哈哈"
}],
summary: "哈哈i啊hi哈斯哈塞回电话后啊后端哈说好话哦哈哈啊哈哈哈哈怂哈哈哦哈哈i哈哈地晒哦还好爱好i和腮红i哈好哈啊哈好哈啊红i哈好哈啊哈好哈啊哈哈好哈哈啊哈哈i啊hi哈斯哈塞回电话后啊后端哈说好话哦哈哈啊哈哈哈哈怂哈哈哦哈哈i哈哈地晒哦还好爱好i和腮红i哈好哈啊哈好哈啊哈哈好哈哈啊"
}, {
@@ -151,7 +151,7 @@ export default {
title: "项目管理系列课程",
sysCreateTime: '2023-09-22',
name: "哈哈哈",
- keywordsActive:[],
+ keywordsActive: [],
summary: "哈哈i啊hi哈斯哈塞回电话后啊后端哈说好话哦哈哈啊哈哈哈哈怂哈哈哦哈哈i哈哈地晒哦还好爱好i和腮红i哈好哈啊哈好哈啊红i哈好哈啊哈好哈啊哈哈好哈哈啊哈哈i啊hi哈斯哈塞回电话后啊后端哈说好话哦哈哈啊哈哈哈哈怂哈哈哦哈哈i哈哈地晒哦还好爱好i和腮红i哈好哈啊哈好哈啊哈哈好哈哈啊"
}],
showPagCount: 0,
@@ -169,9 +169,38 @@ export default {
},
methods: {
- toCourseDetail(cinfo) {
- console.log(cinfo);
-
+ //课程列表详情
+ toCourseDetail(item) {
+ let courseId = item.id;
+ if (!courseId) {
+ courseId = item.courseId;
+ }
+ if (item.source == 1) {
+ this.$router.push('/course/boeframe?id=' + courseId + '&type=' + item.type);
+ } else if (item.source == 3) {
+ //跳转到管理系统的页面
+ let manageApi = process.env.VUE_APP_MANAGER_API_PATH;
+ let studentPath = process.env.VUE_APP_STUDENT_PATH;
+ if (item.type == 30) { //线下课,面授课
+ let params = encodeURIComponent('courseId=' + courseId);
+ this.$router.push('/forward?to=' + manageApi + '/stu/project/redirectDetail¶ms=' + params);
+ } else if (item.type == 40) { //学习项目
+ let params = encodeURIComponent('projectId=' + courseId);
+ this.$router.push('/forward?to=' + studentPath + '/projectdetails¶ms=' + params);
+ }
+ } else {
+ if (item.type == 10) {
+ this.$router.push("/course/studyindex?id=" + courseId);
+ } else if (item.type == 20) {
+ apiCourseStudy.hasSignup(courseId).then(rs => {
+ if (rs.status == 200) {
+ this.$router.push("/course/studyindex?id=" + courseId);
+ } else {
+ this.$router.push("/course/detail?id=" + courseId);
+ }
+ })
+ }
+ }
},
emitInput() {
@@ -230,10 +259,11 @@ export default {
transform: scale(1.25) translateY(-15px);
transition: all 0.6s;
}
+
// 关键字卡片的样式
.keywordInfo-every {
display: grid;
- grid-template-columns: repeat(5,1fr);
+ grid-template-columns: repeat(5, 1fr);
gap: 5px;
.keywordInfo {