From d50e547f1878ad8b57bb977d682dd4d3a74995c7 Mon Sep 17 00:00:00 2001
From: yyy <2605810609@qq.com>
Date: Wed, 9 Apr 2025 15:20:45 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=82=B9=E5=87=BB=E5=B1=95?=
=?UTF-8?q?=E7=A4=BA=E5=AE=9E=E9=99=85=E7=82=B9=E4=BD=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/mapPage/realTimeMap/editMap.vue | 25 ++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/src/views/mapPage/realTimeMap/editMap.vue b/src/views/mapPage/realTimeMap/editMap.vue
index 24df8504..12da6666 100644
--- a/src/views/mapPage/realTimeMap/editMap.vue
+++ b/src/views/mapPage/realTimeMap/editMap.vue
@@ -646,6 +646,11 @@
+
+
X:{{ state.actualLocation.x }}
+
Y:{{ state.actualLocation.y }}
+
+
{
const actualLocationX = disposeEventPoints(e).actualLocationX
const actualLocationY = disposeEventPoints(e).actualLocationY
+ state.actualLocation.x = actualLocationX
+ state.actualLocation.y = actualLocationY
+
//新增节点
if (toolbarSwitchType.value === 'drawNodes') {
state.allMapPointInfo.push({
@@ -1370,7 +1378,11 @@ const state = reactive({
mapMarkCarList: [], //标记的车辆列表
popoverVisible: false, //标记弹窗
noLocationNumberList: [], //没有排序的库位index
- isShowSortNum: false //是否显示序号
+ isShowSortNum: false, //是否显示序号
+ actualLocation: {
+ x: '',
+ y: ''
+ }
})
const toolbarClick = async (item) => {
@@ -3330,4 +3342,15 @@ onUnmounted(() => {
user-select: none;
color: #000;
}
+.actual-location {
+ position: fixed;
+ bottom: 10px;
+ right: 16px;
+ background-color: #f48924;
+ color: #fff;
+ padding: 6px;
+ border-radius: 2px;
+ font-size: 14px;
+ user-select: none;
+}