修改模块样式

This commit is contained in:
2025-12-12 11:08:17 +08:00
parent ecf3e61fca
commit 70a77de2d1
2 changed files with 6 additions and 4 deletions

View File

@@ -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}<br/>${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,