Преглед на файлове

王子文 2022年4月6日 15点58分 电厂大屏调整

wangggziwen преди 3 години
родител
ревизия
c572d4dc9e

+ 1 - 1
ui/src/views/monitor/elec/center.vue

@@ -271,7 +271,7 @@ export default {
             type: 'line',
             smooth: true,
             symbol: '',
-            symbolSize: 10,
+            symbolSize: 15,
             lineStyle: {
               color: '#5470C6',
               width: 6,

+ 26 - 2
ui/src/views/monitor/elec/centerRight1.vue

@@ -107,7 +107,19 @@ export default {
           {
             type: 'line',
             showSymbol: false,
-            data: dateNum
+            data: dateNum,
+            areaStyle: {
+              color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
+                {
+                  offset: 0,
+                  color: 'rgb(241,219,157)'
+                },
+                {
+                  offset: 1,
+                  color: 'rgb(212,119,108)'
+                }
+              ])
+            }
           },
         ]
       })
@@ -212,7 +224,19 @@ export default {
           {
             type: 'line',
             showSymbol: false,
-            data: dateNum
+            data: dateNum,
+            areaStyle: {
+              color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
+                {
+                  offset: 0,
+                  color: 'rgb(241,219,157)'
+                },
+                {
+                  offset: 1,
+                  color: 'rgb(212,119,108)'
+                }
+              ])
+            }
           },
         ]
       })

+ 1 - 1
ui/src/views/monitor/elec/echart/bottom/bottomRightChart.vue

@@ -274,7 +274,7 @@ export default {
             data:dateNum,
             type: 'line',
             smooth: true,
-            symbolSize: 10,
+            symbolSize: 15,
             color:"#28f8de",
             lineStyle: {
               width: 6