@@ -235,42 +231,33 @@
核心资源
-
+
{{ lesson.videoName || '绘本动画' }}
-
+
{{ lesson.pptName || '教学课件' }}
-
+
{{ lesson.pdfName || '电子绘本' }}
@@ -285,10 +272,11 @@
{{ Number(index) + 1 }}
-
{{ step.name }}
+
{{ step.name }}
{{ step.duration }}分钟
-
目标:{{ step.objective }}
-
{{ step.content }}
+
目标:{{ step.objective }}
+
{{ step.content }}
+
@@ -297,13 +285,13 @@
教学延伸
-
{{ lesson.extension }}
+
{{ lesson.extension }}
教学反思
-
{{ lesson.reflection }}
+
{{ lesson.reflection }}
@@ -327,12 +315,8 @@
视频资源
-
+
{{ item.name }}
@@ -346,12 +330,8 @@
音频资源
-
+
{{ item.name }}
@@ -365,12 +345,8 @@
文档资源
-
+
@@ -386,14 +362,8 @@
图片资源
-
![]()
+
@@ -416,7 +386,8 @@
{{ formatDate(feedback.createdAt) }}
-
{{ feedback.content }}
+
{{ feedback.content
+ }}
@@ -430,11 +401,7 @@
-
+
@@ -575,9 +542,9 @@ const themeTagStyle = computed(() =>
// 是否有课程介绍内容
const hasIntroContent = computed(() => {
return course.value.introSummary || course.value.introHighlights ||
- course.value.introGoals || course.value.introSchedule ||
- course.value.introKeyPoints || course.value.introMethods ||
- course.value.introEvaluation || course.value.introNotes;
+ course.value.introGoals || course.value.introSchedule ||
+ course.value.introKeyPoints || course.value.introMethods ||
+ course.value.introEvaluation || course.value.introNotes;
});
// 课程介绍填写数量
@@ -638,7 +605,7 @@ const allVideos = computed(() => {
videos.push({ path: item.path, name: item.name || '视频', source: '资源库' });
});
}
- } catch {}
+ } catch { }
}
return videos;
});
@@ -654,7 +621,7 @@ const allAudios = computed(() => {
audios.push({ path: item.path, name: item.name || '音频', source: '资源库' });
});
}
- } catch {}
+ } catch { }
}
return audios;
});
@@ -681,7 +648,7 @@ const allDocuments = computed(() => {
docs.push({ path: item.path, name: item.name || '电子绘本', type: 'pdf', source: '资源库' });
});
}
- } catch {}
+ } catch { }
}
return docs;
});
@@ -697,16 +664,16 @@ const allImages = computed(() => {
images.push({ path: item.path, name: item.name || '挂图' });
});
}
- } catch {}
+ } catch { }
}
return images;
});
const hasAnyResources = computed(() => {
return allVideos.value.length > 0 ||
- allAudios.value.length > 0 ||
- allDocuments.value.length > 0 ||
- allImages.value.length > 0;
+ allAudios.value.length > 0 ||
+ allDocuments.value.length > 0 ||
+ allImages.value.length > 0;
});
const totalResourcesCount = computed(() => {
@@ -942,9 +909,11 @@ onMounted(() => {
.fav-icon {
color: rgba(0, 0, 0, 0.45);
}
+
.fav-icon.favorited {
color: #ff4d4f;
}
+
.favorited {
color: #ff4d4f;
}
@@ -1223,9 +1192,17 @@ onMounted(() => {
font-size: 18px;
margin-right: 8px;
- &.video { color: #722ed1; }
- &.ppt { color: #fa8c16; }
- &.pdf { color: #f5222d; }
+ &.video {
+ color: #722ed1;
+ }
+
+ &.ppt {
+ color: #fa8c16;
+ }
+
+ &.pdf {
+ color: #f5222d;
+ }
}
.resource-name {
diff --git a/lesingle-edu-reading-platform-frontend/src/views/teacher/courses/components/content/CourseBasicInfo.vue b/lesingle-edu-reading-platform-frontend/src/views/teacher/courses/components/content/CourseBasicInfo.vue
index 627b071..4e74d97 100644
--- a/lesingle-edu-reading-platform-frontend/src/views/teacher/courses/components/content/CourseBasicInfo.vue
+++ b/lesingle-edu-reading-platform-frontend/src/views/teacher/courses/components/content/CourseBasicInfo.vue
@@ -25,7 +25,7 @@
-
- {{ course.coreContent || '-' }}
+ {{ course.coreContent || '-' }}
diff --git a/lesingle-edu-reading-platform-frontend/src/views/teacher/courses/components/content/CourseEnvironmentContent.vue b/lesingle-edu-reading-platform-frontend/src/views/teacher/courses/components/content/CourseEnvironmentContent.vue
index 339d6a2..69e71ed 100644
--- a/lesingle-edu-reading-platform-frontend/src/views/teacher/courses/components/content/CourseEnvironmentContent.vue
+++ b/lesingle-edu-reading-platform-frontend/src/views/teacher/courses/components/content/CourseEnvironmentContent.vue
@@ -1,16 +1,11 @@