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[];