diff --git a/reading-platform-frontend/index.html b/reading-platform-frontend/index.html index 2ab6f25..69e0117 100644 --- a/reading-platform-frontend/index.html +++ b/reading-platform-frontend/index.html @@ -3,7 +3,12 @@ - + + + 幼儿阅读教学服务平台 diff --git a/reading-platform-frontend/src/App.vue b/reading-platform-frontend/src/App.vue index ef443cc..f31db6e 100644 --- a/reading-platform-frontend/src/App.vue +++ b/reading-platform-frontend/src/App.vue @@ -24,6 +24,10 @@ body { padding-right: env(safe-area-inset-right); } +#app .ant-layout-header { + background-color: #ffffff !important; +} + #app { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', diff --git a/reading-platform-frontend/src/views/admin/courses/CourseDetailView.vue b/reading-platform-frontend/src/views/admin/courses/CourseDetailView.vue index 7f23d1d..1509e2c 100644 --- a/reading-platform-frontend/src/views/admin/courses/CourseDetailView.vue +++ b/reading-platform-frontend/src/views/admin/courses/CourseDetailView.vue @@ -20,11 +20,8 @@ 数据 - + 删除 @@ -223,12 +220,8 @@
-
+
{{ translateLessonType(lesson.lessonType) }} @@ -254,29 +247,20 @@
核心资源
-
+
{{ lesson.videoName || '绘本动画' }}
-
+
{{ lesson.pptName || '教学课件' }}
-
+
{{ lesson.pdfName || '电子绘本' }} @@ -333,12 +317,8 @@ 视频资源
-
+
{{ item.name }} @@ -352,12 +332,8 @@ 音频资源
-
+
{{ item.name }} @@ -371,12 +347,8 @@ 文档资源
-
+
@@ -392,14 +364,8 @@ 图片资源
- +
@@ -414,11 +380,7 @@ - +
@@ -541,9 +503,9 @@ const domainTags = 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; }); // 排课参考数据 @@ -582,7 +544,7 @@ const allVideos = computed(() => { paths.forEach((item: any) => { videos.push({ path: item.path, name: item.name || '视频', source: '资源库' }); }); - } catch {} + } catch { } } return videos; }); @@ -596,7 +558,7 @@ const allAudios = computed(() => { paths.forEach((item: any) => { audios.push({ path: item.path, name: item.name || '音频', source: '资源库' }); }); - } catch {} + } catch { } } return audios; }); @@ -623,7 +585,7 @@ const allDocuments = computed(() => { paths.forEach((item: any) => { docs.push({ path: item.path, name: item.name || '电子绘本', type: 'pdf', source: '资源库' }); }); - } catch {} + } catch { } } return docs; }); @@ -637,16 +599,16 @@ const allImages = computed(() => { paths.forEach((item: any) => { 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(() => { @@ -1119,9 +1081,17 @@ const fetchCourseDetail = async () => { 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/reading-platform-frontend/src/views/admin/courses/CourseListView.vue b/reading-platform-frontend/src/views/admin/courses/CourseListView.vue index 758c280..51e90c6 100644 --- a/reading-platform-frontend/src/views/admin/courses/CourseListView.vue +++ b/reading-platform-frontend/src/views/admin/courses/CourseListView.vue @@ -4,25 +4,15 @@ - + 小班 中班 大班 - + 草稿 审核中 已驳回 @@ -30,13 +20,8 @@ 已下架 - + @@ -53,25 +38,15 @@
- +