feat: 首页跳转链接

This commit is contained in:
2026-06-04 10:47:30 +08:00
parent 81a0a060ee
commit c2c7ee1ef7
3 changed files with 8 additions and 4 deletions

View File

@@ -10,6 +10,7 @@
panelImage?: string panelImage?: string
panelAlt: string panelAlt: string
reversed?: boolean reversed?: boolean
to: string
}>(), }>(),
{ {
reversed: false reversed: false
@@ -47,7 +48,7 @@
<h2 class="product-feature-title">{{ title }}</h2> <h2 class="product-feature-title">{{ title }}</h2>
<RouterLink <RouterLink
class="product-feature-link" class="product-feature-link"
to="/products" :to="to"
translate-y-s="100" translate-y-s="100"
translate-y="0" translate-y="0"
> >

View File

@@ -6,7 +6,7 @@
<section class="project-cta"> <section class="project-cta">
<div class="project-cta-inner"> <div class="project-cta-inner">
<h2 class="project-cta-title">{{ $t('Home.contactSlogan') }}</h2> <h2 class="project-cta-title">{{ $t('Home.contactSlogan') }}</h2>
<RouterLink class="project-cta-link" to="/contact"> <RouterLink class="project-cta-link" to="/contact-us">
{{ $t('Home.contactUs') }} {{ $t('Home.contactUs') }}
</RouterLink> </RouterLink>
</div> </div>

View File

@@ -22,7 +22,8 @@
backgroundAlt: 'Fashion design sketches on paper', backgroundAlt: 'Fashion design sketches on paper',
panelImage: `${IMAGE_BASE_URL}/wp-content/uploads/2024/01/new-layout-1.png`, panelImage: `${IMAGE_BASE_URL}/wp-content/uploads/2024/01/new-layout-1.png`,
panelAlt: 'AiDA design workspace preview', panelAlt: 'AiDA design workspace preview',
reversed: false reversed: false,
to:'/aida'
}, },
{ {
name: 'Mixi', name: 'Mixi',
@@ -31,7 +32,8 @@
backgroundAlt: 'Layered fabric texture', backgroundAlt: 'Layered fabric texture',
panelImage: `${IMAGE_BASE_URL}/wp-content/uploads/2022/11/mixi_intro_01_panel.png`, panelImage: `${IMAGE_BASE_URL}/wp-content/uploads/2022/11/mixi_intro_01_panel.png`,
panelAlt: 'Mixi visual search interface preview', panelAlt: 'Mixi visual search interface preview',
reversed: true reversed: true,
to:'/mixi'
} }
] ]
}) })
@@ -87,6 +89,7 @@
:key="feature.name" :key="feature.name"
:name="feature.name" :name="feature.name"
:title="feature.title" :title="feature.title"
:to="feature.to"
:background-image="feature.backgroundImage" :background-image="feature.backgroundImage"
:background-alt="feature.backgroundAlt" :background-alt="feature.backgroundAlt"
:panel-image="feature.panelImage" :panel-image="feature.panelImage"