fix: 修复UI文字横向显示问题,改为纵向布局

- 将 uiLayer.style.display 从 'flex' 改为 'block'
- 确保标题和副标题垂直堆叠显示
- 修复用户反馈的文字左右排列问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
KQL
2025-12-04 18:59:11 +08:00
parent e3de8485f2
commit e5a8cd9b19

View File

@@ -124,7 +124,7 @@ class App {
this.mapInterface.style.opacity = '0'; this.mapInterface.style.opacity = '0';
// 重置UI层和提示文字的状态 // 重置UI层和提示文字的状态
this.uiLayer.style.display = 'flex'; this.uiLayer.style.display = 'block';
this.hint.style.display = 'block'; this.hint.style.display = 'block';
// 不设置 opacity让GSAP的 fromTo() 控制 // 不设置 opacity让GSAP的 fromTo() 控制