Browse Source

feat: 大屏幕问题修改

sunxiao 1 month ago
parent
commit
eb05a667e3

+ 3 - 3
src/views/screen/ScreenViewBlack/components/ContinueData.vue

@@ -86,7 +86,7 @@ const getLineOptions = ({xAxisData, seriesData}) => {
         itemWidth: 8,
         y: 'top',
         x: 'right',
-        textStyle: {fontSize: '12px', color: '#415B73'},
+        textStyle: {fontSize: '12px', color: '#fff'},
         data: ['1#好氧池硝酸盐', '1#缺氧氨氮', '二沉池正磷酸盐']  
       },
       {
@@ -96,7 +96,7 @@ const getLineOptions = ({xAxisData, seriesData}) => {
       itemWidth: 8,
       y: '8%',
       x: 'right',
-      textStyle: {fontSize: '12px', color: '#415B73'},
+      textStyle: {fontSize: '12px', color: '#fff'},
       data: ['2#好氧池硝酸盐', '2#缺氧氨氮',]  
     }
     ],
@@ -224,7 +224,7 @@ onUnmounted(() => {
     display: flex;
     flex-flow: column;
     height: 100%;
-    color: #415B73;
+    color: #fff;
     font-size: 12px;
     font-weight: bold;
 

+ 1 - 1
src/views/screen/ScreenViewBlack/config/echartOption.js

@@ -8,7 +8,7 @@ export const getBarOptions = (currentData = []) => {
     },
     grid: {
       bottom: '4%',
-      top: "18%",
+      top: "6%",
       left: "5%",
       right: "2%",
       containLabel: true,