From e733164e1c779b3aef7245936b9daf7875bf791e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 14 Dec 2023 17:12:33 +0800
Subject: [PATCH] 解决屏幕缩放导致鼠标位置不准确的问题,右侧,切换校区后的显示BUG

---
 src/components/mobilemap/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/components/mobilemap/index.vue b/src/components/mobilemap/index.vue
index 111013b..82e3d8b 100644
--- a/src/components/mobilemap/index.vue
+++ b/src/components/mobilemap/index.vue
@@ -34,7 +34,7 @@
         <!-- 控制↑ -->
         <!-- 控制大弹窗的弹窗 -->
         <!-- v-if="mBigPopupAfter" -->
-        <mobilePopupOurAfter></mobilePopupOurAfter>
+        <mobilePopupOurAfter ref="MobilePopupOurAfter"></mobilePopupOurAfter>
         <!-- 大弹窗 -->
         <mobilePopupOur :style="[bigPopup]" v-if="mBigPopup"></mobilePopupOur>
         <!-- 测试-跳转位置 -->
@@ -42,7 +42,7 @@
         <!-- 实景窗口 -->
         <mobilePanorama></mobilePanorama>
         <!-- 退出导航 -->
-        <mobileCloseRouter></mobileCloseRouter>
+        <mobileCloseRouter ref="MobileCloseRouter"></mobileCloseRouter>
         <!-- 退出活动 -->
         <mobileCloseRouterMany></mobileCloseRouterMany>
         <!-- 活动窗口 -->
@@ -109,7 +109,7 @@
         fullExtent: [
             112.51302551881798, -0.16235359398493399, 112.72742295590702, 0.000004509195932360471
         ],
-        polygonUrl: 'http://59.55.128.156:6080/arcgis/rest/services/fllk/MapServer/0/query'
+        polygonUrl: 'https://fkxt.jxstnu.edu.cn/changjing/fllkarcgisapp'
     }
 ]
 
@@ -173,6 +173,8 @@
         campusValue: {
             handler (newData) {
                 this.$nextTick(() => {
+                    this.$refs.MobileCloseRouter.mobileRouterClose()
+
                     this.campusCut(newData)
 
                     this.$refs.mobileLeftNav.initialize(newData)
@@ -436,6 +438,7 @@
         },
 
         handleCommand (command) {
+            this.$refs.MobilePopupOurAfter.closeBigPopupAfter()
             this.setCampusValue(command.dictKey)
         },
 

--
Gitblit v1.9.3