From 55b9d187e3be603d70ef6984723990cde63cb6c7 Mon Sep 17 00:00:00 2001 From: xuyoubin <1562013420@qq.com> Date: Fri, 22 Dec 2023 10:08:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9ABUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- god-ui/src/views/battery/index.vue | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/god-ui/src/views/battery/index.vue b/god-ui/src/views/battery/index.vue index ef7c1ac9..ceb60ca9 100644 --- a/god-ui/src/views/battery/index.vue +++ b/god-ui/src/views/battery/index.vue @@ -69,12 +69,12 @@ export default { { msg: "动力电池溯源信息接口采集", color: "#73bfdd", - path:'batteryPort' + path:'batteryPort/production' }, { msg: "动力电池信息总部上报", color: "#90cb75", - path:'batteryReported' + path:'batteryReported/productionReported' }, { msg: "动力电池溯源系统", @@ -145,7 +145,6 @@ export default { initChartStatic( "chart1", generatePieOptions({ - backgroundColor: "#f8f8f8", legend: { // 图例配置 top: "center", @@ -252,7 +251,6 @@ export default { initChartStatic( "chart3", generatePieOptions({ - backgroundColor: "#f8f8f8", legend: { // 图例配置 show:false, @@ -301,11 +299,6 @@ export default { fontSize: 12, lineHeight: 33, }, - per: { - color: "#252525", - fontSize: 12, - lineHeight: 33, - }, }, }, }, @@ -390,9 +383,8 @@ export default { ], grid: { left: '10%', - top: '10%', right: '10%', - bottom: '10%' + bottom: '20%' } })); }, @@ -478,14 +470,14 @@ export default { } .footer { width: 100%; - height: 300px; + height: 400px; display: flex; padding: 10px 15px; justify-content: space-between; - background: #fff; .footer-left{ width: 49.5%; - height: calc(300px - 80px); + height: calc(400px - 80px); + background: #fff; #chart3{ width: 100%; height: 100%; @@ -493,7 +485,8 @@ export default { } .footer-right{ width: 49.5%; - height: calc(300px - 80px); + height: calc(400px - 80px); + background: #fff; #chart4{ width: 100%; height: 100%;