From f2713e5e0a80511f4dd2219b226735f1d678c9ec Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Mon, 15 Dec 2025 14:22:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A1=91=E5=9F=BA=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E8=A2=AB=E5=9B=BE=E8=A1=A8=E9=81=AE=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 标题 top 调整为 5 - 桑基图 series 添加 top: 50 给标题留出空间 - 添加 bottom, left, right 边距配置 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../EventDetail/components/TransmissionChainAnalysis.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/EventDetail/components/TransmissionChainAnalysis.js b/src/views/EventDetail/components/TransmissionChainAnalysis.js index c9ce0085..412fdf43 100644 --- a/src/views/EventDetail/components/TransmissionChainAnalysis.js +++ b/src/views/EventDetail/components/TransmissionChainAnalysis.js @@ -349,7 +349,7 @@ function getSankeyOption(data) { title: { text: '事件影响力传导流向', left: 'center', - top: 10, + top: 5, textStyle: { color: '#00d2d3', fontSize: 16, @@ -379,6 +379,10 @@ function getSankeyOption(data) { series: [{ type: 'sankey', layout: 'none', + top: 50, // 给标题留出空间 + bottom: 20, + left: 20, + right: 150, // 右侧留空间给标签 emphasis: { focus: 'adjacency' }, nodeAlign: 'justify', layoutIterations: 0,