From 404b9d331ba10fd1683e77c916c01aaa4cba4f0b Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期四, 01 四月 2021 14:12:55 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/components/BaseNav/SolidWaste/SolidWaste.js |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/src/components/BaseNav/SolidWaste/SolidWaste.js b/src/components/BaseNav/SolidWaste/SolidWaste.js
index 7cedfa6..5ce22d5 100644
--- a/src/components/BaseNav/SolidWaste/SolidWaste.js
+++ b/src/components/BaseNav/SolidWaste/SolidWaste.js
@@ -1,7 +1,8 @@
 import { QueryStoragePlaceListByCompanyAndName } from '@/api/request'
 // 灞曠ず鍥剧墖
-import defaultImg from '@assets/images/map-pages/basenav/solidwaste/voc.png'
-import Setting from '@assets/images/map-pages/basenav/solidwaste/gf_green.png'
+
+import defaultImg from '../../../../public/assets/images/map/solidwaste/voc.png'
+import setting from '../../../../public/assets/images/map/solidwaste/gf_green.png'
 
 // 搴曞浘涓氬姟灞曠ず鐐�
 class AddSolidWasteHelper {
@@ -62,14 +63,10 @@
         // 鐐瑰嚮 浜嬩欢
         marker.on('click', (e) => {
           try {
-            // console.log(e)
-            // console.log(this.map.getCenter())
-            // console.log(this.map.setCenter([e.target.getLatLng().lat, e.target.getLatLng().lng]))
-            // this.map.flyTo([e.target.getLatLng().lat, e.target.getLatLng().lng])
-            // this.map.panTo([e.target.getLatLng().lat, e.target.getLatLng().lng], 100)
-            this.setPanTo(e.target.getLatLng(), 250)
+            console.log(e.target.getLatLng())
+            this.setPanTo(e.target.getLatLng(), 200)
             this.EffectOfPulse(e.target.getLatLng())
-            // this.SolidWastePopup.setData(data[i], 'gufei')
+            this.SolidWastePopup.setData(data[i], 'gufei')
             return this.SolidWastePopup.$el
           } catch (error) {
             console.log(error)
@@ -114,7 +111,7 @@
       EffectOfChange = defaultImg
       this.EffectOfPulse(position, this.solidWasteMarkersLabels, this.SolidWasteLayerGroup)
     } else {
-      EffectOfChange = Setting
+      EffectOfChange = setting
     }
     return EffectOfChange
   }

--
Gitblit v1.8.0