Procházet zdrojové kódy

feature_20250827_地图添加搜索当前范围功能

zhujindu před 5 měsíci
rodič
revize
c415c80b77
2 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. binární
      src/assets/mapLocation.png
  2. 3 4
      src/views/deviceOutside/rangeStore.vue

binární
src/assets/mapLocation.png


+ 3 - 4
src/views/deviceOutside/rangeStore.vue

@@ -140,11 +140,10 @@
         <!-- 地图中心坐标 -->
         <!-- 地图中心坐标 -->
         <bm-marker
         <bm-marker
           :position="{ lng: currentCenter.lng, lat: currentCenter.lat }"
           :position="{ lng: currentCenter.lng, lat: currentCenter.lat }"
-          :dragging="true"
-          animation="BMAP_ANIMATION_BOUNCE"
           :icon="{
           :icon="{
-            url: 'http://developer.baidu.com/map/jsdemo/img/location.gif',
-            size: { width: 14, height: 23 },
+            // url: 'http://developer.baidu.com/map/jsdemo/img/location.gif',
+            url: require('@/assets/mapLocation.png'),
+            size: { width: 42, height: 80 },
           }">
           }">
         </bm-marker>
         </bm-marker>
         <bm-marker
         <bm-marker