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