地图和图标样式调整
This commit is contained in:
@@ -130,7 +130,7 @@ export default {
|
||||
fontSize: 22
|
||||
},
|
||||
itemStyle: {
|
||||
borderColor: "rgba(2, 198, 220, 1)",
|
||||
borderColor: "rgba(2, 198, 220, 0)",
|
||||
borderWidth: 2,
|
||||
areaColor: "#02bcff29",
|
||||
shadowBlur: 120,
|
||||
|
||||
@@ -21,24 +21,23 @@ export default {
|
||||
min: 0,
|
||||
max: 8000,
|
||||
maxOpen: true,
|
||||
itemWidth: 14,
|
||||
itemHeight: 14,
|
||||
align: 'left',
|
||||
itemSymbol: 'circle',
|
||||
inRange: {
|
||||
color: [
|
||||
"#25EDF4",
|
||||
"rgba(12,222,233,0.9)",
|
||||
"rgba(11,208,218,0.81)",
|
||||
"rgba(11,193,213,0.72)",
|
||||
"rgba(11,172,193,0.63)",
|
||||
"rgba(9,147,174,0.54)",
|
||||
"rgba(7,108,136,0.45)",
|
||||
"rgba(6,78,107,0.36)",
|
||||
"rgba(5,66,97,0.27)"].reverse()
|
||||
"#25b3f866", "#73DCFC66", "#35FDFC66", "#37FBB980", "#05FA8280",
|
||||
"#D8F98A80", "#F3C83F80", "#FD900480", "#FB374480"
|
||||
],
|
||||
},
|
||||
inverse: true,
|
||||
outOfRange: {color: "#25EDF4"},
|
||||
textStyle: {
|
||||
color: "#fff"
|
||||
color: "#9BB7D4FF"
|
||||
},
|
||||
calculable: true
|
||||
},
|
||||
geo: []
|
||||
},
|
||||
dialog: false,
|
||||
detail: [],
|
||||
@@ -56,7 +55,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
sta: v => v.config.summaryConfigs || [],
|
||||
mapData: v => v.geoData.map(e => ({name: e.name.replace(/([市县区])/g, ""), value: parseInt(e.低风险纠纷) + parseInt(e.中风险纠纷) + parseInt(e.高风险纠纷)}))
|
||||
mapData: v => v.geoData.map(e => ({name: e.name.replace(/([市县区])/g, ""), value: parseInt(e.排查受理总数)}))
|
||||
},
|
||||
methods: {
|
||||
getData(type = "530300000000") {
|
||||
@@ -88,6 +87,7 @@ export default {
|
||||
高风险纠纷: "#FF6868",
|
||||
中风险纠纷: "#FFAB68",
|
||||
低风险纠纷: "#7FE89E",
|
||||
排查受理总数: "#25EDF4"
|
||||
}[k]
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user