ct/app/components/yuxi/Hardware.vue

186 lines
4.5 KiB
Vue
Raw Normal View History

2025-10-08 14:37:58 +08:00
<template>
<div class="container-fluid text-center mainitems hardware">
<div class="headtit" style="color: #fff;">联网智能硬件</div>
<div class="row">
<div class="col-xs-12 col-lg-8 col-lg-offset-2">
<!-- 智能锁 -->
<div class="hardware-conter">
<img class="img-responsive" src="/www.yuxiit.com/img/yuxiupdata/locker.png" alt="联网智能硬件">
<div class="col-xs-12 col-lg-8">
<span></span>
<i></i>
<p>N2搭载蓝牙4.0通讯技术以及充分利用这项技术配合物联锁App实现蓝牙秒连接秒解锁未来无需等待GPS+移动基站LBS多重精准定位蓝牙低功耗待机轨迹记录电子围栏延伸远程授权自动开锁支持应急开锁延伸支持短信远程修改相关参数</p>
</div>
</div>
<!-- 联网控制器 -->
<div class="hardware-conter" style="margin-top: 30px;">
<div class="col-xs-12 col-lg-8">
<span>联网控制器</span>
<i></i>
<p>通过改造传统传感器/PLC/变频器等实现快速联接无需部署新设备通过灵活部署快速形成各领域的物联网解决方案有效降低用户改造部署维护成本</p>
</div>
<img class="img-responsive" src="/www.yuxiit.com/img/yuxiupdata/koz.png" alt="联网智能硬件" style="float: right;">
</div>
</div>
</div>
<!-- 了解更多按钮 -->
<div class="m-btns" style="background: none">
<a href="/yuxi/Intelhardware">了解更多</a>
</div>
</div>
</template>
<script setup lang="ts">
// 组件逻辑
</script>
<style scoped>
.hardware {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 80px 0;
position: relative;
overflow: hidden;
}
.hardware::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
opacity: 0.3;
}
.headtit {
font-size: 2.5em;
color: #fff;
margin-bottom: 50px;
font-weight: bold;
position: relative;
z-index: 2;
}
.hardware-conter {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 40px;
position: relative;
z-index: 2;
}
.hardware-conter img {
max-width: 300px;
height: auto;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0,0,0,0.2);
transition: all 0.3s ease;
}
.hardware-conter img:hover {
transform: scale(1.05);
box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.hardware-conter span {
display: block;
font-size: 2em;
color: #fff;
font-weight: bold;
margin-bottom: 20px;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hardware-conter i {
display: block;
width: 60px;
height: 3px;
background: linear-gradient(90deg, #fff, #f0f0f0);
margin: 20px 0;
border-radius: 2px;
}
.hardware-conter p {
color: #fff;
font-size: 1.1em;
line-height: 1.8;
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
margin: 0;
}
.m-btns {
margin-top: 50px;
text-align: center;
position: relative;
z-index: 2;
}
.m-btns a {
display: inline-block;
padding: 15px 40px;
background: rgba(255,255,255,0.2);
color: #fff;
text-decoration: none;
border-radius: 30px;
font-weight: bold;
border: 2px solid rgba(255,255,255,0.3);
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.m-btns a:hover {
background: rgba(255,255,255,0.3);
border-color: rgba(255,255,255,0.5);
transform: translateY(-2px);
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
/* 响应式设计 */
@media (max-width: 1200px) {
.hardware-conter {
flex-direction: column;
text-align: center;
}
.hardware-conter img {
margin-bottom: 30px;
}
}
@media (max-width: 768px) {
.headtit {
font-size: 2em;
}
.hardware-conter span {
font-size: 1.5em;
}
.hardware-conter p {
font-size: 1em;
}
.hardware-conter img {
max-width: 250px;
}
}
/* 动画效果 */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}
.hardware-conter img {
animation: float 6s ease-in-out infinite;
}
.hardware-conter:nth-child(2) img {
animation-delay: 3s;
}
</style>