From 321e990dff31420b943fc83535b297fa3845383d Mon Sep 17 00:00:00 2001
From: R2m1liA <15258427350@163.com>
Date: Mon, 25 Aug 2025 16:21:19 +0800
Subject: [PATCH] =?UTF-8?q?Fix:=E4=BF=AE=E6=AD=A3=E5=89=8D=E5=90=8E?=
=?UTF-8?q?=E7=AB=AFBug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/components/JinshenHeader.vue | 7 ++--
app/components/MarkdownRenderer.vue | 36 +++++++++++++++-
app/composables/useLocalizations.ts | 2 +-
app/pages/index.vue | 45 ++++++++++++++++++--
app/pages/productions/[...slug].vue | 7 +++-
app/pages/productions/index.vue | 8 +++-
app/pages/support/index.vue | 65 +++++++++++++++++++++++++++++
app/types/strapi/production.ts | 3 +-
8 files changed, 160 insertions(+), 13 deletions(-)
create mode 100644 app/pages/support/index.vue
diff --git a/app/components/JinshenHeader.vue b/app/components/JinshenHeader.vue
index ba2131c..b02614b 100644
--- a/app/components/JinshenHeader.vue
+++ b/app/components/JinshenHeader.vue
@@ -129,12 +129,13 @@ onMounted(() => {
background-color: transparent !important;
}
-.header-menu .el-menu-item:active {
- border-bottom: 2px solid var(--el-color-primary);
+.header-menu .el-menu-item.is-active {
+ border-bottom: 2.5px solid var(--el-color-primary-dark-2);
+ color: var(--el-color-primary);
}
.header-menu .el-menu-item:hover {
- border-bottom: 2px solid var(--el-color-primary);
+ border-bottom: 2.5px solid var(--el-color-primary);
}
.header-actions {
diff --git a/app/components/MarkdownRenderer.vue b/app/components/MarkdownRenderer.vue
index ecfdfbc..51a4891 100644
--- a/app/components/MarkdownRenderer.vue
+++ b/app/components/MarkdownRenderer.vue
@@ -17,6 +17,8 @@ const contentWithAbsoluteUrls = convertMedia(props.content)
const safeHtml = computed(() => renderMarkdown(contentWithAbsoluteUrls))
// const safeHtml = computed(() => renderMarkdown(props.content))
+console.log('Rendered HTML:', safeHtml.value)
+
\ No newline at end of file
diff --git a/app/composables/useLocalizations.ts b/app/composables/useLocalizations.ts
index ce613f8..cde4647 100644
--- a/app/composables/useLocalizations.ts
+++ b/app/composables/useLocalizations.ts
@@ -5,7 +5,7 @@ import en from 'element-plus/es/locale/lang/en';
// Strapi本地化映射
export const strapiLocales: Record = {
- 'zh': 'zh-Hans',
+ 'zh': 'zh-CN',
'en': 'en'
}
diff --git a/app/pages/index.vue b/app/pages/index.vue
index a54d75b..abaea6c 100644
--- a/app/pages/index.vue
+++ b/app/pages/index.vue
@@ -1,12 +1,51 @@
\ No newline at end of file
diff --git a/app/types/strapi/production.ts b/app/types/strapi/production.ts
index 84bf80e..0e55740 100644
--- a/app/types/strapi/production.ts
+++ b/app/types/strapi/production.ts
@@ -18,7 +18,8 @@ export interface Production extends StrapiEntity {
title: string;
summary: string;
production_type: ProductionType;
- production_image: StrapiImage;
+ cover: StrapiImage;
+ production_images: StrapiImage[];
production_details: string;
production_specs: ProductionSpecGroup[];
documents: StrapiMedia[];