From f1ba8e375237b7d622c447bfd0e462d2ea1bb644 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Wed, 29 Oct 2025 18:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../screen/wsScreen/components/left/EquipItem.vue | 5 +++-- .../wsScreen/components/left/EquipItemMore.vue | 2 +- .../screen/wsScreen/components/left/RightItem.vue | 14 +++++++++++++- .../screen/wsScreen/components/left/index.vue | 6 +++--- .../components/left/UnitEquipmentConfig.vue | 2 ++ .../wsScreenWidescreen/components/left/index.vue | 6 +++--- .../components/right/ProEquipSituationList.vue | 2 ++ .../components/right/UsageRateSituationList.vue | 2 ++ 8 files changed, 29 insertions(+), 10 deletions(-) diff --git a/src/views/screen/wsScreen/components/left/EquipItem.vue b/src/views/screen/wsScreen/components/left/EquipItem.vue index a892cade..11dc5fa8 100644 --- a/src/views/screen/wsScreen/components/left/EquipItem.vue +++ b/src/views/screen/wsScreen/components/left/EquipItem.vue @@ -137,8 +137,9 @@ export default { .left-tip { padding-top: 6px; padding-bottom: 15px; - font-size: 12px; + font-size: 11px; font-weight: 600; + width: 50px; } } @@ -146,7 +147,7 @@ export default { margin-left: 10px; margin-top: 16px; padding: 4px 0; - font-size: 12px; + font-size: 11px; font-weight: 600; width: 100px; text-align: center; diff --git a/src/views/screen/wsScreen/components/left/EquipItemMore.vue b/src/views/screen/wsScreen/components/left/EquipItemMore.vue index 34e58a81..ec9ce2b8 100644 --- a/src/views/screen/wsScreen/components/left/EquipItemMore.vue +++ b/src/views/screen/wsScreen/components/left/EquipItemMore.vue @@ -4,7 +4,7 @@ v-if="dialogVisible" v-loading="isLoading" :visible.sync="dialogVisible" - width="60%" + width="80%" :modal="false" class="dlg-box" > diff --git a/src/views/screen/wsScreen/components/left/RightItem.vue b/src/views/screen/wsScreen/components/left/RightItem.vue index d948ced7..46287430 100644 --- a/src/views/screen/wsScreen/components/left/RightItem.vue +++ b/src/views/screen/wsScreen/components/left/RightItem.vue @@ -59,6 +59,17 @@ export default { top: '20%', bottom: '15%', }, + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'shadow', + }, + formatter: (params) => { + const item = params[0] + return `${item.name}
数量:${item.value}` + }, + }, + xAxis: { data: xData, axisTick: { show: false }, @@ -68,6 +79,7 @@ export default { color: '#ccc', fontSize: 12, margin: 10, + rotate: 45, }, }, yAxis: { @@ -143,7 +155,7 @@ export default {