lup199's picture
能用HTML格式写一段:适合农业科技网站需要的背景动画么?需要表现的绿色 科技 智能 网络。 - Initial Deployment
b4acfdf verified
Raw History Blame Contribute Delete
7.81 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AgriTech Innovations</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<style>
.hero-section {
height: 100vh;
position: relative;
color: white;
}
.content-overlay {
position: relative;
z-index: 10;
}
.tech-icon {
background: rgba(255,255,255,0.15);
backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.2);
}
.leaf-pattern {
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2334d399' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
</style>
</head>
<body class="bg-gray-50 overflow-x-hidden">
<!-- Animated Background Section -->
<div id="animated-bg" class="hero-section flex items-center justify-center leaf-pattern">
<div class="content-overlay text-center px-6">
<h1 class="text-5xl md:text-7xl font-bold mb-6 text-white drop-shadow-lg" data-aos="fade-down">
<span class="text-green-300">智能</span>农业科技
</h1>
<p class="text-xl md:text-2xl mb-10 max-w-3xl mx-auto text-green-100" data-aos="fade-up" data-aos-delay="200">
连接自然与数字技术,打造可持续农业未来
</p>
<div class="flex flex-wrap justify-center gap-6" data-aos="fade-up" data-aos-delay="400">
<div class="tech-icon p-5 rounded-xl flex flex-col items-center">
<i data-feather="cpu" class="w-12 h-12 text-green-300"></i>
<span class="mt-3 font-medium">智能监测</span>
</div>
<div class="tech-icon p-5 rounded-xl flex flex-col items-center">
<i data-feather="wifi" class="w-12 h-12 text-green-300"></i>
<span class="mt-3 font-medium">物联网</span>
</div>
<div class="tech-icon p-5 rounded-xl flex flex-col items-center">
<i data-feather="database" class="w-12 h-12 text-green-300"></i>
<span class="mt-3 font-medium">大数据</span>
</div>
<div class="tech-icon p-5 rounded-xl flex flex-col items-center">
<i data-feather="wind" class="w-12 h-12 text-green-300"></i>
<span class="mt-3 font-medium">可持续</span>
</div>
</div>
</div>
</div>
<!-- Content Section -->
<div class="py-20 px-6 max-w-7xl mx-auto">
<div class="grid md:grid-cols-2 gap-16 items-center">
<div data-aos="fade-right">
<h2 class="text-4xl font-bold mb-6 text-green-800">农业科技网络</h2>
<p class="text-lg text-gray-700 mb-8">
我们的智能农业平台整合了最先进的传感器网络、人工智能分析和区块链技术,为现代农业提供全方位的数字化解决方案。
</p>
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-green-100 p-2 rounded-full mr-4">
<i data-feather="check-circle" class="w-6 h-6 text-green-600"></i>
</div>
<p class="text-gray-700">实时作物健康监测与分析</p>
</div>
<div class="flex items-start">
<div class="bg-green-100 p-2 rounded-full mr-4">
<i data-feather="check-circle" class="w-6 h-6 text-green-600"></i>
</div>
<p class="text-gray-700">精准灌溉与施肥控制系统</p>
</div>
<div class="flex items-start">
<div class="bg-green-100 p-2 rounded-full mr-4">
<i data-feather="check-circle" class="w-6 h-6 text-green-600"></i>
</div>
<p class="text-gray-700">农产品溯源与供应链管理</p>
</div>
</div>
</div>
<div data-aos="fade-left">
<img src="http://static.photos/agriculture/1024x576/5" alt="Smart Farming" class="rounded-xl shadow-2xl border-8 border-white">
</div>
</div>
</div>
<!-- Tech Features Section -->
<div class="py-20 bg-green-50">
<div class="max-w-7xl mx-auto px-6">
<h2 class="text-4xl font-bold mb-16 text-center text-green-800" data-aos="fade-up">核心技术特点</h2>
<div class="grid md:grid-cols-3 gap-10">
<div class="bg-white p-8 rounded-xl shadow-lg" data-aos="flip-up">
<div class="bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
<i data-feather="globe" class="w-8 h-8 text-green-600"></i>
</div>
<h3 class="text-xl font-bold mb-4 text-green-700">全球连接</h3>
<p class="text-gray-600">通过卫星和地面传感器网络,实现全球农田的实时监控和数据采集。</p>
</div>
<div class="bg-white p-8 rounded-xl shadow-lg" data-aos="flip-up" data-aos-delay="200">
<div class="bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
<i data-feather="activity" class="w-8 h-8 text-green-600"></i>
</div>
<h3 class="text-xl font-bold mb-4 text-green-700">智能预测</h3>
<p class="text-gray-600">利用机器学习算法预测病虫害爆发和最佳收获时间。</p>
</div>
<div class="bg-white p-8 rounded-xl shadow-lg" data-aos="flip-up" data-aos-delay="400">
<div class="bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
<i data-feather="shield" class="w-8 h-8 text-green-600"></i>
</div>
<h3 class="text-xl font-bold mb-4 text-green-700">安全可靠</h3>
<p class="text-gray-600">区块链技术确保农业数据不可篡改,保障食品安全溯源。</p>
</div>
</div>
</div>
</div>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
// Initialize animated background
VANTA.NET({
el: "#animated-bg",
color: 0x4ade80,
backgroundColor: 0x065f46,
points: 12,
maxDistance: 20,
spacing: 15,
showDots: false
});
// Initialize animations
AOS.init({
duration: 800,
once: true
});
// Replace icons
feather.replace();
</script>
</body>
</html>