地图和图标样式调整

This commit is contained in:
aixianling
2024-04-16 14:55:21 +08:00
parent 7a0538dff0
commit 8f21db5ca3
3 changed files with 14 additions and 14 deletions

View File

@@ -172,7 +172,7 @@ export const chartTpl = [{
thumb: 'https://cdn.cunwuyun.cn/dvcp/dv/tpl/bar10.png',
height: 300,
dataType: 'staticData',
staticData: [{name: '阿斯达', v1: 23}, {name: '水电费', v1: 12}, {name: '凡哥', v1: 67}, {name: '党费', v1: 98}],
staticData: [{name: '阿斯达', v1: 23}, {name: '水电费', v1: 12}],
config: 'barChart10'
},
]

View File

@@ -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,

View File

@@ -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]
})
}