From e321227b965cdf2fc3800d10eb92678a3bf14d9b Mon Sep 17 00:00:00 2001 From: zengmingjie Date: Wed, 25 Jun 2025 23:29:21 +0800 Subject: [PATCH] 1 --- src/views/contentData/LeftSidebar/index.vue | 8 +- .../contentData/headerTop/index copy.vue | 295 ++++++++++++++++++ src/views/contentData/headerTop/index.vue | 2 - src/views/mapControl/index.vue | 14 +- 4 files changed, 312 insertions(+), 7 deletions(-) create mode 100644 src/views/contentData/headerTop/index copy.vue diff --git a/src/views/contentData/LeftSidebar/index.vue b/src/views/contentData/LeftSidebar/index.vue index 1fb1d63..8c78379 100644 --- a/src/views/contentData/LeftSidebar/index.vue +++ b/src/views/contentData/LeftSidebar/index.vue @@ -126,7 +126,7 @@ type="primary" @click.stop="handlewhiteList(drone)" > - {{ drone.IsWhitelist ? "信任" : "取消信任" }} + {{ !drone.IsWhitelist ? "信任" : "不信任" }}
@@ -519,7 +519,7 @@ export default { company: " ", mark: " " }; - if (drone.IsWhitelist) { + if (!drone.IsWhitelist) { whitListAdd(params) .then((res) => { if (res.code === 0) { @@ -785,11 +785,11 @@ export default { } @keyframes greenanimated-shadow { 0% { - box-shadow: 0 0 0 0 #e1f850 inset; + box-shadow: 0 0 0 0 #ff0000 inset; } 85% { - box-shadow: 0px 0px 100px 0px #e1f850 inset; + box-shadow: 0px 0px 100px 0px #ff0000 inset; } } diff --git a/src/views/contentData/headerTop/index copy.vue b/src/views/contentData/headerTop/index copy.vue new file mode 100644 index 0000000..dd2cb4c --- /dev/null +++ b/src/views/contentData/headerTop/index copy.vue @@ -0,0 +1,295 @@ + + + + + diff --git a/src/views/contentData/headerTop/index.vue b/src/views/contentData/headerTop/index.vue index 67f425b..dd2cb4c 100644 --- a/src/views/contentData/headerTop/index.vue +++ b/src/views/contentData/headerTop/index.vue @@ -91,8 +91,6 @@ export default { } else { this.$message.error("定位失败,请稍后重试"); } - if (this.latitude === "" || this.longitude === "") { - } this.$store.commit("SET_POSITIONPOINT", false); } }, diff --git a/src/views/mapControl/index.vue b/src/views/mapControl/index.vue index 4563ab9..b9dbcdd 100644 --- a/src/views/mapControl/index.vue +++ b/src/views/mapControl/index.vue @@ -4,6 +4,7 @@
刻度尺:{{ zoomControl }}
+
版本号:V1.0
返回
@@ -466,7 +467,18 @@ export default { .zoom-control { position: absolute; left: 60px; - bottom: 30px; + bottom: 10px; + z-index: 1000; + color: #fff; + img { + width: 48px; + height: 48px; + } + } + .zoom-text { + position: absolute; + top: 18px; + right: 180px; z-index: 1000; color: #fff; img {