From c4e797500f2be930dd145f774154cd86ce454f44 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Wed, 29 Oct 2025 16:08:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=B0=86=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E9=A1=B5=E7=9A=84=E7=9B=B8=E5=85=B3=E9=83=A8=E5=88=86=E6=8F=90?= =?UTF-8?q?=E5=8F=96=E4=B8=BA=E5=8F=AF=E5=A4=8D=E7=94=A8=E7=9A=84=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - support页的el-card,单独提取为SupportCard组件 --- app/components/pages/support/SupportCard.vue | 96 +++++++++++++ app/pages/support/index.vue | 138 ++++--------------- 2 files changed, 125 insertions(+), 109 deletions(-) create mode 100644 app/components/pages/support/SupportCard.vue diff --git a/app/components/pages/support/SupportCard.vue b/app/components/pages/support/SupportCard.vue new file mode 100644 index 0000000..94d5dab --- /dev/null +++ b/app/components/pages/support/SupportCard.vue @@ -0,0 +1,96 @@ + + + + + diff --git a/app/pages/support/index.vue b/app/pages/support/index.vue index 5c9f137..2051fcc 100644 --- a/app/pages/support/index.vue +++ b/app/pages/support/index.vue @@ -12,87 +12,14 @@

- - - - - - - - -
- {{ $t('navigation.faq') }} -
-
-
- -
-

我们为用户整理了常见问题的答案,帮助您快速解决疑惑。

-
-
- - - - 了解更多 > - - - -
- - - - - - - - -
- {{ $t('navigation.documents') }} -
-
-
- -
-

我们为用户整理了常见问题的答案,为您快速解决疑惑。

-
-
- - - - 了解更多 > - - - -
- - - - - - - - -
- {{ $t('navigation.contact-info') }} -
-
-
- -
-

通过电话、邮箱联系我们,我们将现场为您服务。

-
-
- - - - 了解更多 > - - - -
+
@@ -104,6 +31,27 @@ { label: $t('navigation.home'), to: localePath('/') }, { label: $t('navigation.support') }, ]; + + const supportItems = [ + { + title: $t('navigation.faq'), + description: '我们为用户整理了常见问题的答案,帮助您快速解决疑惑。', + to: localePath('/support/faq'), + iconComponent: ElIconQuestionFilled, + }, + { + title: $t('navigation.documents'), + description: '我们为用户整理了常见问题的答案,帮助您快速解决疑惑。', + to: localePath('/support/documents'), + iconComponent: ElIconDocumentChecked, + }, + { + title: $t('navigation.contact-info'), + description: '通过电话、邮箱联系我们,我们将现场为您服务。', + to: localePath('/support/contact-us'), + iconComponent: ElIconService, + }, + ];