liujq 3 년 전
부모
커밋
df8ebeb7ae

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/chunk-24355714.42ed2c5e.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/chunk-6238740c.f82fd5dc.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.9b2d87be.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-24355714.ff4c70ca.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-4560c814.d36b6e2b.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-6238740c.cae96b8c.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-e963b15c.ebe26131.js


+ 19 - 4
src/views/map/dtl.vue

@@ -58,19 +58,25 @@
       :events="events"
       :plugin="plugin"
     >
-      <el-amap-marker v-for="(marker, index) in {...schoolList}" :key="3000 + index"
-        icon="https://img2.honglounews.com/20220110031921-2283.png"
+      <el-amap-marker class="scoped-m-box" v-for="(marker, index) in {...schoolList}" :key="3000 + index"
+        icon="https://img2.honglounews.com/20220110041435-6276.png"
         :position="marker.position"
         :events="schoolEvents"
+        :title="marker.school_name"
+        :label="{content: marker.school_name, offset: [0, -23]}"
         :extData="{id: marker.id}"
       >
       </el-amap-marker>
-      <el-amap-marker v-for="(marker, index) in {...estateList}" :key="2000 + index"
-        icon="https://img2.honglounews.com/20220110032219-7950.png"
+      <el-amap-marker class="scoped-m-box" v-for="(marker, index) in {...estateList}" :key="2000 + index"
+        icon="https://img2.honglounews.com/20220110041411-6675.png"
         :position="marker.position"
         :events="estateEvents"
+        :title="marker.estate_name"
+        :label="{content: marker.estate_name, offset: [0, -23]}"
         :extData="{id: marker.id}"
       >
+      <!-- https://img2.honglounews.com/20220110041534-8330.png -->
+      <!-- https://img2.honglounews.com/20220110041411-6675.png -->
       </el-amap-marker>
       <template v-if="mapDiyObj.zoom > 3">
         <el-amap-marker v-for="(marker, index) in markerData" :key="1000 + index"
@@ -658,4 +664,13 @@ export default {
 }
 
 
+
+::v-deep .amap-marker-label {
+  border-color: #dcdcdc;
+  border-radius: 2px;
+  padding: 3px 5px;
+  color: #313131;
+  box-shadow: 0 0 3px #ccc;
+}
+
 </style>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.