2025-05-12 10:52:32 +08:00
|
|
|
<template>
|
|
|
|
<div style="width: 100%;">
|
|
|
|
<!-- Swiper 容器 -->
|
2025-05-15 18:35:29 +08:00
|
|
|
<div class="group_666" style="position: relative;height: 600px;">
|
2025-05-12 10:52:32 +08:00
|
|
|
<swiper class="swiper-container h-full" @swiper="onSwiperNews" v-bind="swiperOptionsNews">
|
|
|
|
<swiper-slide>
|
2025-05-16 18:17:04 +08:00
|
|
|
<img :src="`${cdnUrl}/img/customer/topnav.png`" style="width: 100%;">
|
2025-05-12 10:52:32 +08:00
|
|
|
</swiper-slide>
|
|
|
|
<swiper-slide>
|
2025-05-16 18:17:04 +08:00
|
|
|
<img :src="`${cdnUrl}/img/customer/topnav.png`" style="width: 100%;">
|
2025-05-12 10:52:32 +08:00
|
|
|
</swiper-slide>
|
|
|
|
</swiper>
|
|
|
|
</div>
|
|
|
|
<div class="box_11 flex-col bottom_imgss">
|
2025-05-15 18:35:29 +08:00
|
|
|
<div class="text-wrapper_10" style="margin-top: 70px;">
|
2025-05-12 10:52:32 +08:00
|
|
|
<span class="text_41">公司荣誉</span>
|
|
|
|
</div>
|
2025-05-15 18:35:29 +08:00
|
|
|
<div class="text-wrapper_11" style="margin-top: 20px;">
|
2025-05-12 10:52:32 +08:00
|
|
|
<span class="text_42">Company Honors </span>
|
|
|
|
</div>
|
2025-05-12 19:02:30 +08:00
|
|
|
|
2025-05-12 10:52:32 +08:00
|
|
|
<div class="boxgs flex-row flex-wrap">
|
|
|
|
|
2025-05-12 19:02:30 +08:00
|
|
|
<div class="box_con flex-col" v-for="(item, index) in lists" :key="index">
|
|
|
|
<div class="align-center" style="justify-content: center;margin-top: 10px;">
|
2025-05-16 18:17:04 +08:00
|
|
|
<img width="257px" height="169px" :src="`${cdnUrl}/img/customer/${index}.png`" alt="">
|
2025-05-12 10:52:32 +08:00
|
|
|
</div>
|
2025-05-12 19:02:30 +08:00
|
|
|
<div class="flex-col"
|
|
|
|
style="justify-content: center;margin-top: 10px;border-top: 1px solid #EEEEEE;">
|
2025-05-12 10:52:32 +08:00
|
|
|
<span class="text_tt">
|
2025-05-12 19:02:30 +08:00
|
|
|
{{ item.title }}
|
2025-05-12 10:52:32 +08:00
|
|
|
</span>
|
|
|
|
<span class="text_cc">
|
2025-05-12 19:02:30 +08:00
|
|
|
{{ item.value }}
|
2025-05-12 10:52:32 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { Swiper, SwiperSlide } from 'swiper/vue'
|
|
|
|
import { nextTick, ref } from 'vue'
|
|
|
|
import 'swiper/css'
|
2025-05-12 19:02:30 +08:00
|
|
|
import { Autoplay, Navigation, Pagination, Scrollbar, A11y, EffectCoverflow, EffectFade } from "swiper/modules";
|
2025-05-12 10:52:32 +08:00
|
|
|
import ScrollReveal from 'scrollreveal';
|
|
|
|
import { NNumberAnimation } from 'naive-ui'
|
2025-05-12 19:02:30 +08:00
|
|
|
let modules = [Autoplay, A11y, EffectCoverflow, EffectFade];
|
2025-05-12 10:52:32 +08:00
|
|
|
|
|
|
|
import "swiper/css";
|
|
|
|
import "swiper/css/navigation";
|
|
|
|
import "swiper/css/pagination";
|
|
|
|
import 'swiper/css/effect-coverflow';
|
|
|
|
import 'swiper/css/mousewheel'
|
|
|
|
import 'swiper/css/grid'
|
|
|
|
import 'swiper/css/effect-fade'
|
|
|
|
import 'swiper/css/autoplay'
|
|
|
|
import * as swiperAni from '@/assets/animate/animate.js'
|
|
|
|
import $api from '@/service/webRequest'
|
|
|
|
import { useI18n } from 'vue-i18n'
|
|
|
|
import { useStore } from '~/store'
|
|
|
|
const { locale } = useI18n()
|
2025-05-16 18:17:04 +08:00
|
|
|
const cdnUrl = useCdn()
|
2025-05-12 10:52:32 +08:00
|
|
|
let newsSwiper: any = null
|
|
|
|
const onSwiperNews = (swiper: any) => {
|
|
|
|
newsSwiper = swiper
|
|
|
|
}
|
|
|
|
const swiperOptionsNews = {
|
|
|
|
autoplay: {
|
|
|
|
delay: 5000,
|
|
|
|
disableOnInteraction: false,
|
|
|
|
},
|
|
|
|
direction: 'horizontal',
|
|
|
|
slidesPerView: 1,
|
|
|
|
speed: 500,
|
|
|
|
effect: 'fade',
|
|
|
|
loop: true,
|
2025-05-12 19:02:30 +08:00
|
|
|
modules: [EffectFade, Autoplay, Navigation],
|
2025-05-12 10:52:32 +08:00
|
|
|
navigation: {
|
|
|
|
nextEl: '#swipen_prev',
|
|
|
|
prevEl: '#swipen_next',
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
let vesSwiper: any = null
|
|
|
|
const onSwiperExp = (swiper: any) => {
|
|
|
|
vesSwiper = swiper
|
|
|
|
}
|
|
|
|
const swiper_exp = ref();
|
|
|
|
const lists = ref([
|
2025-05-12 19:02:30 +08:00
|
|
|
{ title: '扶贫助困情系家乡', value: '-洛阳市郑州商会-' },
|
|
|
|
{ title: '互联网技术服务合作单位', value: '-洛阳百艺建筑装饰-' },
|
|
|
|
{ title: '平安洛阳微信平台技术服务单位', value: '-洛阳市公安局-' },
|
|
|
|
{ title: '健康洛阳微信平台技术合作单位', value: '-河南科技大学第一附属医院-' },
|
|
|
|
{ title: '爱心捐助奉献奖', value: '-洛阳市郑州商会-' },
|
|
|
|
{ title: '精彩洛阳微信平台技术服务单位', value: '-洛阳市宣传部网信办-' },
|
|
|
|
{ title: '青年说短视频征集大赛', value: '-洛阳市公安局-' },
|
|
|
|
{ title: '青年说短视频征集大赛', value: '-河南科技大学第一附属医院-' }
|
2025-05-12 10:52:32 +08:00
|
|
|
]);
|
|
|
|
// 新闻数据
|
|
|
|
onMounted(() => {
|
|
|
|
nextTick(() => {
|
|
|
|
animate()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
const numberAnimationInstRef = ref()
|
|
|
|
const numberAnimationInstRefKH = ref()
|
|
|
|
const numberAnimationInstRefJS = ref()
|
|
|
|
const numberAnimationInstRefHY = ref()
|
|
|
|
const animate = () => {
|
|
|
|
|
|
|
|
const sr = ScrollReveal();
|
|
|
|
sr.reveal('.leftBox', {
|
|
|
|
origin: "left",
|
|
|
|
distance: "1000px",
|
|
|
|
duration: 1300,
|
|
|
|
delay: 100,
|
|
|
|
opacity: 0,
|
|
|
|
scale: 0.9,
|
|
|
|
reset: true,
|
|
|
|
mobile: true,
|
|
|
|
})
|
|
|
|
sr.reveal('.rightBox', {
|
|
|
|
origin: "right",
|
|
|
|
distance: "1000px",
|
|
|
|
duration: 1300,
|
|
|
|
delay: 100,
|
|
|
|
opacity: 0,
|
|
|
|
scale: 0.9,
|
|
|
|
reset: true,
|
|
|
|
mobile: true,
|
|
|
|
})
|
|
|
|
sr.reveal('.topBox', {
|
|
|
|
origin: "top",
|
|
|
|
distance: "1000px",
|
|
|
|
duration: 1300,
|
|
|
|
delay: 100,
|
|
|
|
opacity: 0,
|
|
|
|
scale: 0.9,
|
|
|
|
reset: true,
|
|
|
|
mobile: true,
|
|
|
|
})
|
|
|
|
sr.reveal('.bottomBox', {
|
|
|
|
origin: "bottom",
|
|
|
|
distance: "1000px",
|
|
|
|
duration: 1300,
|
|
|
|
delay: 100,
|
|
|
|
opacity: 0,
|
|
|
|
scale: 0.9,
|
|
|
|
reset: true,
|
|
|
|
mobile: true,
|
|
|
|
})
|
|
|
|
sr.reveal('.numberTopBox', {
|
|
|
|
origin: "top",
|
|
|
|
distance: "1000px",
|
|
|
|
duration: 1300,
|
|
|
|
delay: 100,
|
|
|
|
opacity: 0,
|
|
|
|
scale: 0.9,
|
|
|
|
reset: true,
|
|
|
|
mobile: true,
|
|
|
|
beforeReveal: function (el: any) {
|
|
|
|
numberAnimationInstRef.value.play()
|
|
|
|
numberAnimationInstRefKH.value.play()
|
|
|
|
numberAnimationInstRefJS.value.play()
|
|
|
|
numberAnimationInstRefHY.value.play()
|
|
|
|
},
|
|
|
|
})
|
|
|
|
sr.reveal('.topSj', {
|
|
|
|
origin: "bottom",
|
|
|
|
distance: "1000px",
|
|
|
|
duration: 1300,
|
|
|
|
delay: 5,
|
|
|
|
opacity: 0,
|
|
|
|
scale: 0.9,
|
|
|
|
reset: true,
|
|
|
|
mobile: true,
|
|
|
|
useDelay: 'always',
|
|
|
|
interval: 50,
|
|
|
|
})
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
@import "@/assets/animate/animate.min.css";
|
2025-05-16 18:17:04 +08:00
|
|
|
@import "@/assets/index.scss";
|
2025-05-12 10:52:32 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.group_666 .swiper-slide img {
|
2025-05-12 19:02:30 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 500px;
|
|
|
|
height: auto;
|
|
|
|
transition: 1s linear 2s;
|
|
|
|
transform: scale(1.1, 1.1);
|
2025-05-12 10:52:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.group_666 .swiper-slide-active img,
|
|
|
|
.swiper-slide-duplicate-active img {
|
2025-05-12 19:02:30 +08:00
|
|
|
transition: 6s linear;
|
|
|
|
transform: scale(1, 1);
|
2025-05-12 10:52:32 +08:00
|
|
|
}
|
2025-05-12 19:02:30 +08:00
|
|
|
|
|
|
|
.bottom_imgss {
|
2025-05-16 18:17:04 +08:00
|
|
|
background: var(--bg-s);
|
2025-05-15 18:35:29 +08:00
|
|
|
height: 837px;
|
2025-05-12 19:02:30 +08:00
|
|
|
background-size: 100%;
|
2025-05-12 10:52:32 +08:00
|
|
|
}
|
2025-05-12 19:02:30 +08:00
|
|
|
|
|
|
|
.boxgs {
|
|
|
|
width: 1300px;
|
|
|
|
margin: 0 auto;
|
2025-05-12 10:52:32 +08:00
|
|
|
margin-top: 30px;
|
2025-05-12 19:02:30 +08:00
|
|
|
|
|
|
|
.box_con {
|
|
|
|
margin: 20px;
|
2025-05-12 10:52:32 +08:00
|
|
|
background-color: #ffffff;
|
|
|
|
width: 277px;
|
|
|
|
height: 276px;
|
|
|
|
font-family: Microsoft YaHei UI-Regular;
|
2025-05-12 19:02:30 +08:00
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
.text_tt {
|
2025-05-12 10:52:32 +08:00
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 15px;
|
|
|
|
overflow-wrap: break-word;
|
2025-05-12 19:02:30 +08:00
|
|
|
color: #3D3D3D;
|
2025-05-12 10:52:32 +08:00
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 500;
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2025-05-12 19:02:30 +08:00
|
|
|
|
|
|
|
.text_cc {
|
2025-05-12 10:52:32 +08:00
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
height: 30px;
|
|
|
|
overflow-wrap: break-word;
|
2025-05-12 19:02:30 +08:00
|
|
|
color: #999999;
|
2025-05-12 10:52:32 +08:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|