website-vue/pages/about.vue

174 lines
6.6 KiB
Vue
Raw Normal View History

2025-04-22 15:57:06 +08:00
<template>
<div>
<!-- 页面标题 -->
<HeroBanner
2025-04-22 16:46:16 +08:00
:title="$t('about.hero.title')"
:subtitle="$t('about.hero.subtitle')"
2025-04-22 15:57:06 +08:00
/>
<!-- 公司简介 -->
<section class="section">
<div class="container">
<div class="grid md:grid-cols-2 gap-12 items-center">
<div>
2025-04-22 16:46:16 +08:00
<h2 class="text-4xl font-bold text-[#333333] mb-8 mt-6">{{ $t('about.company.title') }}</h2>
<p class="text-gray-600 mb-4 text-lg leading-relaxed">{{ $t('about.company.description1') }}</p>
<p class="text-gray-600 mb-8 text-lg leading-relaxed">{{ $t('about.company.description2') }}</p>
2025-04-22 15:57:06 +08:00
<ul class="space-y-4">
<li v-for="(achievement, index) in achievements" :key="index" class="flex items-center text-lg">
<i class="fas fa-check-circle text-green-500 mr-3"></i>
2025-04-22 16:46:16 +08:00
<span class="text-gray-700">{{ $t(achievement) }}</span>
2025-04-22 15:57:06 +08:00
</li>
</ul>
</div>
<div class="bg-gradient-to-br from-secondary/20 to-secondary/10 h-80 rounded-lg flex items-center justify-center">
<i class="fas fa-building text-8xl text-secondary"></i>
</div>
</div>
</div>
</section>
<!-- 我们的优势 -->
<section class="section bg-gray-50">
<div class="container">
<div class="max-w-4xl mx-auto text-center mb-16">
2025-04-22 16:46:16 +08:00
<h2 class="text-4xl font-bold text-[#333333] mb-4 mt-6">{{ $t('about.advantages.title') }}</h2>
<p class="text-xl text-gray-600 leading-relaxed">{{ $t('about.advantages.subtitle') }}</p>
2025-04-22 15:57:06 +08:00
</div>
<div class="grid md:grid-cols-4 gap-8">
<div v-for="(advantage, index) in advantages" :key="index" class="bg-white p-8 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-1 text-center">
<div class="w-20 h-20 bg-gradient-to-br from-secondary/20 to-secondary/10 rounded-full flex items-center justify-center mx-auto mb-6">
<i :class="['text-secondary text-3xl', advantage.icon]"></i>
</div>
2025-04-22 16:46:16 +08:00
<h3 class="text-xl font-semibold mb-4">{{ $t(advantage.titleKey) }}</h3>
<p class="text-gray-600 leading-relaxed">{{ $t(advantage.descriptionKey) }}</p>
2025-04-22 15:57:06 +08:00
</div>
</div>
</div>
</section>
<!-- 企业文化 -->
<section class="section">
<div class="container">
<div class="max-w-4xl mx-auto text-center mb-16">
2025-04-22 16:46:16 +08:00
<h2 class="text-4xl font-bold text-[#333333] mb-4 mt-6">{{ $t('about.culture.title') }}</h2>
<p class="text-xl text-gray-600 leading-relaxed">{{ $t('about.culture.subtitle') }}</p>
2025-04-22 15:57:06 +08:00
</div>
<div class="grid md:grid-cols-3 gap-8">
<div v-for="(culture, index) in cultures" :key="index" class="bg-white p-8 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-1">
<div class="w-20 h-20 bg-gradient-to-br from-secondary/20 to-secondary/10 rounded-full flex items-center justify-center mx-auto mb-6">
<i :class="['text-secondary text-3xl', culture.icon]"></i>
</div>
2025-04-22 16:46:16 +08:00
<h3 class="text-xl font-semibold mb-4 text-center">{{ $t(culture.titleKey) }}</h3>
<p class="text-gray-600 leading-relaxed text-center">{{ $t(culture.descriptionKey) }}</p>
2025-04-22 15:57:06 +08:00
</div>
</div>
</div>
</section>
<!-- 发展历程 -->
<section class="section bg-gray-50">
<div class="container">
<div class="max-w-4xl mx-auto text-center mb-16">
2025-04-22 16:46:16 +08:00
<h2 class="text-4xl font-bold text-[#333333] mb-4 mt-6">{{ $t('about.history.title') }}</h2>
<p class="text-xl text-gray-600 leading-relaxed">{{ $t('about.history.subtitle') }}</p>
2025-04-22 15:57:06 +08:00
</div>
<div class="space-y-8">
<div v-for="(history, index) in historyItems" :key="index" class="flex flex-col md:flex-row items-center gap-8">
<div class="w-full md:w-1/4 text-right">
2025-04-22 16:46:16 +08:00
<h3 class="text-2xl font-semibold text-secondary">{{ $t(history.yearKey) }}</h3>
2025-04-22 15:57:06 +08:00
</div>
<div class="w-px h-16 bg-secondary hidden md:block"></div>
<div class="w-full md:w-3/4">
2025-04-22 16:46:16 +08:00
<p class="text-gray-600 text-lg leading-relaxed">{{ $t(history.descriptionKey) }}</p>
2025-04-22 15:57:06 +08:00
</div>
</div>
</div>
</div>
</section>
<!-- 联系我们 -->
<section class="section bg-primary text-white">
<div class="container text-center">
2025-04-22 16:46:16 +08:00
<h2 class="text-4xl font-bold mb-6">{{ $t('about.contact.title') }}</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto leading-relaxed">{{ $t('about.contact.subtitle') }}</p>
2025-04-22 15:57:06 +08:00
<NuxtLink to="/contact" class="inline-flex items-center bg-white text-black px-8 py-4 rounded-lg hover:bg-gray-100 transition-colors duration-300 text-lg font-semibold">
2025-04-22 16:46:16 +08:00
{{ $t('about.contact.button') }}
2025-04-22 15:57:06 +08:00
<i class="fas fa-arrow-right ml-2"></i>
</NuxtLink>
</div>
</section>
</div>
</template>
<script setup lang="ts">
2025-04-22 16:46:16 +08:00
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
2025-04-22 15:57:06 +08:00
// 公司成就
const achievements = [
2025-04-22 16:46:16 +08:00
'about.achievements.item1',
'about.achievements.item2',
'about.achievements.item3'
2025-04-22 15:57:06 +08:00
];
// 优势数据
const advantages = [
{
2025-04-22 16:46:16 +08:00
icon: 'fas fa-certificate',
titleKey: 'about.advantages.certification.title',
descriptionKey: 'about.advantages.certification.description'
2025-04-22 15:57:06 +08:00
},
{
icon: 'fas fa-users',
2025-04-22 16:46:16 +08:00
titleKey: 'about.advantages.team.title',
descriptionKey: 'about.advantages.team.description'
2025-04-22 15:57:06 +08:00
},
{
2025-04-22 16:46:16 +08:00
icon: 'fas fa-code',
titleKey: 'about.advantages.technical.title',
descriptionKey: 'about.advantages.technical.description'
2025-04-22 15:57:06 +08:00
},
{
icon: 'fas fa-headset',
2025-04-22 16:46:16 +08:00
titleKey: 'about.advantages.service.title',
descriptionKey: 'about.advantages.service.description'
2025-04-22 15:57:06 +08:00
}
];
// 企业文化
const cultures = [
{
icon: 'fas fa-bullseye',
2025-04-22 16:46:16 +08:00
titleKey: 'about.culture.mission.title',
descriptionKey: 'about.culture.mission.description'
2025-04-22 15:57:06 +08:00
},
{
icon: 'fas fa-eye',
2025-04-22 16:46:16 +08:00
titleKey: 'about.culture.vision.title',
descriptionKey: 'about.culture.vision.description'
2025-04-22 15:57:06 +08:00
},
{
icon: 'fas fa-heart',
2025-04-22 16:46:16 +08:00
titleKey: 'about.culture.values.title',
descriptionKey: 'about.culture.values.description'
2025-04-22 15:57:06 +08:00
}
];
// 发展历程
const historyItems = [
{
2025-04-22 16:46:16 +08:00
yearKey: 'about.history.year2023.year',
descriptionKey: 'about.history.year2023.description'
2025-04-22 15:57:06 +08:00
},
{
2025-04-22 16:46:16 +08:00
yearKey: 'about.history.year2021.year',
descriptionKey: 'about.history.year2021.description'
2025-04-22 15:57:06 +08:00
},
{
2025-04-22 16:46:16 +08:00
yearKey: 'about.history.year2018.year',
descriptionKey: 'about.history.year2018.description'
2025-04-22 15:57:06 +08:00
}
];
</script>