feat: 首页i18n适配
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m3s
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m3s
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<section class="homepage-section">
|
||||
<h2>推荐产品</h2>
|
||||
<h2>{{ $t('homepage.recommended-products') }}</h2>
|
||||
<p>
|
||||
探索我们的精选产品,满足您的各种需求。无论是创新技术还是经典设计,我们都为您提供优质选择。
|
||||
{{ $t('homepage.recommended-products-desc') }}
|
||||
</p>
|
||||
<div v-if="!pending">
|
||||
<el-carousel
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<section class="homepage-section">
|
||||
<h2>推荐解决方案</h2>
|
||||
<p>了解我们的定制解决方案,帮助您优化业务流程,提高效率。</p>
|
||||
<h2>{{ $t('homepage.recommended-solutions') }}</h2>
|
||||
<p>{{ $t('homepage.recommended-solutions-desc') }}</p>
|
||||
<div v-if="!pending">
|
||||
<el-carousel
|
||||
class="recommend-carousel"
|
||||
|
||||
@ -94,5 +94,11 @@
|
||||
"title": "Menu",
|
||||
"navigation": "Navigation",
|
||||
"utilities": "Utilities"
|
||||
},
|
||||
"homepage": {
|
||||
"recommended-products": "Recommended Products",
|
||||
"recommended-products-desc": "Explore our curated selection of products to meet your diverse needs. Whether it's innovative technology or classic designs, we offer quality choices for you.",
|
||||
"recommended-solutions": "Recommended Solutions",
|
||||
"recommended-solutions-desc": "Learn about our tailored solutions designed to help your business thrive in a competitive market."
|
||||
}
|
||||
}
|
||||
|
||||
@ -93,5 +93,11 @@
|
||||
"title": "菜单",
|
||||
"navigation": "站内导航",
|
||||
"utilities": "实用工具"
|
||||
},
|
||||
"homepage": {
|
||||
"recommended-products": "推荐产品",
|
||||
"recommended-products-desc": "探索我们的精选产品,满足您的各种需求。无论是创新技术还是经典设计,我们都为您提供优质选择。",
|
||||
"recommended-solutions": "推荐解决方案",
|
||||
"recommended-solutions-desc": "了解我们的定制解决方案,帮助您优化业务流程,提高效率。"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user