From 724e0564f5220e92a131b9352d304b656854fa91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E5=87=AF?= <2448379534@qq.com> Date: Mon, 20 Apr 2026 09:13:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/layout/components/AppMain.vue | 2 +- .../src/modules/shengtaidabiaoMod/index.vue | 2 +- .../modules/shengtaidabiaoTwoMod/index.vue | 40 +++++++++---------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/frontend/src/layout/components/AppMain.vue b/frontend/src/layout/components/AppMain.vue index 0d48804..0cf653f 100644 --- a/frontend/src/layout/components/AppMain.vue +++ b/frontend/src/layout/components/AppMain.vue @@ -39,6 +39,6 @@ const routeKey = computed(() => router.path + Math.random()); position: absolute; width: 100%; height: 100%; - z-index: 1; + z-index: 2000; } diff --git a/frontend/src/modules/shengtaidabiaoMod/index.vue b/frontend/src/modules/shengtaidabiaoMod/index.vue index 742bb27..bd7944a 100644 --- a/frontend/src/modules/shengtaidabiaoMod/index.vue +++ b/frontend/src/modules/shengtaidabiaoMod/index.vue @@ -113,7 +113,7 @@ onMounted(() => { display: flex; justify-content: space-between; align-items: center; - margin-bottom: 8px; + margin-bottom: 16px; .title_text { font-size: 16px; diff --git a/frontend/src/modules/shengtaidabiaoTwoMod/index.vue b/frontend/src/modules/shengtaidabiaoTwoMod/index.vue index 2816903..e137d52 100644 --- a/frontend/src/modules/shengtaidabiaoTwoMod/index.vue +++ b/frontend/src/modules/shengtaidabiaoTwoMod/index.vue @@ -101,21 +101,9 @@ const initChart = () => { }, legend: { data: ['当前', '去年同期'], - top: 0, - left: 'center', - itemWidth: 20, - itemHeight: 10, - textStyle: { - color: '#666' - } - }, - grid: { - left: isHorizontal ? '3%' : '10%', - right: isHorizontal ? '4%' : '4%', - bottom: isHorizontal ? '3%' : '10%', - top: isHorizontal ? '50' : '60', - containLabel: true + }, + grid: { left: 10, right: 10, bottom: 20, top: 40, containLabel: true }, dataZoom: [ { type: 'inside', @@ -221,8 +209,8 @@ const initChart = () => { itemStyle: { color: '#5470C6' }, - barWidth: isHorizontal ? 6 : 10, - barGap: '30%' + barWidth: isHorizontal ? 8 : 8, + // barGap: '30%' }, { name: '去年同期', @@ -231,8 +219,8 @@ const initChart = () => { itemStyle: { color: '#91CC75' }, - barWidth: isHorizontal ? 6 : 10, - barGap: '30%' + barWidth: isHorizontal ? 8: 8, + // barGap: '30%' } ] }; @@ -262,6 +250,17 @@ watch(mode, () => {