From b3a45db9bfc02b4bcc0721c0d496db5b32e811b6 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Tue, 9 Sep 2025 15:28:28 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 当页面内容不足时,将页脚固定在页面下方 --- app/layouts/default.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/layouts/default.vue b/app/layouts/default.vue index a6306ef..f528246 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -16,6 +16,7 @@ .app-container { display: flex; flex-direction: column; + min-height: 100vh; padding: 0; } @@ -27,7 +28,7 @@ .main-content { flex: 1; padding: 0; - flex-direction: column; + overflow-y: auto; } .page-footer { From 607ea47d72003169fcb0c23f0f549a3e41b5d9d5 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Tue, 9 Sep 2025 16:45:08 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E9=A1=B5=E9=A6=96?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将菜单栏置于中央 --- app/components/JinshenHeader.vue | 53 +++++++++++++++++++------------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/app/components/JinshenHeader.vue b/app/components/JinshenHeader.vue index aa23a5c..f3f3db9 100644 --- a/app/components/JinshenHeader.vue +++ b/app/components/JinshenHeader.vue @@ -6,28 +6,30 @@ - - - - {{ $t('navigation.productions') }} - - - {{ $t('navigation.solutions') }} - - - {{ $t('navigation.support') }} - - - {{ $t('navigation.about-us') }} - - +
+ + + + {{ $t('navigation.productions') }} + + + {{ $t('navigation.solutions') }} + + + {{ $t('navigation.support') }} + + + {{ $t('navigation.about-us') }} + + +
+ +
- @@ -90,7 +92,6 @@ onMounted(() => { \ No newline at end of file diff --git a/app/types/strapi/singleTypes.ts b/app/types/strapi/singleTypes.ts index 6626af3..fa68b50 100644 --- a/app/types/strapi/singleTypes.ts +++ b/app/types/strapi/singleTypes.ts @@ -9,4 +9,5 @@ export interface StrapiContactInfo extends StrapiEntity { export interface StrapiHomepage extends StrapiEntity { carousel: StrapiImage[]; recommend_productions: StrapiRelation[]; + recommend_solutions: StrapiRelation[]; } \ No newline at end of file