343 lines
11 KiB
HTML
343 lines
11 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>环境监测分析</title>
|
||
<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">
|
||
<link rel="stylesheet" href="../../css/coreTable.css" />
|
||
<link rel="stylesheet" href="../../css/accessMge/accessMge.css">
|
||
<link rel="stylesheet" href="../../css/tipCommon.css">
|
||
<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>
|
||
|
||
<style>
|
||
#proQuality {
|
||
width: 100%;
|
||
height: 100%;
|
||
box-sizing: border-box;
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
/* 顶部日期筛选区域(与工程质量分析保持一致) */
|
||
.top-date-filter {
|
||
display: flex;
|
||
align-items: center;
|
||
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;
|
||
}
|
||
|
||
.date-filter-label {
|
||
font-size: 14px;
|
||
color: #FFFFFF;
|
||
font-weight: bold;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.date-range-wrapper {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.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);
|
||
border-radius: 2px;
|
||
color: #FFFFFF;
|
||
font-size: 14px;
|
||
transition: all 0.3s;
|
||
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);
|
||
}
|
||
|
||
.date-input {
|
||
width: 240px;
|
||
}
|
||
|
||
/* 主内容区域 - 使用3列2行网格 */
|
||
.main-content {
|
||
flex: 1;
|
||
width: 100%;
|
||
height: 0;
|
||
display: grid;
|
||
/* 3列:第一行3个等宽面板,第二行噪声占2列,空气质量占1列 */
|
||
grid-template-columns: repeat(3, 1fr);
|
||
/* 2行:第一行稍高,第二行稍低 */
|
||
grid-template-rows: 1.2fr 1fr;
|
||
gap: 1%;
|
||
min-height: 0;
|
||
padding: 6px;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.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;
|
||
}
|
||
|
||
.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;
|
||
}
|
||
|
||
.title-indicator {
|
||
width: 4px;
|
||
height: 18px;
|
||
background: linear-gradient(180deg, #1CFFA3 0%, #19CC8A 100%);
|
||
border-radius: 2px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.title-text {
|
||
flex: 1;
|
||
}
|
||
|
||
.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 {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
/* 表格样式 */
|
||
.alert-table-wrapper {
|
||
width: 100%;
|
||
height: 100%;
|
||
overflow: auto;
|
||
}
|
||
|
||
.alert-table {
|
||
width: 100%;
|
||
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);
|
||
}
|
||
</style>
|
||
|
||
</head>
|
||
|
||
<body>
|
||
<div id="proQuality">
|
||
<!-- 顶部日期筛选区域 -->
|
||
<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>
|
||
</div>
|
||
|
||
|
||
<!-- 主内容区域 -->
|
||
<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>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 风速 - 第一行中 -->
|
||
<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>
|
||
</div>
|
||
|
||
<!-- 环境预警 - 第一行右 -->
|
||
<div class="panel panel-alerts">
|
||
<div class="panel-title">
|
||
<span class="title-indicator"></span>
|
||
<span class="title-text">环境预警</span>
|
||
<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">
|
||
现场环境监测设备,检测环境数据,数据超过阅值,系统进行分析预警提醒。
|
||
</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>
|
||
</div>
|
||
|
||
<!-- 噪声 - 第二行左,占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>
|
||
</div>
|
||
|
||
<!-- 空气质量 - 第二行右,占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>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
<script src="../../js/pages/dataAnalysisOctober/environDetection.js" type="text/javascript"></script>
|
||
|
||
</html> |