hb_zhgd_screen/pages/dataAnalysisOctober/environDetection.html

343 lines
11 KiB
HTML
Raw Normal View History

2025-10-16 18:13:19 +08:00
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2026-01-21 10:34:06 +08:00
<title>环境监测分析</title>
2025-10-16 18:13:19 +08:00
<link rel="stylesheet" href="../../css/font.css">
<link rel="stylesheet" href="../../plugin/layui-v2.9.7/layui/css/layui.css">
<link rel="stylesheet" href="../../css/dataAnalysis/dataAnalysis.css">
<link rel="stylesheet" href="../../css/shuiYin/shuiYin.css">
2026-01-21 10:34:06 +08:00
<link rel="stylesheet" href="../../css/coreTable.css" />
2025-10-16 18:13:19 +08:00
<link rel="stylesheet" href="../../css/accessMge/accessMge.css">
2026-01-26 15:51:06 +08:00
<link rel="stylesheet" href="../../css/tipCommon.css">
2025-10-16 18:13:19 +08:00
<script src="../../js/publics/sm4.js" type="text/javascript"></script>
<script src="../../js/publics/jquery-3.6.0.min.js" type="text/javascript"></script>
<script src="../../js/publics/public.js"></script>
<script src="../../plugin/scroll/jquery.nicescroll.min.js"></script>
<script src="../../js/publics/4.3.0/echarts.min.js"></script>
<script src="../../plugin/layui-v2.9.7/layui/layui.js"></script>
<script src="../../js/publics/aescbc.js"></script>
<script src="../../js/publics/sm3.js"></script>
<script src="../../api/commonRequest.js"></script>
2026-01-21 10:34:06 +08:00
<style>
2025-10-16 18:13:19 +08:00
#proQuality {
width: 100%;
height: 100%;
2026-01-24 14:23:35 +08:00
box-sizing: border-box;
2026-01-21 10:34:06 +08:00
overflow: hidden;
2026-01-24 14:23:35 +08:00
display: flex;
flex-direction: column;
2026-01-21 10:34:06 +08:00
}
2026-01-24 14:23:35 +08:00
/* 顶部日期筛选区域(与工程质量分析保持一致) */
.top-date-filter {
2025-10-16 18:13:19 +08:00
display: flex;
2026-01-21 10:34:06 +08:00
align-items: center;
2026-01-24 14:23:35 +08:00
gap: 10px;
padding: 4px 20px;
background: rgba(13, 34, 37, 0.8);
border-bottom: 1px solid rgba(6, 189, 221, 0.3);
flex-shrink: 0;
2025-10-16 18:13:19 +08:00
}
2026-01-24 14:23:35 +08:00
.date-filter-label {
2026-01-21 10:34:06 +08:00
font-size: 14px;
2026-01-24 14:23:35 +08:00
color: #FFFFFF;
font-weight: bold;
white-space: nowrap;
2025-10-16 18:13:19 +08:00
}
2025-10-18 15:55:58 +08:00
2026-01-24 14:23:35 +08:00
.date-range-wrapper {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
2025-10-16 18:13:19 +08:00
}
2025-10-18 15:55:58 +08:00
2026-01-24 14:23:35 +08:00
.search-input {
width: 160px;
height: 32px;
padding: 0 12px;
background: rgba(25, 62, 68, 0.6);
border: 1px solid rgba(6, 189, 221, 0.6);
2026-01-21 10:34:06 +08:00
border-radius: 2px;
2026-01-24 14:23:35 +08:00
color: #FFFFFF;
2026-01-21 10:34:06 +08:00
font-size: 14px;
transition: all 0.3s;
2026-01-24 14:23:35 +08:00
flex-shrink: 0;
}
.search-input:focus {
outline: none;
border-color: rgba(6, 189, 221, 1);
background: rgba(25, 62, 68, 0.8);
}
.search-input::placeholder {
color: rgba(255, 255, 255, 0.5);
2025-10-16 18:13:19 +08:00
}
2026-01-24 14:23:35 +08:00
.date-input {
width: 240px;
2025-10-16 18:13:19 +08:00
}
2025-10-18 15:55:58 +08:00
2026-01-21 10:34:06 +08:00
/* 主内容区域 - 使用3列2行网格 */
.main-content {
2026-01-24 14:23:35 +08:00
flex: 1;
2025-10-16 18:13:19 +08:00
width: 100%;
2026-01-24 14:23:35 +08:00
height: 0;
2026-01-21 10:34:06 +08:00
display: grid;
/* 3列第一行3个等宽面板第二行噪声占2列空气质量占1列 */
grid-template-columns: repeat(3, 1fr);
/* 2行第一行稍高第二行稍低 */
grid-template-rows: 1.2fr 1fr;
gap: 1%;
min-height: 0;
2026-01-24 14:23:35 +08:00
padding: 6px;
2026-01-21 10:34:06 +08:00
box-sizing: border-box;
2025-10-16 18:13:19 +08:00
}
2026-01-21 10:34:06 +08:00
.panel {
border: 1px solid rgba(0, 255, 255, 0.15);
box-shadow: 0 0 8px rgba(0, 255, 255, 0.15);
border-radius: 3px;
overflow: hidden;
position: relative;
background-image: url("../../img/dataAnalysisOctober/proQualityAnalysis/common_bg.png");
display: flex;
flex-direction: column;
2025-10-16 18:13:19 +08:00
}
2026-01-21 10:34:06 +08:00
.panel-title {
height: 40px;
display: flex;
align-items: center;
padding: 0 18px;
font-size: 16px;
color: #ffffff;
font-weight: bold;
gap: 8px;
flex-shrink: 0;
2025-10-16 18:13:19 +08:00
}
2026-01-21 10:34:06 +08:00
.title-indicator {
width: 4px;
height: 18px;
background: linear-gradient(180deg, #1CFFA3 0%, #19CC8A 100%);
border-radius: 2px;
flex-shrink: 0;
}
.title-text {
flex: 1;
2025-10-16 18:13:19 +08:00
}
2025-10-18 15:55:58 +08:00
2026-01-21 10:34:06 +08:00
.panel-title .info-icon {
margin-left: auto;
width: 16px;
height: 16px;
cursor: pointer;
opacity: 0.7;
font-size: 14px;
}
.panel-body {
flex: 1;
padding: 10px 12px 12px 12px;
box-sizing: border-box;
overflow: hidden;
min-height: 0;
}
/* 第一行3个等宽面板 */
.panel-temperature-humidity {
grid-column: 1 / 2;
grid-row: 1 / 2;
}
.panel-wind-speed {
grid-column: 2 / 3;
grid-row: 1 / 2;
}
.panel-alerts {
grid-column: 3 / 4;
grid-row: 1 / 2;
}
/* 第二行噪声占2列空气质量占1列 */
.panel-noise {
grid-column: 1 / 3;
grid-row: 2 / 3;
}
.panel-air-quality {
grid-column: 3 / 4;
grid-row: 2 / 3;
}
.chart-container {
2025-10-16 18:13:19 +08:00
width: 100%;
height: 100%;
}
2026-01-21 10:34:06 +08:00
/* 表格样式 */
.alert-table-wrapper {
2025-10-16 18:13:19 +08:00
width: 100%;
height: 100%;
2026-01-21 10:34:06 +08:00
overflow: auto;
2025-10-16 18:13:19 +08:00
}
2026-01-21 10:34:06 +08:00
.alert-table {
2025-10-16 18:13:19 +08:00
width: 100%;
2026-01-21 10:34:06 +08:00
border-collapse: collapse;
font-size: 13px;
color: #fff;
}
.alert-table thead {
background: rgba(0, 255, 255, 0.1);
position: sticky;
top: 0;
z-index: 10;
}
.alert-table th {
padding: 10px 8px;
text-align: center;
border: 1px solid rgba(0, 255, 255, 0.2);
font-weight: 500;
color: #00FEFC;
}
.alert-table td {
padding: 8px;
text-align: center;
border: 1px solid rgba(0, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.9);
}
.alert-table tbody tr:hover {
background: rgba(0, 255, 255, 0.05);
}
/* 滚动条样式 */
.alert-table-wrapper::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.alert-table-wrapper::-webkit-scrollbar-track {
background: rgba(13, 34, 37, 0.3);
border-radius: 3px;
}
.alert-table-wrapper::-webkit-scrollbar-thumb {
background: rgba(0, 255, 255, 0.3);
border-radius: 3px;
}
.alert-table-wrapper::-webkit-scrollbar-thumb:hover {
background: rgba(0, 255, 255, 0.5);
2025-10-16 18:13:19 +08:00
}
</style>
</head>
2025-10-18 15:55:58 +08:00
<body>
2026-01-21 10:34:06 +08:00
<div id="proQuality">
2026-01-24 14:23:35 +08:00
<!-- 顶部日期筛选区域 -->
<div class="top-date-filter">
<div class="date-filter-label">日期范围:</div>
<div class="date-range-wrapper">
<input type="text" id="dateRange" class="search-input date-input" placeholder="请选择日期范围" readonly>
</div>
2026-01-21 10:34:06 +08:00
</div>
2025-10-18 15:55:58 +08:00
2026-01-24 14:23:35 +08:00
2026-01-21 10:34:06 +08:00
<!-- 主内容区域 -->
<div class="main-content">
<!-- 温湿度 - 第一行左 -->
<div class="panel panel-temperature-humidity">
<div class="panel-title">
<span class="title-indicator"></span>
<span class="title-text">温湿度</span>
</div>
<div class="panel-body">
<div id="temperatureHumidityChart" class="chart-container"></div>
2025-10-18 15:55:58 +08:00
</div>
</div>
2026-01-21 10:34:06 +08:00
<!-- 风速 - 第一行中 -->
<div class="panel panel-wind-speed">
<div class="panel-title">
<span class="title-indicator"></span>
<span class="title-text">风速</span>
</div>
<div class="panel-body">
<div id="windSpeedChart" class="chart-container"></div>
</div>
2025-10-16 18:13:19 +08:00
</div>
2026-01-21 10:34:06 +08:00
<!-- 环境预警 - 第一行右 -->
<div class="panel panel-alerts">
<div class="panel-title">
<span class="title-indicator"></span>
<span class="title-text">环境预警</span>
2026-01-26 15:51:06 +08:00
<span class="info-icon">
<img src="../../img/dataAnalysisOctober/common_icon.png" alt=""
style="cursor: pointer; width: 20px; height: 20px;margin-right: 10px;margin-top: 5px;">
</span>
</div>
<div class="tooltip-box">
现场环境监测设备,检测环境数据,数据超过阅值,系统进行分析预警提醒。
2026-01-21 10:34:06 +08:00
</div>
<div class="panel-body">
<div class="alert-table-wrapper">
<table class="alert-table" id="alertTable">
<thead>
<tr>
<th>序号</th>
<th>预警类型</th>
<th>预警时间</th>
<th>预警内容</th>
</tr>
</thead>
<tbody id="alertTableBody">
<!-- 数据将通过JS动态填充 -->
</tbody>
</table>
</div>
</div>
2025-10-16 18:13:19 +08:00
</div>
2026-01-21 10:34:06 +08:00
<!-- 噪声 - 第二行左占2列 -->
<div class="panel panel-noise">
<div class="panel-title">
<span class="title-indicator"></span>
<span class="title-text">噪声</span>
</div>
<div class="panel-body">
<div id="noiseChart" class="chart-container"></div>
</div>
2025-10-16 18:13:19 +08:00
</div>
2026-01-21 10:34:06 +08:00
<!-- 空气质量 - 第二行右占1列 -->
<div class="panel panel-air-quality">
<div class="panel-title">
<span class="title-indicator"></span>
<span class="title-text">空气质量</span>
</div>
<div class="panel-body">
<div id="airQualityChart" class="chart-container"></div>
</div>
2025-10-16 18:13:19 +08:00
</div>
</div>
</div>
</body>
<script src="../../js/pages/dataAnalysisOctober/environDetection.js" type="text/javascript"></script>
2026-01-21 10:34:06 +08:00
</html>