From 3225438c691e1461d128e676ef1dc9d825bcd2e1 Mon Sep 17 00:00:00 2001
From: Xiaoyu <3306310490@qq.com>
Date: Wed, 12 Mar 2025 13:36:51 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=80=9A=E7=9F=A5?=
=?UTF-8?q?=E6=8F=90=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/AIPatrol/sensor/index.vue | 251 ++++++++++++++++------------
1 file changed, 141 insertions(+), 110 deletions(-)
diff --git a/src/views/AIPatrol/sensor/index.vue b/src/views/AIPatrol/sensor/index.vue
index 9c5a6d0..eb990a7 100644
--- a/src/views/AIPatrol/sensor/index.vue
+++ b/src/views/AIPatrol/sensor/index.vue
@@ -1,160 +1,181 @@
@@ -172,7 +193,7 @@ onMounted(() => {
v-for="sensor in sensorList"
:key="sensor.id"
class="sensor-card"
- :class="{ 'offline': sensor.status === 0 }"
+ :class="{ offline: sensor.status === 0 }"
>
设备类型
- {{ getSensorTypeName(sensor.device_type, sensor.device_name) }}
+ {{
+ getSensorTypeName(sensor.device_type, sensor.device_name)
+ }}
安装位置
- {{ sensor.install_location || '暂无数据' }}
+ {{ sensor.install_location || "暂无数据" }}
@@ -218,29 +243,35 @@ onMounted(() => {
-
+
@@ -267,7 +298,7 @@ onMounted(() => {
.el-icon {
font-size: 24px;
- color: #409EFF;
+ color: #409eff;
}
}
}
@@ -313,7 +344,7 @@ onMounted(() => {
.el-icon {
font-size: 20px;
- color: #409EFF;
+ color: #409eff;
background: rgba(64, 158, 255, 0.1);
padding: 8px;
border-radius: 8px;
@@ -357,7 +388,7 @@ onMounted(() => {
color: #303133;
font-size: 15px;
font-weight: 500;
- font-family: 'DIN Alternate', sans-serif;
+ font-family: "DIN Alternate", sans-serif;
flex: 1;
text-align: right;
word-break: break-all;
@@ -395,9 +426,9 @@ onMounted(() => {
.data-value {
font-size: 20px;
font-weight: 600;
- color: #409EFF;
+ color: #409eff;
margin-bottom: 4px;
- font-family: 'DIN Alternate', sans-serif;
+ font-family: "DIN Alternate", sans-serif;
}
.data-label {
@@ -443,4 +474,4 @@ onMounted(() => {
align-items: center;
}
}
-
\ No newline at end of file
+
From d7892375ce0ac132cfdd1a0a1114b65c8c659cf9 Mon Sep 17 00:00:00 2001
From: Xiaoyu <3306310490@qq.com>
Date: Wed, 12 Mar 2025 13:51:11 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=8D=E9=9C=80?=
=?UTF-8?q?=E8=A6=81=E7=9A=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
index.html | 5 +-
src/layout/AdminLayout.vue | 209 ++++++++++++++-----------------------
2 files changed, 78 insertions(+), 136 deletions(-)
diff --git a/index.html b/index.html
index e0198e2..8b4bcae 100644
--- a/index.html
+++ b/index.html
@@ -1,10 +1,9 @@
-
+
-
- 智慧湿地管理平台
+ 湿地管理平台
diff --git a/src/layout/AdminLayout.vue b/src/layout/AdminLayout.vue
index 920ca77..67c3808 100644
--- a/src/layout/AdminLayout.vue
+++ b/src/layout/AdminLayout.vue
@@ -1,9 +1,20 @@