From 7bca6b14e45cae613287c038f0fe87740cb92ba4 Mon Sep 17 00:00:00 2001 From: lb Date: Wed, 9 Nov 2022 10:14:56 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=85=AC=E7=94=A8=E5=B7=A5=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/3DOverview/components/DianChart.vue | 24 ++++++++++++++----- .../components/LeftContentPublicConsume.vue | 18 ++++++++------ 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/src/views/3DOverview/components/DianChart.vue b/src/views/3DOverview/components/DianChart.vue index b345a8a..d1ef952 100644 --- a/src/views/3DOverview/components/DianChart.vue +++ b/src/views/3DOverview/components/DianChart.vue @@ -57,7 +57,7 @@ export default { textStyle: { color: '#fff9', fontSize: 8 - }, + } // data: ['ABC三相电压/v', 'ABC三相电流/a', '电缆温度'] }, grid: { @@ -83,7 +83,7 @@ export default { yAxis: [ { name: '电流/A', - nameTextStyle: { align: 'right', fontSize: 8 }, + nameTextStyle: { align: 'right', fontSize: 9, color: '#fff9' }, type: 'value', splitNumber: 4, onZero: true, @@ -93,10 +93,14 @@ export default { axisLine: { show: true, lineStyle: { - color: '#fff9', + color: '#5982B2', width: 1 } }, + axisLabel: { + color: '#fff9', + fontSize: 10 + }, splitLine: { show: false // lineStyle: { @@ -106,7 +110,7 @@ export default { }, { name: '电压/V', - nameTextStyle: { align: 'right', fontSize: 8 }, + nameTextStyle: { align: 'right', fontSize: 9, color: '#fff9' }, type: 'value', splitNumber: 4, axisTick: { show: false }, @@ -116,10 +120,14 @@ export default { axisLine: { show: true, lineStyle: { - color: '#fff9', + color: '#5982B2', width: 1 } }, + axisLabel: { + color: '#fff9', + fontSize: 10 + }, splitLine: { show: false // lineStyle: { @@ -129,7 +137,7 @@ export default { }, { name: '温度', - nameTextStyle: { align: 'left', color: '#fff9', fontSize: 8 }, + nameTextStyle: { align: 'left', color: '#fff9', fontSize: 9 }, axisTick: { show: false }, axisLine: { show: false, @@ -144,6 +152,10 @@ export default { lineStyle: { color: '#fff3' } + }, + axisLabel: { + color: '#fff9', + fontSize: 10 } } ], diff --git a/src/views/3DOverview/components/LeftContentPublicConsume.vue b/src/views/3DOverview/components/LeftContentPublicConsume.vue index b05c5ec..875eb18 100644 --- a/src/views/3DOverview/components/LeftContentPublicConsume.vue +++ b/src/views/3DOverview/components/LeftContentPublicConsume.vue @@ -27,8 +27,8 @@
-
- water +
+ water
@@ -62,8 +62,8 @@
-
- qi +
+ qi
@@ -95,7 +95,7 @@
- dian + dian
@@ -107,7 +107,7 @@
- fadian + fadian 发电
@@ -211,6 +211,7 @@ export default { display: flex; align-items: center; width: 100%; + height: calc(100vmin / 1920 * 28); } .row > .name, @@ -226,7 +227,10 @@ export default { .diy-process-bar { margin: 0 8px; border-radius: 7px; - height: 8px; + height: calc(100vmin / 1920 * 14); + /* margin: 0 8px; + border-radius: 7px; */ + /* height: 8px; */ flex: 1 1; background-color: #fff3; overflow: hidden;