diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss index e21fe7a6..d95e71e7 100644 --- a/src/assets/styles/portal.scss +++ b/src/assets/styles/portal.scss @@ -189,7 +189,7 @@ body {margin: 0px;padding: 0px;} .course-card-favorite{ position: absolute; right:25px; - bottom: 72px; + bottom: 84px; } // margin-right: 35px; @@ -254,7 +254,7 @@ body {margin: 0px;padding: 0px;} .course-title { height: 44px; // margin: 10px 0; - margin: 10px 0 10px 0px; + margin: 10px 0 0px 0px; line-height: 24px; font-size: 16px; font-weight: 600; @@ -383,7 +383,7 @@ body {margin: 0px;padding: 0px;} .course-card-favorite{ position: absolute; right:20px; - bottom: 72px; + bottom: 84px; } .course-image-box { width:218; diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 55d75108..f33982f5 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -95,7 +95,12 @@ 线下课 学习项目 -
+
+ +
+ +
授课时间:{{ cinfo.startTime }}
+
@@ -824,6 +829,11 @@ export default { if (res.status == 200 && res.result.list.length > 0) { this.totalPages = res.result.totalPages; res.result.list.forEach(item => { + // item.startTime + if(item.startTime != '') { + let time = item.startTime.split('-'); + item.startTime = `${time[0]}年${time[1]}月${time[2]}日` + } //教师转化 if(item.teacher){ let dotIdx=item.teacher.indexOf(','); @@ -844,7 +854,7 @@ export default { } }); - + this.courseList.push(...res.result.list); this.moreState = 1; } else { @@ -948,6 +958,15 @@ export default {