调整了多个页面的样式,包括间距、字体大小、背景颜色等,以优化布局和响应式设计。具体修改包括: - 调整了 `.box_1` 在移动设备下的高度。 - 修改了 `.bottom_imgss` 的背景颜色。 - 在 `AppFooter` 组件中添加了分隔线并调整了背景颜色。 - 优化了 `phone_index.vue` 中的边距和高度设置。 - 在 `phone_concatUs.vue` 中调整了 padding 和背景颜色。 - 在 `phone_info/[id].vue` 中优化了标题和内容的边距。 - 在 `phone_societyDuty.vue` 和 `phone_societyDutyNew.vue` 中添加了顶部导航栏和分隔线。 - 在 `phone_aboutUs.vue` 中调整了文本对齐方式和边距。 - 在 `phone_proServices_con.vue` 和 `phone_proServices.vue` 中优化了布局和样式。 这些修改旨在提升用户体验和界面一致性。
186 lines
4.8 KiB
Vue
186 lines
4.8 KiB
Vue
<template>
|
|
<div style="width: 100%;">
|
|
<!-- Swiper 容器 -->
|
|
<div class="group_666" style="position: relative;height: 250px;">
|
|
<swiper class="swiper-container h-full" @swiper="onSwiperNews" v-bind="swiperOptionsNews">
|
|
<swiper-slide>
|
|
<img :src="`${cdnUrl}/img/customer/topnav.png`" style="width: 100%;height: 100%;object-fit: cover;">
|
|
</swiper-slide>
|
|
<swiper-slide>
|
|
<img :src="`${cdnUrl}/img/customer/topnav.png`" style="width: 100%;height: 100%;object-fit: cover;">
|
|
</swiper-slide>
|
|
</swiper>
|
|
</div>
|
|
<div class="box_11 flex-col bottom_imgss">
|
|
<div class="text-wrapper_10" style="margin-top: 30px;">
|
|
<span class="text_41">公司荣誉</span>
|
|
</div>
|
|
<div class="text-wrapper_11" style="margin-top: 20px;width: 100%;text-align: center;">
|
|
<span style="color: rgb(118, 133, 151);font-size: 16px;">Company Honors </span>
|
|
</div>
|
|
|
|
<div class="boxgs flex-row flex-wrap">
|
|
<div class="box_con flex-col leftBox" v-for="(item, index) in lists" :key="index">
|
|
<div class="align-center" style="justify-content: center;padding: 10px;">
|
|
<img :src="`${cdnUrl}/img/customer/${index}.png`" alt="">
|
|
</div>
|
|
<div class="flex-col"
|
|
style="justify-content: center;border-top: 1px solid #EEEEEE;padding-bottom: 10px;">
|
|
<span class="text_tt">
|
|
{{ item.title }}
|
|
</span>
|
|
<span class="text_cc">
|
|
{{ item.value }}
|
|
</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'
|
|
import { Autoplay, Navigation, Pagination, Scrollbar, A11y, EffectCoverflow, EffectFade } from "swiper/modules";
|
|
import ScrollReveal from 'scrollreveal';
|
|
import { NNumberAnimation } from 'naive-ui'
|
|
let modules = [Autoplay, A11y, EffectCoverflow, EffectFade];
|
|
|
|
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()
|
|
const cdnUrl = useCdn()
|
|
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,
|
|
modules: [EffectFade, Autoplay, Navigation],
|
|
navigation: {
|
|
nextEl: '#swipen_prev',
|
|
prevEl: '#swipen_next',
|
|
},
|
|
}
|
|
|
|
const lists = ref([
|
|
{ title: '扶贫助困情系家乡', value: '-洛阳市郑州商会-' },
|
|
{ title: '互联网技术服务合作单位', value: '-洛阳百艺建筑装饰-' },
|
|
{ title: '平安洛阳微信平台技术服务单位', value: '-洛阳市公安局-' },
|
|
{ title: '健康洛阳微信平台技术合作单位', value: '-河南科技大学第一附属医院-' },
|
|
{ title: '爱心捐助奉献奖', value: '-洛阳市郑州商会-' },
|
|
{ title: '精彩洛阳微信平台技术服务单位', value: '-洛阳市宣传部网信办-' },
|
|
{ title: '青年说短视频征集大赛', value: '-洛阳市公安局-' },
|
|
{ title: '青年说短视频征集大赛', value: '-河南科技大学第一附属医院-' }
|
|
]);
|
|
// 新闻数据
|
|
onMounted(() => {
|
|
nextTick(() => {
|
|
animate()
|
|
})
|
|
})
|
|
const animate = () => {
|
|
|
|
const sr = ScrollReveal();
|
|
sr.reveal('.leftBox', {
|
|
origin: "left",
|
|
distance: "1000px",
|
|
duration: 500,
|
|
delay: 100,
|
|
opacity: 0,
|
|
scale: 0.9,
|
|
reset: true,
|
|
mobile: true,
|
|
})
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
@import "@/assets/animate/animate.min.css";
|
|
@import "@/assets/index.scss";
|
|
|
|
|
|
|
|
.group_666 .swiper-slide img {
|
|
width: 100%;
|
|
height: 500px;
|
|
height: auto;
|
|
transition: 1s linear 2s;
|
|
transform: scale(1.1, 1.1);
|
|
}
|
|
|
|
.group_666 .swiper-slide-active img,
|
|
.swiper-slide-duplicate-active img {
|
|
transition: 6s linear;
|
|
transform: scale(1, 1);
|
|
}
|
|
|
|
.bottom_imgss {
|
|
background: #f7f7f7;
|
|
background-repeat:no-repeat;
|
|
height: auto;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.boxgs {
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
justify-content: center;
|
|
.box_con {
|
|
margin:20px 20px 0px 20px;
|
|
background-color: #ffffff;
|
|
width: 100%;
|
|
height: 320px;
|
|
font-family: Microsoft YaHei UI-Regular;
|
|
border-radius: 4px;
|
|
|
|
.text_tt {
|
|
display: inline-block;
|
|
width: 100%;
|
|
margin-top: 15px;
|
|
overflow-wrap: break-word;
|
|
color: #3D3D3D;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.text_cc {
|
|
display: inline-block;
|
|
width: 100%;
|
|
height: 30px;
|
|
overflow-wrap: break-word;
|
|
color: #999999;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
line-height: 30px;
|
|
}
|
|
}
|
|
img{
|
|
width: 100%;
|
|
}
|
|
}
|
|
</style>
|