beehive/app/components/landing/SERVICE_INTRODUCTION.vue
2025-10-23 09:13:46 +08:00

73 lines
2.2 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup>
import SmartApiaryCard from "~/components/landing/SmartApiaryCard.vue";
</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>
<div class="w-45 h-45">
<SmartApiaryCard
description="提供蜂群、蜂箱、蜂场环境等信息远程实时自动获取、统计分析和监测预警服务,实现智能化养殖,提高管理效率,节省成本。"
icon-src="/img/index/s1.svg"
link-url="/product/smart-farm"
title="智慧蜂场建设"
/>
</div>
</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>