From 20f374d17d2d3f499032c3cccdc9527c7e611b18 Mon Sep 17 00:00:00 2001 From: liupeng <511646242@qq.com> Date: Wed, 2 Jul 2025 17:51:45 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=9B=91=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor/widgets/monitor/MonitorView.vue | 158 +++++++++++++++++++---------- 1 file changed, 107 insertions(+), 51 deletions(-) diff --git a/src/editor/widgets/monitor/MonitorView.vue b/src/editor/widgets/monitor/MonitorView.vue index bf7e94e..582d61d 100644 --- a/src/editor/widgets/monitor/MonitorView.vue +++ b/src/editor/widgets/monitor/MonitorView.vue @@ -31,76 +31,97 @@
-
- 名称 AGV-0 - - 电量 0% - -
- +
-
状态 空闲
-
车速 0 m/s
-
当前地标
+
+ + [运行] 导航到 +
+ 55% +
+
+
+ +
按照导航路径移动至目标点
+
+
+ +
17日 23:00:00 -01日 23:00:00
+
+
+ +
+ Agv-5 当前目标点 412
+
-
-
当前坐标x:0 y:0 Yaw:0
-
-
-
- 名称 AGV-0 - - 电量 0% - -
- +
-
状态 空闲
-
车速 0 m/s
-
当前地标
+
+ + [运行] 导航到 +
+ 55% +
+
+
+ +
按照导航路径移动至目标点
+
+
+ +
17日 23:00:00 -01日 23:00:00
+
+
+ +
+ Agv-5 当前目标点 412
+
-
-
当前坐标x:0 y:0 Yaw:0
-
-
-
- 名称 AGV-0 - - 电量 0% - -
- +
-
状态 空闲
-
车速 0 m/s
-
当前地标
+
+ + [运行] 导航到 +
+ 55% +
+
+
+ +
按照导航路径移动至目标点
+
+
+ +
17日 23:00:00 -01日 23:00:00
+
+
+ +
+ Agv-5 当前目标点 412
+
-
-
当前坐标x:0 y:0 Yaw:0
-
-
@@ -128,6 +149,7 @@ export default { \ No newline at end of file + From 4c49b84ad63873b7c084770fc4a9dd4c941d319c Mon Sep 17 00:00:00 2001 From: liupeng <511646242@qq.com> Date: Wed, 2 Jul 2025 17:58:52 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor/widgets/monitor/MonitorView.vue | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/editor/widgets/monitor/MonitorView.vue b/src/editor/widgets/monitor/MonitorView.vue index 582d61d..d1e38d2 100644 --- a/src/editor/widgets/monitor/MonitorView.vue +++ b/src/editor/widgets/monitor/MonitorView.vue @@ -39,7 +39,10 @@
- [运行] 导航到 + [运行] + 导航到 + +
55%
@@ -70,7 +73,10 @@
- [运行] 导航到 + [运行] + 导航到 + +
55%
@@ -101,7 +107,10 @@
- [运行] 导航到 + [运行] + 导航到 + +
55%
@@ -270,6 +279,10 @@ export default { &.green{ color:#00ff00; } + &>svg{ + position: relative; + top:3px; + } } .progress{ flex:1; From f8e6d7ffa83f7c29d03fdce017825edd59457cb3 Mon Sep 17 00:00:00 2001 From: liupeng <511646242@qq.com> Date: Wed, 2 Jul 2025 18:01:53 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor/widgets/monitor/MonitorView.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/editor/widgets/monitor/MonitorView.vue b/src/editor/widgets/monitor/MonitorView.vue index d1e38d2..5f18a6f 100644 --- a/src/editor/widgets/monitor/MonitorView.vue +++ b/src/editor/widgets/monitor/MonitorView.vue @@ -44,7 +44,8 @@
- 55% + +
55%
@@ -78,7 +79,8 @@
- 55% + +
55%
@@ -112,7 +114,8 @@
- 55% + +
55%
@@ -290,6 +293,7 @@ export default { border:1px solid #dcdcdc; height: 20px; margin-left:5px; + position: relative; span{ font-size: 12px; background: #7ac678; @@ -298,6 +302,14 @@ export default { text-align: center; height: 18px; } + .text{ + position: absolute; + width: 100%; + height:100%; + left:0; + top:0; + text-align: center; + } } &>svg{ margin-right: 5px;