beehive/app/components/landing/SERVICE_INTRODUCTION.vue

120 lines
3.9 KiB
Vue
Raw Normal View History

2025-10-22 18:02:38 +08:00
<script setup>
import SmartApiaryCard from "~/components/landing/SmartApiaryCard.vue";
2025-10-23 09:40:28 +08:00
const services = [
{
title: "智慧蜂场建设",
description: "提供蜂群、蜂箱、蜂场环境等信息远程实时自动获取、统计分析和监测预警服务,实现智能化养殖,提高管理效率,节省成本。",
iconSrc: "/img/index/s1.svg",
linkUrl: "/product/smart-farm"
},
{
title: "蜂产品质量追溯",
description: "建立完整的蜂产品质量追溯体系,从源头到终端全程可追溯,确保产品质量安全可靠。",
iconSrc: "/img/index/s2.svg",
linkUrl: "/product/quality-trace"
},
{
title: "智能蜂箱管理",
description: "采用物联网技术实时监控蜂箱状态,智能调节温湿度,提高蜜蜂养殖效率和生存率。",
iconSrc: "/img/index/s3.svg",
linkUrl: "/product/smart-hive"
},
{
title: "蜂业知识服务",
description: "提供专业的蜂业知识库和技术指导,帮助养殖户科学养殖,提升技术水平。",
iconSrc: "/img/index/s4.svg",
linkUrl: "/product/knowledge"
},
{
title: "蜂产业大数据",
description: "基于大数据分析的蜂产业监测预警系统,为产业发展提供数据支撑和决策依据。",
iconSrc: "/img/index/s5.svg",
linkUrl: "/product/big-data"
},
{
title: "无人机巡检",
description: "利用无人机技术进行蜂场巡检,高效监测蜂群状态和环境变化,降低人工成本。",
iconSrc: "/img/index/s6.svg",
linkUrl: "/product/drone-inspection"
}
]
2025-10-22 17:43:13 +08:00
</script>
<template>
<!-- 外层容器设置为全屏 -->
<div class="hero-fullscreen">
<UPageHero
:ui="{
title: 'text-white text-2xl font-bold',
headline: 'text-white/90 text-sm uppercase tracking-widest',
description: 'text-white/80 text-base leading-relaxed'
}"
description="以提升蜂产业标准化和自动化水平为目标综合应用物联网视频巡航深度学习3S技术无人机无线通讯等信息技术手段开展蜂业
生产安全产业链智能管控技术研究研制了智能蜂场蜂产品质量追溯智能蜂箱蜂业知识服务蜂产业大数据等系列软硬产品携手共建智能化生态化无人化的现代蜂业经营管理模式"
headline="SERVICE INTRODUCTION"
title="服务简介"
>
<!-- 图片作为背景非内容 -->
</UPageHero>
2025-10-22 18:02:38 +08:00
2025-10-23 09:40:28 +08:00
<!-- 服务卡片网格布局 -->
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 gap-6 lg:px-50">
<!-- 外层控制大小的容器 -->
<div
v-for="(service, index) in services"
:key="index"
class="w-45 aspect-square justify-center align-center"
>
<SmartApiaryCard
:description="service.description"
:icon-src="service.iconSrc"
:link-url="service.linkUrl"
:title="service.title"
/>
</div>
2025-10-23 09:13:46 +08:00
</div>
2025-10-22 18:02:38 +08:00
2025-10-22 17:43:13 +08:00
</div>
</template>
<style scoped>
/* 深度选择器确保样式穿透 */
:deep(.u-page-hero .title),
:deep(.u-page-hero .headline),
:deep(.u-page-hero .description) {
color: white !important;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* 可选:增加文字阴影提升可读性 */
}
/* 关键CSS */
.hero-fullscreen {
position: relative;
width: 100vw;
height: 100vh;
overflow: hidden;
}
.hero-fullscreen::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('/img/index/service.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
z-index: -1; /* 确保内容在前景 */
}
/* 适配UPageHero内部样式 */
.hero-fullscreen :deep(.u-page-hero) {
background-color: transparent; /* 移除组件默认背景 */
height: 100%;
}
</style>