样式修改

This commit is contained in:
gaoxiaolong 2022-06-25 11:36:34 +08:00
parent 8f8387c80d
commit 9accfa4f29
3 changed files with 51 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -98,7 +98,7 @@ export default {
}, },
axisLine:{ axisLine:{
lineStyle:{ lineStyle:{
color:"#ebebeb" color:"#f5f5f5"
} }
}, },
axisLabel: {//y axisLabel: {//y
@ -134,10 +134,24 @@ export default {
}, },
series: [ series: [
{ {
data: [5, 5, 5, 5, 5, 5],
type: 'bar',
barWidth: 14,
stack: '1',
itemStyle: {
barBorderRadius: [20,20,20,20],
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ offset: 0, color: 'rgba(178, 189, 255,0)' },
// { offset: 0.5, color: '#188df0' },
{ offset: 1, color: 'rgba(82, 106, 255,0)' }
])
},
},
{
data: [60, 90, 50, 80], data: [60, 90, 50, 80],
type: 'bar', type: 'bar',
barWidth: 14, barWidth: 14,
stack: '1',
itemStyle: { itemStyle: {
barBorderRadius: [20,20,20,20], barBorderRadius: [20,20,20,20],
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
@ -286,10 +300,24 @@ export default {
}, },
series: [ series: [
{ {
data: [5, 5, 5, 5],
type: 'bar',
barWidth: 14,
stack: '1',
itemStyle: {
barBorderRadius: [20,20,20,20],
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ offset: 0, color: 'rgba(178, 189, 255,0)' },
// { offset: 0.5, color: '#188df0' },
{ offset: 1, color: 'rgba(82, 106, 255,0)' }
])
},
},
{
data: [60, 90, 50, 80], data: [60, 90, 50, 80],
type: 'bar', type: 'bar',
barWidth: 14, barWidth: 14,
stack: '1',
itemStyle: { itemStyle: {
barBorderRadius: [20,20,20,20], barBorderRadius: [20,20,20,20],
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
@ -317,8 +345,8 @@ export default {
type: 'category', type: 'category',
data: ['组件名称1', '组件名称2', '组件名称3', '组件名称4', '组件名称5', '组件名称6'], data: ['组件名称1', '组件名称2', '组件名称3', '组件名称4', '组件名称5', '组件名称6'],
color:['#f5f5f5'], color:['#f5f5f5'],
axisTick:{ axisTick: { //
show:false,//线 show: false, //
}, },
splitLine: { splitLine: {
show: true, show: true,
@ -362,10 +390,24 @@ export default {
}, },
series: [ series: [
{ {
data: [5, 5, 5, 5, 5, 5],
type: 'bar',
barWidth: 14,
stack: '1',
itemStyle: {
barBorderRadius: [20,20,20,20],
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{ offset: 0, color: 'rgba(178, 189, 255,0)' },
// { offset: 0.5, color: '#188df0' },
{ offset: 1, color: 'rgba(82, 106, 255,0)' }
])
},
},
{
data: [60, 90, 50, 80, 50, 80], data: [60, 90, 50, 80, 50, 80],
type: 'bar', type: 'bar',
barWidth: 14, barWidth: 14,
stack: '1',
itemStyle: { itemStyle: {
barBorderRadius: [20,20,20,20], barBorderRadius: [20,20,20,20],
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
@ -374,7 +416,7 @@ export default {
{ offset: 1, color: 'rgba(82, 106, 255,0.8)' } { offset: 1, color: 'rgba(82, 106, 255,0.8)' }
]) ])
}, },
} },
] ]
}; };

View File

@ -358,6 +358,7 @@ export default {
padding-left: 20px; padding-left: 20px;
margin-top: 20px; margin-top: 20px;
margin-right: 20px; margin-right: 20px;
/* background-image:url("../../../assets/img/排行榜背景图.png"); */
} }
.container-body5{ .container-body5{
width:640px; width:640px;