|
@@ -62,9 +62,10 @@ export default {
|
|
|
axisTick: 'none',
|
|
axisTick: 'none',
|
|
|
axisLine: 'none',
|
|
axisLine: 'none',
|
|
|
axisLabel: {
|
|
axisLabel: {
|
|
|
|
|
+ show: false,
|
|
|
textStyle: {
|
|
textStyle: {
|
|
|
color: '#ffffff',
|
|
color: '#ffffff',
|
|
|
- fontSize: '12'
|
|
|
|
|
|
|
+ fontSize: this.EchartfontSize(12)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
data: ['4', '13', '25', '29', '38']
|
|
data: ['4', '13', '25', '29', '38']
|
|
@@ -72,7 +73,7 @@ export default {
|
|
|
{
|
|
{
|
|
|
nameTextStyle: {
|
|
nameTextStyle: {
|
|
|
color: '#ffffff',
|
|
color: '#ffffff',
|
|
|
- fontSize: '12'
|
|
|
|
|
|
|
+ fontSize: this.EchartfontSize(12)
|
|
|
},
|
|
},
|
|
|
axisLine: {
|
|
axisLine: {
|
|
|
lineStyle: {
|
|
lineStyle: {
|
|
@@ -90,15 +91,15 @@ export default {
|
|
|
data: [4, 13, 25, 29, 38],
|
|
data: [4, 13, 25, 29, 38],
|
|
|
label: {
|
|
label: {
|
|
|
normal: {
|
|
normal: {
|
|
|
- show: false,
|
|
|
|
|
- position: 'left',
|
|
|
|
|
|
|
+ show: true,
|
|
|
|
|
+ position: [this.EchartfontSize(240), -this.EchartfontSize(18)],
|
|
|
textStyle: {
|
|
textStyle: {
|
|
|
color: '#ffffff',
|
|
color: '#ffffff',
|
|
|
- fontSize: '12'
|
|
|
|
|
|
|
+ fontSize: this.EchartfontSize(12)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- barWidth: 10,
|
|
|
|
|
|
|
+ barWidth: this.EchartfontSize(10),
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: 0, color: '#205047'}, {
|
|
color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: 0, color: '#205047'}, {
|
|
|
offset: 1,
|
|
offset: 1,
|
|
@@ -128,7 +129,7 @@ export default {
|
|
|
yAxisIndex: 2,
|
|
yAxisIndex: 2,
|
|
|
// barGap: '-100%',
|
|
// barGap: '-100%',
|
|
|
data: [100, 100, 100, 100],
|
|
data: [100, 100, 100, 100],
|
|
|
- barWidth: 6,
|
|
|
|
|
|
|
+ barWidth: this.EchartfontSize(10),
|
|
|
itemStyle: {
|
|
itemStyle: {
|
|
|
normal: {
|
|
normal: {
|
|
|
color: 'rgb(31, 46, 55)'
|
|
color: 'rgb(31, 46, 55)'
|
|
@@ -139,9 +140,9 @@ export default {
|
|
|
show: true,
|
|
show: true,
|
|
|
textStyle: {
|
|
textStyle: {
|
|
|
color: '#ffffff',
|
|
color: '#ffffff',
|
|
|
- fontSize: '14'
|
|
|
|
|
|
|
+ fontSize: this.EchartfontSize(14)
|
|
|
},
|
|
},
|
|
|
- position: [0, '-24px'],
|
|
|
|
|
|
|
+ position: [0, -this.EchartfontSize(18)],
|
|
|
formatter: (a, b) => {
|
|
formatter: (a, b) => {
|
|
|
return labelList[a.dataIndex]
|
|
return labelList[a.dataIndex]
|
|
|
}
|
|
}
|
|
@@ -184,9 +185,10 @@ $xHeight: 120px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
- font-size: 18px;
|
|
|
|
|
|
|
+ font-size: 1.2vw;
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
color: white;
|
|
color: white;
|
|
|
|
|
+
|
|
|
&.cr-1, &.cr-3 {
|
|
&.cr-1, &.cr-3 {
|
|
|
background-image: url("/static/images/shoudian_circular_1@2x.png");
|
|
background-image: url("/static/images/shoudian_circular_1@2x.png");
|
|
|
}
|
|
}
|