大屏
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user