From 963690bf537b8ec65d1ed20f29c55f1d61c901e7 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Fri, 24 Oct 2025 16:41:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=9B=B8=E5=85=B3=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - production -> product --- app/app.vue | 19 ----- app/components/JinshenFooter.vue | 4 +- app/components/JinshenHeader.vue | 8 +- .../{ProductionCard.vue => ProductCard.vue} | 20 ++--- app/components/SearchResults.vue | 4 +- .../{productions => products}/[...slug].vue | 82 +++++++++---------- app/pages/{productions => products}/index.vue | 52 ++++++------ app/pages/search.vue | 4 +- app/pages/solutions/[...slug].vue | 2 +- app/pages/support/documents.vue | 4 +- app/pages/support/faq.vue | 20 ++--- i18n/locales/en.json | 10 +-- i18n/locales/zh.json | 10 +-- 13 files changed, 108 insertions(+), 131 deletions(-) rename app/components/{ProductionCard.vue => ProductCard.vue} (77%) rename app/pages/{productions => products}/[...slug].vue (69%) rename app/pages/{productions => products}/index.vue (69%) diff --git a/app/app.vue b/app/app.vue index c6553da..ed96dfc 100644 --- a/app/app.vue +++ b/app/app.vue @@ -11,26 +11,7 @@ diff --git a/app/components/JinshenFooter.vue b/app/components/JinshenFooter.vue index fea2407..002e5e9 100644 --- a/app/components/JinshenFooter.vue +++ b/app/components/JinshenFooter.vue @@ -20,8 +20,8 @@ {{ $t('navigation.home') }}
  • - {{ - $t('navigation.productions') + {{ + $t('navigation.products') }}
  • diff --git a/app/components/JinshenHeader.vue b/app/components/JinshenHeader.vue index 78b2f16..0fd55ca 100644 --- a/app/components/JinshenHeader.vue +++ b/app/components/JinshenHeader.vue @@ -21,8 +21,8 @@ :persistent="false" router > - - {{ $t('navigation.productions') }} + + {{ $t('navigation.products') }} {{ $t('navigation.solutions') }} @@ -81,8 +81,8 @@ const refreshMenu = () => { const path = router.currentRoute.value.path; - if (path.startsWith('/productions')) { - activeName.value = 'productions'; + if (path.startsWith('/products')) { + activeName.value = 'products'; } else if (path.startsWith('/solutions')) { activeName.value = 'solutions'; } else if (path.startsWith('/support')) { diff --git a/app/components/ProductionCard.vue b/app/components/ProductCard.vue similarity index 77% rename from app/components/ProductionCard.vue rename to app/components/ProductCard.vue index bdfa568..397a0a4 100644 --- a/app/components/ProductionCard.vue +++ b/app/components/ProductCard.vue @@ -1,14 +1,14 @@