|
@@ -11,13 +11,13 @@
|
|
<template v-if="type === 'teacher'">
|
|
<template v-if="type === 'teacher'">
|
|
<div class="task-name">{{ itemInfo.name }}</div>
|
|
<div class="task-name">{{ itemInfo.name }}</div>
|
|
<div class="task-time">{{ itemInfo.time_space_view_txt }}</div>
|
|
<div class="task-time">{{ itemInfo.time_space_view_txt }}</div>
|
|
- <div class="task-content">
|
|
|
|
|
|
+ <div class="task-content" v-if="contentUrl">
|
|
<span>{{ $t('Key371') }}</span>
|
|
<span>{{ $t('Key371') }}</span>
|
|
<!-- eslint-disable-next-line vue/no-v-html -->
|
|
<!-- eslint-disable-next-line vue/no-v-html -->
|
|
<span v-html="contentUrl"></span>
|
|
<span v-html="contentUrl"></span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
- <template v-if="!isExercises">
|
|
|
|
|
|
+ <template v-if="!isExercises && itemInfo.courseware_list.length > 0">
|
|
<div class="courseware-list-title">
|
|
<div class="courseware-list-title">
|
|
{{ $t('Key309') }}
|
|
{{ $t('Key309') }}
|
|
</div>
|
|
</div>
|
|
@@ -44,7 +44,7 @@
|
|
</el-tag>
|
|
</el-tag>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
- <div class="learning-material">
|
|
|
|
|
|
+ <div class="learning-material" v-if="itemInfo.cs_item_learning_material_list.length > 0">
|
|
<div class="learning-material-title">
|
|
<div class="learning-material-title">
|
|
{{ isExercises && type === 'teacher' ? '练习任务' : $t('Key274') }}
|
|
{{ isExercises && type === 'teacher' ? '练习任务' : $t('Key274') }}
|
|
</div>
|
|
</div>
|
|
@@ -101,7 +101,7 @@ function emitViewFile(fileName, fileId) {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.task-detail-top {
|
|
.task-detail-top {
|
|
- padding: 24px 32px;
|
|
|
|
|
|
+ padding: 24px 40px;
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
|
|
|
@@ -113,6 +113,7 @@ function emitViewFile(fileName, fileId) {
|
|
&-name {
|
|
&-name {
|
|
font-size: 24px;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
|
|
+ line-height: 36px;
|
|
}
|
|
}
|
|
|
|
|
|
&-time {
|
|
&-time {
|
|
@@ -122,6 +123,10 @@ function emitViewFile(fileName, fileId) {
|
|
|
|
|
|
.cs_item_name {
|
|
.cs_item_name {
|
|
margin: 8px 0 24px;
|
|
margin: 8px 0 24px;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ line-height: 24px;
|
|
|
|
+ color: rgba(0, 0, 0, 50%);
|
|
}
|
|
}
|
|
|
|
|
|
.learning-material {
|
|
.learning-material {
|
|
@@ -129,7 +134,10 @@ function emitViewFile(fileName, fileId) {
|
|
|
|
|
|
&-title {
|
|
&-title {
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
- font-size: 18px;
|
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ line-height: 32px; /* 200% */
|
|
|
|
+ color: #2c2c2c;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -142,16 +150,21 @@ function emitViewFile(fileName, fileId) {
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
|
+ line-height: 30px;
|
|
}
|
|
}
|
|
|
|
|
|
.task-time {
|
|
.task-time {
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
- color: #969696;
|
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ line-height: 24px; /* 150% */
|
|
|
|
+ color: #2c2c2c;
|
|
|
|
+ opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
|
|
.task-content {
|
|
.task-content {
|
|
display: flex;
|
|
display: flex;
|
|
- column-gap: 40px;
|
|
|
|
|
|
+ column-gap: 38px;
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
white-space: pre-wrap;
|
|
white-space: pre-wrap;
|
|
|
|
|
|
@@ -161,16 +174,27 @@ function emitViewFile(fileName, fileId) {
|
|
|
|
|
|
:first-child {
|
|
:first-child {
|
|
min-width: 70px;
|
|
min-width: 70px;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ line-height: 32px; /* 200% */
|
|
|
|
+ color: #000;
|
|
}
|
|
}
|
|
|
|
|
|
:last-child {
|
|
:last-child {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ line-height: 32px; /* 200% */
|
|
|
|
+ color: #000;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
&-title {
|
|
&-title {
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
- font-size: 18px;
|
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ line-height: 32px; /* 200% */
|
|
|
|
+ color: #2c2c2c;
|
|
}
|
|
}
|
|
|
|
|
|
.el-tag {
|
|
.el-tag {
|