From ca189372a9d058b6718d67f3bc8981d237dfc4f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Thu, 21 Dec 2023 09:57:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/LineChart.vue | 15 ++++++++------- src/views/index_v1.vue | 12 +++++++----- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/views/dashboard/LineChart.vue b/src/views/dashboard/LineChart.vue index 331c905..28bad48 100644 --- a/src/views/dashboard/LineChart.vue +++ b/src/views/dashboard/LineChart.vue @@ -132,14 +132,14 @@ export default { yAxisIndex:1, itemStyle: { normal: { - color: '#3888fa', + color: '#9fe080', lineStyle: { - color: '#3888fa', + color: '#9fe080', width: 2 }, - areaStyle: { - color: '#f3f8ff' - } + // areaStyle: { + // color: '#f3f8ff' + // } } }, data: expectedData, @@ -150,11 +150,12 @@ export default { name: '产量', smooth: false, type: 'bar', + barMaxWidth:60, itemStyle: { normal: { - color: '#3888fa', + color: '#9fe080', lineStyle: { - color: '#3888fa', + color: '#9fe080', width: 2 }, areaStyle: { diff --git a/src/views/index_v1.vue b/src/views/index_v1.vue index f75d82a..2b3d4cf 100644 --- a/src/views/index_v1.vue +++ b/src/views/index_v1.vue @@ -3,9 +3,6 @@ - - - + + + +
@@ -161,7 +162,8 @@ export default { padding: 8px; } } -.el-table th.el-table__cell > .cell{ - text-align: center ; + +.el-table th.el-table__cell > .cell { + text-align: center; }