This commit is contained in:
yanran200730
2022-10-09 09:11:07 +08:00
parent f204f3fff3
commit 97611a8dc8
7 changed files with 1550 additions and 18 deletions

View File

@@ -71,7 +71,7 @@ export default {
this.areaName = this.user.info.areaName
this.getTypeList()
this.getCorpLocation()
},
methods: {
@@ -117,7 +117,7 @@ export default {
renderMarker(context) {
const resourceId = context.data[0].id
let el = `<img src="${resourceId === this.chooseResourceId ? this.fireIconActive : this.fireIcon}" style="${resourceId === this.chooseResourceId ? 'width:40px;height:40px;' : 'width:28px;height:28px;'}" id="resourceId-${resourceId}" class="mark-icon" />`
context.marker.setContent(el);
@@ -154,7 +154,7 @@ export default {
initMap({lng, lat}) {
this.center = [lng, lat];
AMapLoader.load({
key: 'b553334ba34f7ac3cd09df9bc8b539dc',
key: '54a02a43d9828a8f9cd4f26fe281e74e',
version: '2.0',
plugins: ['AMap.ToolBar', 'AMap.Scale', 'AMap.MouseTool', 'AMap.MarkerClusterer'],
AMapUI: {
@@ -418,7 +418,7 @@ export default {
::v-deep .el-input, ::v-deep input {
border: none;
}
::v-deep .el-select {
padding-right: 28px;
}