#scrollbox-lqs {
all: initial;
font-family: "Poppins", "微软雅黑", sans-serif;
color: #fff;
display: block;
width: 100%;
height: 100vh;
overflow: hidden;
}
#scrollbox-lqs .lqs-scroll {
overflow-y: auto;
height: 100vh;
scroll-snap-type: y mandatory;
scroll-behavior: smooth;
}
#scrollbox-lqs section {
scroll-snap-align: start;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
position: relative;
padding: 2rem;
box-sizing: border-box;
background: #000;
}
#scrollbox-lqs h1,
#scrollbox-lqs h2 {
margin: 0 0 1rem;
text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
#scrollbox-lqs h1 {
font-size: 3rem;
background: linear-gradient(45deg, #00b4d8, #90e0ef);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
#scrollbox-lqs h2 {
font-size: 2rem;
color: #90e0ef;
}
#scrollbox-lqs p {
font-size: 1.1rem;
line-height: 1.6;
max-width: 600px;
margin: 0 auto;
opacity: 0.85;
}
#scrollbox-lqs .lqs-bg {
position: absolute;
inset: 0;
z-index: -1;
background-size: cover;
background-position: center;
filter: brightness(0.45) blur(3px);
transition: opacity 1s ease-in-out;
}
#scrollbox-lqs .fade {
opacity: 0;
transform: translateY(40px);
transition: all 0.8s ease-out;
}
#scrollbox-lqs .fade.show {
opacity: 1;
transform: translateY(0);
}
@media (max-width: 768px) {
#scrollbox-lqs h1 { font-size: 2.1rem; }
#scrollbox-lqs h2 { font-size: 1.4rem; }
#scrollbox-lqs p { font-size: 1rem; }
}
(() => {
const sections = document.querySelectorAll("#scrollbox-lqs .fade");
const observer = new IntersectionObserver(
(entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.classList.add("show");
}
});
},
{ threshold: 0.2 }
);
sections.forEach((sec) => observer.observe(sec));
})();
雷电预警装置
融合多传感器数据,打造便携式智慧气象预警系统。
核心逻辑
AS3935 精确探测雷电距离,气压传感器提供趋势判断,ESP32 计算并发出多级预警。
功能模块
⚡ 雷电监测
🌧 气压变化
🔔 声光报警
📡 LoRa 通信
🧲 磁吸防水设计
未来方向
结合 AI 模型与云端数据预测,实现自学习型雷电与降雨预警。
Comments NOTHING