From 19b415a1aa36dc70e5546b0fdeefa6a39570f19b Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周日, 10 11月 2024 09:07:50 +0800 Subject: [PATCH] 大屏整改 --- yiqi_screen/src/components/QualityDataTrends.vue | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/yiqi_screen/src/components/QualityDataTrends.vue b/yiqi_screen/src/components/QualityDataTrends.vue index 9d99130..1bfa404 100644 --- a/yiqi_screen/src/components/QualityDataTrends.vue +++ b/yiqi_screen/src/components/QualityDataTrends.vue @@ -1,5 +1,5 @@ <template> - <div class="box-container" style="height: 1.52rem" id="echarts3"></div> + <div class="box-container echarts3Box" id="echarts3"></div> </template> <script> @@ -21,9 +21,9 @@ data: [], }, grid: { - left: 13, - right: 13, - top: 20, + left: 33, + right: 33, + top: 55, bottom:5, }, yAxis: { @@ -35,15 +35,16 @@ data: [], type: "line", // symbol:'none', - symbolSize: 0, + // symbolSize: 0, lineStyle: { - color: "#fff", + color: "#7b8fe6", }, itemStyle: { normal: { label: { show: true, - color: "#fff", + + color: "#7b8fe6", }, }, }, @@ -141,4 +142,7 @@ </script> <style> + .echarts3Box{ + height: 150px !important; + } </style> \ No newline at end of file -- Gitblit v1.9.3