refactor(Concept): 优化 3D 力导向图和层级图组件

ForceGraphView:
- 优化 API 请求路径兼容性
- 改进数据处理逻辑

HierarchyView:
- 优化层级数据获取
- 改进 API 兼容性

DataVisualizationComponents:
- 代码优化

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-16 13:10:18 +08:00
parent 573fa409e3
commit 72aef087ea
3 changed files with 217 additions and 233 deletions

View File

@@ -297,15 +297,17 @@ const SectorHeatMap = ({ data }) => {
rx="8"
style={{
cursor: 'pointer',
transition: 'all 0.3s'
transition: 'all 0.2s ease-in-out'
}}
onMouseEnter={(e) => {
e.target.style.opacity = '0.8';
e.target.style.transform = 'scale(1.05)';
e.target.style.stroke = '#FFD700';
e.target.style.strokeWidth = '4';
e.target.style.filter = 'brightness(1.2) drop-shadow(0 0 8px rgba(255, 215, 0, 0.6))';
}}
onMouseLeave={(e) => {
e.target.style.opacity = '1';
e.target.style.transform = 'scale(1)';
e.target.style.stroke = '#fff';
e.target.style.strokeWidth = '2';
e.target.style.filter = 'none';
}}
>
<title>{`${sector.name}: ${sector.count}只涨停`}</title>