From 70a77de2d1a5393bbe0aaf40c6af55b8cba9be90 Mon Sep 17 00:00:00 2001 From: dengyuxin Date: Fri, 12 Dec 2025 11:08:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9D=97=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/components/Home.vue | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1bead5a..49e784b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -342,7 +342,7 @@ body { .title-container h1 { margin: 0; - font-size: 28px; + font-size: 42px; font-weight: 600; color: #ffffff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 212, 255, 0.3); diff --git a/src/components/Home.vue b/src/components/Home.vue index c148944..7c4664d 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -214,7 +214,8 @@ } .province-price-ranking-chart { width: 100%; - height: 300px; + height: 100%; + min-height: 200px; } .price-ranking-panel { display: flex; @@ -364,7 +365,8 @@ } /* 左侧数据栏按列布局并占满视口高度 */ -.dashboard-left { +.dashboard-left, +.dashboard-right { display: flex; flex-direction: column; height: 100vh; @@ -1104,7 +1106,7 @@ export default { return `${p.axisValue}
${p.seriesName}: ${p.value} 元/斤` } }, - grid: { left: '4%', right: '0%', bottom: '15%', top: '10%', containLabel: true }, + grid: { left: '2%', right: '2%', bottom: '2%', top: '18%', containLabel: true }, xAxis: { type: 'category', data: xCategories,