naweigete-web/pages/index_about.vue

234 lines
7.5 KiB
Vue
Raw Normal View History

2025-03-13 17:37:54 +08:00
<template>
<div class="bg-white">
<!-- Banner section with background image -->
2025-03-14 15:53:35 +08:00
<div class="aboutimgBg h-[300px] md:h-[600px]" :style="{
2025-03-13 17:37:54 +08:00
backgroundColor: '#fff',
2025-03-19 18:01:04 +08:00
backgroundImage: `url(${bgImage4})`,
2025-03-13 17:37:54 +08:00
backgroundPosition: 'center center',
backgroundRepeat: 'no-repeat',
backgroundSize: 'cover',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
}">
<div class="banDes">
<div class="aboutTit text-center">
2025-03-19 18:01:04 +08:00
<h2 class="font-semibold animated fadeInLeft text-2xl md:text-4xl">{{ locale=='zh'?info.about_title:info.en_about_title }}</h2>
2025-03-13 17:37:54 +08:00
</div>
</div>
</div>
<!-- Main content section -->
2025-03-14 15:53:35 +08:00
<div class="mainBg py-6 md:py-12 z-10 relative min-h-[80vh] md:min-h-[110vh]">
2025-03-13 17:37:54 +08:00
<div class="oneBox1Bg">
<div class="container mx-auto px-4">
2025-03-14 15:53:35 +08:00
<div class="oneBox1 text-center mt-[-50px] md:mt-[-100px]">
<h3 class="text-lg md:text-2xl text-[#606060] h-auto md:h-[144px] animated fadeInUp px-4">{{ $t('about_a1') }}</h3>
2025-03-13 17:37:54 +08:00
</div>
2025-03-14 15:53:35 +08:00
<div class="oneBox1Bg1 w-full md:w-[1240px] mt-12 md:mt-[150px]">
<h2 class="text-2xl md:text-3xl font-bold text-center text-[#E2E2E2] mb-4 md:mb-6 animated fadeInUp">{{ $t('about_a2') }}</h2>
<div class="oneBox1Bg1xiah w-16 md:w-24 h-[2px] bg-[#E2E2E2] mx-auto mb-8 md:mb-12"></div>
2025-03-13 17:37:54 +08:00
<!-- Three column section -->
2025-03-14 15:53:35 +08:00
<div class="oneBox1Bg1img flex flex-col md:flex-row justify-center items-center flex-wrap gap-8 mb-10 md:mb-16 mt-6 md:mt-10">
2025-03-13 17:37:54 +08:00
<div class="flex flex-col items-center animated fadeInUp">
2025-03-14 15:53:35 +08:00
<img class="w-[120px] h-[120px] md:w-[150px] md:h-[150px] object-cover mb-4" src="/images/group53.png">
2025-03-13 17:37:54 +08:00
<div class="oneBox1Bg1imgt">
2025-04-08 09:08:12 +08:00
<h3 class="text-xl md:text-2xl font-medium text-[#333]">{{ $t('about_a3') }}</h3>
2025-03-13 17:37:54 +08:00
</div>
</div>
2025-03-14 15:53:35 +08:00
<span class="oneBox1Bg1img1span h-px w-40 md:h-40 md:w-px bg-[#ddd] my-6 md:my-0 block md:hidden"></span>
2025-03-13 17:37:54 +08:00
<div class="flex flex-col items-center animated fadeInUp">
2025-03-14 15:53:35 +08:00
<img class="w-[120px] h-[120px] md:w-[150px] md:h-[150px] object-cover mb-4" src="/images/group52.png">
2025-03-13 17:37:54 +08:00
<div class="oneBox1Bg1imgt">
2025-03-14 15:53:35 +08:00
<h3 class="text-xl md:text-2xl font-medium text-[#333]">{{ $t('about_a4') }}</h3>
2025-03-13 17:37:54 +08:00
</div>
</div>
2025-03-14 15:53:35 +08:00
<span class="oneBox1Bg1img1span h-px w-40 md:h-40 md:w-px bg-[#ddd] my-6 md:my-0 block md:hidden"></span>
2025-03-13 17:37:54 +08:00
<div class="flex flex-col items-center animated fadeInUp">
2025-03-14 15:53:35 +08:00
<img class="w-[120px] h-[120px] md:w-[150px] md:h-[150px] object-cover mb-4" src="/images/group51.png">
2025-03-13 17:37:54 +08:00
<div class="oneBox1Bg1imgt">
2025-03-14 15:53:35 +08:00
<h3 class="text-xl md:text-2xl font-medium text-[#333]">{{ $t('about_a5') }}</h3>
2025-03-13 17:37:54 +08:00
</div>
</div>
</div>
2025-03-14 15:53:35 +08:00
<div class="oneBox1Bg1h text-center mb-4 md:mb-6 animated fadeInUp px-4">
<h3 class="text-lg md:text-2xl text-[#606060]">{{ $t('about_a6') }}</h3>
2025-03-13 17:37:54 +08:00
</div>
2025-03-14 15:53:35 +08:00
<div class="oneBox1Bg1xiah1 w-full md:w-[1240px] mx-auto md:mx-[-61px]"></div>
2025-03-13 17:37:54 +08:00
</div>
</div>
</div>
</div>
<!-- Second banner section with background image -->
2025-03-14 15:53:35 +08:00
<div class="aboutimgBg1 text-center py-8 md:py-16 h-auto min-h-[400px] md:h-[700px]" :style="{
2025-03-19 18:01:04 +08:00
backgroundImage: `url(${bgImage5})`,
2025-03-13 17:37:54 +08:00
backgroundPosition: 'center center',
backgroundRepeat: 'no-repeat',
backgroundSize: 'cover',
2025-03-14 15:53:35 +08:00
color: 'white'
2025-03-13 17:37:54 +08:00
}">
<div class="aboutTit2 container mx-auto px-4">
2025-03-14 15:53:35 +08:00
<div class="text-[#000] text-xl md:text-3xl animated fadeInLeft">{{ $t('about_a7') }}</div>
<div class="oneBox1Bg1xiah2 w-20 md:w-[100px] h-[2px] bg-[#606060] mx-auto my-4 md:my-8 animated fadeInLeft"></div>
<div class="oneBox1Bg2h max-w-1xl mt-8 md:mt-[100px]">
<h3 class="text-[#606060] text-base md:text-[24px] leading-relaxed animated fadeInLeft px-4">{{ $t('about_a8') }}</h3>
2025-03-13 17:37:54 +08:00
</div>
</div>
</div>
</div>
</template>
<script lang="ts" setup>
import { onMounted } from 'vue'
2025-03-19 18:01:04 +08:00
import bgImage4 from '../public/images/group195.png'
import bgImage5 from '../public/images/maskgroup1.png'
import $api from '@/service/webRequest'
import { useStore } from '~/store'
import { useI18n } from 'vue-i18n'
const { locale } = useI18n()
2025-03-13 17:37:54 +08:00
onMounted(() => {
2025-03-19 18:01:04 +08:00
getInfo();
2025-03-13 17:37:54 +08:00
})
2025-03-19 18:01:04 +08:00
const info=ref({});
const getInfo=()=>{
$api.get("/api/sys_config?name=about_us")
.then((res: any) => {
console.log(res)
info.value = res.data.data.config
})
.catch((err) => {
console.dir(err)
})
}
2025-03-13 17:37:54 +08:00
</script>
<style lang="scss" scoped>
@import "@/assets/animate/animate.min.css";
.aboutimgBg,
.aboutimgBg1 {
position: relative;
}
.container {
2025-03-14 15:53:35 +08:00
max-width: 100%;
@media (min-width: 768px) {
max-width: 1310px;
}
2025-03-13 17:37:54 +08:00
}
.aboutTit h2::after {
content: '';
2025-04-08 09:08:12 +08:00
margin-top: -15px;
2025-03-14 15:53:35 +08:00
width: 100%;
height: 20px;
@media (min-width: 768px) {
2025-04-08 09:08:12 +08:00
margin-top: -25px;
width: 450px;
2025-03-14 15:53:35 +08:00
height: 34px;
}
2025-03-13 17:37:54 +08:00
background: #A8CBFF;
display: block;
}
.oneBox1Bg1 {
2025-03-14 15:53:35 +08:00
height: auto;
width: 100%;
margin-top: 50px;
@media (min-width: 768px) {
height: 500px;
width: 1240px;
margin-top: 150px;
}
2025-03-13 17:37:54 +08:00
}
.oneBox1Bg1 h2 {
font-weight: 500;
text-align: center;
2025-03-14 15:53:35 +08:00
height: auto;
font-size: 24px;
@media (min-width: 768px) {
height: 51px;
font-size: 34px;
}
2025-03-13 17:37:54 +08:00
color: #000000;
2025-03-14 15:53:35 +08:00
line-height: 1.2;
@media (min-width: 768px) {
line-height: 40px;
}
2025-03-13 17:37:54 +08:00
}
.oneBox1Bg1xiah {
margin: 0 auto;
width: 100%;
}
.oneBox1Bg1img1span {
2025-03-14 15:53:35 +08:00
margin-left: 100px;
margin-right: 100px;
@media (min-width: 768px) {
border-right: 2px solid #E2E2E2;
display: inline-block;
height: 240px;
margin-top: -5px;
}
2025-03-13 17:37:54 +08:00
}
.oneBox1Bg1imgt {
font-weight: 500;
2025-03-14 15:53:35 +08:00
font-size: 20px;
@media (min-width: 768px) {
font-size: 24px;
}
2025-03-13 17:37:54 +08:00
color: #1C1C1C;
2025-03-14 15:53:35 +08:00
line-height: 24px;
@media (min-width: 768px) {
line-height: 28px;
}
2025-03-13 17:37:54 +08:00
text-align: center;
2025-03-14 15:53:35 +08:00
margin-top: 20px;
@media (min-width: 768px) {
margin-top: 31px;
}
2025-03-13 17:37:54 +08:00
}
.oneBox1Bg1imgt h3::after {
content: '';
2025-03-19 18:01:04 +08:00
margin: 0 auto;
2025-03-14 15:53:35 +08:00
width: 40px;
height: 12px;
@media (min-width: 768px) {
margin-top: -11px;
width: 60px;
height: 16px;
}
2025-03-13 17:37:54 +08:00
background: #A8CBFF;
display: block;
2025-03-19 18:01:04 +08:00
margin-top: -8px;
2025-03-13 17:37:54 +08:00
}
.oneBox1Bg1h {
2025-03-14 15:53:35 +08:00
padding-top: 30px;
@media (min-width: 768px) {
padding-top: 53px;
}
2025-03-13 17:37:54 +08:00
text-align: center;
}
.oneBox1Bg1xiah1 {
border-top: 2px solid #E2E2E2;
2025-03-14 15:53:35 +08:00
width: 100%;
margin-top: 30px;
@media (min-width: 768px) {
margin-left: -61px;
width: 1240px;
margin-top: 55px;
}
2025-03-13 17:37:54 +08:00
}
</style>