From fd01dd6f66f4e6757093539a6d54583ce24fd658 Mon Sep 17 00:00:00 2001 From: duanliang Date: Fri, 20 Dec 2024 17:47:18 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workOrder/components/box-2.vue | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) 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; }