-
}
+
+
+
+
+ 液位历史趋势
+
+
+
+
-
diff --git a/src/pages/business_basic/components/second_datamodel_components/HistoryTrend.less b/src/pages/business_basic/components/second_datamodel_components/HistoryTrend.less
index 123b70e..3964c1f 100644
--- a/src/pages/business_basic/components/second_datamodel_components/HistoryTrend.less
+++ b/src/pages/business_basic/components/second_datamodel_components/HistoryTrend.less
@@ -23,6 +23,7 @@
box-shadow: 0 4px 20px rgba(21, 32, 66, 0.04);
display: flex;
flex-direction: column;
+ gap: 16px;
}
.blockHeader {
@@ -44,15 +45,6 @@
font-weight: 500;
color: #333333;
}
-
- .headerAction {
- margin-left: auto;
-
- :global(&.ant-btn-sm) {
- height: 28px !important;
- line-height: 28px;
- }
- }
}
.filters {
@@ -149,23 +141,56 @@
}
}
- .tableWrapper {
- flex: 1;
+ .trendCard {
+ background: #fff;
+ border-radius: 10px;
+ border: 1px solid #e0eeea;
+ padding: 12px 12px 16px;
+ box-shadow: 0 6px 16px rgba(12, 49, 41, 0.06);
+ display: flex;
+ flex-direction: column;
+ gap: 12px;
+ }
- :global {
- .ant-table-thead>tr>th {
- text-align: center;
- background: #f0f7f7;
- font-weight: 450;
- color: #333333;
- }
+ .trendHeader {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ }
- .ant-table-tbody>tr>td {
- text-align: center;
- font-weight: 400;
- color: #4e5856;
- }
+ .headerTitle {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ }
+
+ .rangeSelect {
+ width: 120px;
+
+ :global(.ant-select-selector) {
+ border: 1px solid rgba(45, 158, 157, 1);
+ border-radius: 4px;
+ height: 28px;
}
+
+ :global(.ant-select-focused .ant-select-selector) {
+ border-color: rgba(45, 158, 157, 1) !important;
+ box-shadow: 0 0 0 2px rgba(45, 158, 157, 0.2) !important;
+ }
+
+ :global(.ant-select:hover .ant-select-selector) {
+ border-color: rgba(45, 158, 157, 1) !important;
+ }
+ }
+
+ .chartWrapper {
+ width: 100%;
+ height: 280px;
+ background: linear-gradient(180deg, #f8fbfa 0%, #ffffff 100%);
+ border-radius: 8px;
+ border: 1px solid #e6f1ec;
+ padding: 6px;
+ box-sizing: border-box;
}
}
diff --git a/src/pages/business_basic/components/second_datamodel_components/RealtimeData.js b/src/pages/business_basic/components/second_datamodel_components/RealtimeData.js
index f841614..b7143a6 100644
--- a/src/pages/business_basic/components/second_datamodel_components/RealtimeData.js
+++ b/src/pages/business_basic/components/second_datamodel_components/RealtimeData.js
@@ -301,8 +301,13 @@ const RealtimeData = () => {
- 实时监测点数据
+
+
+ 实时数据
+
+ {/* 从这里开始下面的内容 */}
+ {/* 从这里开始下面的内容 */}