Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
cfe5625b
authored
2023-03-16 17:41:41 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
地图完善
1 parent
26767fed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
15 deletions
src/components/Echart/Map/Chart.vue
src/components/Echart/Map/Chart.vue
View file @
cfe5625
...
...
@@ -74,10 +74,10 @@ export default {
{ gte: 0, lte: 500, label: "≤500", color: "#1872CC" },
],
textStyle: {
color: "#
737373
",
}
,
color: "#
CEF8FF
",
}
},
geo: {
geo:
[
{
aspectScale: 1, //长宽比
zoom: 1.1,
mapType: "", // 自定义扩展图表类型
...
...
@@ -88,13 +88,38 @@ export default {
normal: {
//阴影
areaColor: "#5689FD",
shadowColor: "#21371d",
borderWidth:
0
,
shadowOffsetX: 2,
shadowOffsetY: 20,
//
shadowColor: "#21371d",
borderWidth:
1
,
//
shadowOffsetX: 2,
//
shadowOffsetY: 20,
},
},
},{
aspectScale: 1, //长宽比
zoom: 1.1,
mapType: "", // 自定义扩展图表类型
top: "18%",
left: "10%",
map: "汉中市",
itemStyle: {
color:'#21371d',
areaColor: "#21371d",
borderWidth: 1,
borderColor:"#00A3CB",
shadowColor: "#01C5E9",
shadowBlur:10,
shadowOffsetX: 0,
shadowOffsetY: -12,
// normal: {
// //阴影
// color:'#21371d',
// areaColor: "#21371d",
// },
},
emphasis: {
disabled:true
}
}],
series: [
{
type: "map",
...
...
@@ -105,11 +130,11 @@ export default {
left: "10%",
itemStyle: {
normal: {
areaColor: "rgba(19,54,162,.1)",
borderWidth: 1,
shadowBlur: 2,
borderColor: "
rgb(155, 200, 200)
",
shadowColor: "#44f2fc",
//
areaColor: "rgba(19,54,162,.1)",
borderWidth: 1
.6
,
//
shadowBlur: 2,
borderColor: "
#9DFFFC
",
//
shadowColor: "#44f2fc",
},
emphasis: {
// itemStyle:{
...
...
@@ -130,9 +155,9 @@ export default {
borderType: 'dottod',
borderWidth: 0,
borderColor:'#F8F071',
shadowColor: '#
4DD1B4
',
shadowBlur: 1,
shadowOffsetY:
-3
shadowColor: '#
000
',
shadowBlur: 1
0
,
shadowOffsetY:
4
// }
}
...
...
Please
register
or
sign in
to post a comment