diff --git a/src/views/workOrder/components/box-2.vue b/src/views/workOrder/components/box-2.vue index d71975e..1ed5789 100644 --- a/src/views/workOrder/components/box-2.vue +++ b/src/views/workOrder/components/box-2.vue @@ -400,9 +400,9 @@ }) const optionLine = ref({ backgroundColor:'transparent', - height:fitChartSize(240), + height:'90%', grid:{ - top:'30', + top:'20', bottom:'0', left:'4%', containLabel: true, @@ -465,7 +465,18 @@ symbol:['none','none'], label:{show:false} }, - + areaStyle: { + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgba(125, 231, 255, 0.1)' + }, + { + offset: 1, + color: 'rgba(0, 157, 255, 0.1)' + } + ]) + }, lineStyle: { color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [ { @@ -582,8 +593,9 @@ } .box{ width:100%; - height:vh(300); + height:vh(250); display: flex; + margin-top:vh(30); .chart-1{ flex: 1; }