feat: support页i18n适配

- SupportTabs中英文文本添加
- SupportCard描述中英文文本
This commit is contained in:
2025-11-04 13:52:35 +08:00
parent 7a15166281
commit 0403a83751
5 changed files with 23 additions and 11 deletions

View File

@ -20,7 +20,7 @@
<el-row>
<NuxtLink class="card-link" :to="to">
<el-button class="card-button" round>
<span>了解更多 > </span>
<span>{{ $t('learn-more') }} > </span>
</el-button>
</NuxtLink>
</el-row>

View File

@ -21,10 +21,10 @@
const activeTab = ref(props.modelValue || '');
const options = [
{ label: '服务支持', value: '' },
{ label: '常见问题', value: 'faq' },
{ label: '文档资料', value: 'documents' },
{ label: '联系售后', value: 'contact-us' },
{ label: $t('navigation.support'), value: '' },
{ label: $t('navigation.faq'), value: 'faq' },
{ label: $t('navigation.documents'), value: 'documents' },
{ label: $t('navigation.contact-info'), value: 'contact-us' },
];
const handleSegmentedChange = (value: string) => {

View File

@ -8,7 +8,7 @@
<div class="page-content">
<section style="margin-bottom: 2rem">
<p>
金申机械制造有限公司致力于为客户提供优质的产品与服务针对纸管机分纸机纸吸管等产品我们提供全方位的售后服务确保客户能够安心地使用我们的产品
{{ $t('support-page-desc') }}
</p>
</section>
<div class="card-group">
@ -35,19 +35,19 @@
const supportItems = [
{
title: $t('navigation.faq'),
description: '我们为用户整理了常见问题的答案,帮助您快速解决疑惑。',
description: $t('support-card-desc.faq'),
to: localePath('/support/faq'),
iconComponent: ElIconQuestionFilled,
},
{
title: $t('navigation.documents'),
description: '我们为用户整理了常见问题的答案,帮助您快速解决疑惑。',
description: $t('support-card-desc.documents'),
to: localePath('/support/documents'),
iconComponent: ElIconDocumentChecked,
},
{
title: $t('navigation.contact-info'),
description: '通过电话、邮箱联系我们,我们将现场为您服务。',
description: $t('support-card-desc.contact-info'),
to: localePath('/support/contact-us'),
iconComponent: ElIconService,
},