bug
This commit is contained in:
		| @@ -7,6 +7,7 @@ | ||||
|       </div> | ||||
|       <div class="community-info__header"> | ||||
|         <h2>{{ info.resourceName }}</h2> | ||||
|         <el-tag type="success" size="small" style="margin: 6px 0;">{{ info.categoryName }}</el-tag> | ||||
|         <div>{{ info.areaName }}{{ info.address }}</div> | ||||
|       </div> | ||||
|       <div class="community-info__wrapper"> | ||||
| @@ -44,7 +45,8 @@ export default { | ||||
|       satellite: null, | ||||
|       zoom: 11, | ||||
|       choosedId: '', | ||||
|       center: [] | ||||
|       center: [], | ||||
|       list: [] | ||||
|     } | ||||
|   }, | ||||
|   computed: { | ||||
| @@ -78,18 +80,16 @@ export default { | ||||
|             } | ||||
|           }) | ||||
|  | ||||
|           this.list = points | ||||
|  | ||||
|           this.addMakert(points) | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
|  | ||||
|     getInfo (id) { | ||||
|       this.instance.post(`/app/appresourceinfo/queryDetailById?id=${id}`).then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.info = res.data | ||||
|       this.info = this.list.filter(v => id === v.id)[0] | ||||
|       this.isShowInfo = true | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
|  | ||||
|     renderClusterMarker(context) { | ||||
| @@ -195,7 +195,6 @@ export default { | ||||
|         color: #fff; | ||||
|         font-size: 20px; | ||||
|         font-weight: 500; | ||||
|         margin-bottom: 10px; | ||||
|       } | ||||
|  | ||||
|       div { | ||||
| @@ -204,14 +203,6 @@ export default { | ||||
|         color: #D2E0FF; | ||||
|         font-size: 12px; | ||||
|       } | ||||
|  | ||||
|       span { | ||||
|         display: block; | ||||
|         margin-top: 4px; | ||||
|         font-style: normal; | ||||
|         color: #82C5FF; | ||||
|         font-size: 14px; | ||||
|       } | ||||
|     } | ||||
|  | ||||
|     .community-info { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user