提交 cf3099ae authored 作者: 王鹏飞's avatar 王鹏飞

大作业根据接口返回显示隐藏;修复课程讲师文字重叠的问题;

上级 b70b429b
...@@ -184,7 +184,7 @@ export default class CourseAction extends BaseACTION { ...@@ -184,7 +184,7 @@ export default class CourseAction extends BaseACTION {
} }
}) })
} }
json.tabs1ChapterList.course.push({ cur.curriculum.curriculum_essay && json.tabs1ChapterList.course.push({
title: _vIn.$t('action.courseAction.courseWork'), title: _vIn.$t('action.courseAction.courseWork'),
isUp: true, isUp: true,
chapters: [], chapters: [],
......
...@@ -110,11 +110,15 @@ export default { ...@@ -110,11 +110,15 @@ export default {
const customeChapter = { const customeChapter = {
name: this.$t('viewerMain.workData'), name: this.$t('viewerMain.workData'),
children: [ children: [
{ name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 }, // { name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 },
{ name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 }, { name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 },
{ name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 } { name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 }
] ]
} }
// 课程大作业
if (this.detail.curriculum.curriculum_essay) {
customeChapter.children.unshift({ name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 })
}
// 课程考试 // 课程考试
if (this.detail.course_examination) { if (this.detail.course_examination) {
customeChapter.children.push({ customeChapter.children.push({
......
...@@ -1157,9 +1157,6 @@ body .el-tab-pane { ...@@ -1157,9 +1157,6 @@ body .el-tab-pane {
} }
.list-teacher .ctx .top-ctx { .list-teacher .ctx .top-ctx {
position: absolute;
top: 0;
width: 100%;
overflow: hidden; overflow: hidden;
} }
...@@ -1172,9 +1169,6 @@ body .el-tab-pane { ...@@ -1172,9 +1169,6 @@ body .el-tab-pane {
} }
.list-teacher .ctx .bottom-ctx { .list-teacher .ctx .bottom-ctx {
display: block;
padding-top: 0.2rem;
width: 100%;
overflow: hidden; overflow: hidden;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论