From 77536fca2be6bcb697d45c6159dbb0fe81963761 Mon Sep 17 00:00:00 2001 From: yyy <2605810609@qq.com> Date: Tue, 1 Apr 2025 14:36:49 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../realTimeMap/components/indexPage.vue | 173 +++++++++--------- src/views/mapPage/realTimeMap/index.vue | 14 +- 2 files changed, 96 insertions(+), 91 deletions(-) diff --git a/src/views/mapPage/realTimeMap/components/indexPage.vue b/src/views/mapPage/realTimeMap/components/indexPage.vue index 79d9b234..e816a339 100644 --- a/src/views/mapPage/realTimeMap/components/indexPage.vue +++ b/src/views/mapPage/realTimeMap/components/indexPage.vue @@ -247,6 +247,7 @@ +
@@ -309,11 +310,11 @@
-
+
-
+
-
+
-
+
{ .affix-container { width: 100%; position: relative; - - .indexpage-container { - width: 100%; - position: relative; - - .affix-container-top { - width: 100%; - height: 5rem; - background-color: #fff; - border-bottom: 0.0625rem solid #f5f5f5; - } - } - - .indexpage-container-active { - width: 100%; - position: relative; - cursor: grab; - } } - +.indexpage-container { + width: 100%; + position: relative; +} +.indexpage-container-active { + width: 100%; + position: relative; + cursor: grab; +} .indexpage-container-active:active { cursor: grabbing; } - +.indexpage-container .affix-container-top { + width: 100%; + height: 5rem; + background-color: #fff; + border-bottom: 0.0625rem solid #f5f5f5; +} .indexpage-container-box-point { width: 100%; position: absolute; @@ -1214,63 +1210,65 @@ onUnmounted(() => { position: absolute; bottom: 1.625rem; z-index: 999; + + .affix-container-left-box { + width: 9rem; + } + .affix-container-left-box-item-box { + width: 100%; + border-bottom: 0.0625rem solid #eeeeee; + background: #ffffff; + } + .affix-container-left-box-item { + width: 100%; + padding: 0 1.125rem; + height: 2.625rem; + display: flex; + align-items: center; + justify-content: space-between; + } + .affix-container-left-box-item-left { + font-family: + PingFangSC, + PingFang SC; + font-weight: 400; + font-size: 0.875rem; + color: rgba(0, 0, 0, 0.88); + } + .affix-container-left-box-item-img { + cursor: pointer; + flex-shrink: 0; + width: 1.25rem; + height: 0.75rem; + } + .affix-container-left-box-item-bottom { + width: 100%; + height: 2.25rem; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + background: #ffffff; + } + .affix-container-left-box-item-bottom-img { + cursor: pointer; + flex-shrink: 0; + width: 0.75rem; + height: 0.4375rem; + } + .affix-container-left-box-item-bottom-left { + cursor: pointer; + flex-shrink: 0; + font-family: + PingFangSC, + PingFang SC; + font-weight: 400; + font-size: 1rem; + color: #98a4bf; + margin-right: 0.125rem; + } } -.affix-container-left-box { - width: 9rem; -} -.affix-container-left-box-item-box { - width: 100%; - border-bottom: 0.0625rem solid #eeeeee; - background: #ffffff; -} -.affix-container-left-box-item { - width: 100%; - padding: 0 1.125rem; - height: 2.625rem; - display: flex; - align-items: center; - justify-content: space-between; -} -.affix-container-left-box-item-left { - font-family: - PingFangSC, - PingFang SC; - font-weight: 400; - font-size: 0.875rem; - color: rgba(0, 0, 0, 0.88); -} -.affix-container-left-box-item-img { - cursor: pointer; - flex-shrink: 0; - width: 1.25rem; - height: 0.75rem; -} -.affix-container-left-box-item-bottom { - width: 100%; - height: 2.25rem; - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - background: #ffffff; -} -.affix-container-left-box-item-bottom-img { - cursor: pointer; - flex-shrink: 0; - width: 0.75rem; - height: 0.4375rem; -} -.affix-container-left-box-item-bottom-left { - cursor: pointer; - flex-shrink: 0; - font-family: - PingFangSC, - PingFang SC; - font-weight: 400; - font-size: 1rem; - color: #98a4bf; - margin-right: 0.125rem; -} + .affix-container-right { position: fixed; z-index: 999; @@ -1279,12 +1277,13 @@ onUnmounted(() => { display: flex; align-items: center; justify-content: flex-end; -} -.affix-container-right-item { - width: 1.75rem; - height: 1.75rem; - cursor: pointer; - flex-shrink: 0; - margin-left: 0.5rem; + + .item { + width: 1.75rem; + height: 1.75rem; + cursor: pointer; + flex-shrink: 0; + margin-left: 0.5rem; + } } diff --git a/src/views/mapPage/realTimeMap/index.vue b/src/views/mapPage/realTimeMap/index.vue index 3128d978..1d50ff07 100644 --- a/src/views/mapPage/realTimeMap/index.vue +++ b/src/views/mapPage/realTimeMap/index.vue @@ -194,7 +194,10 @@ onMounted(() => {