0eb1d00482c0d9421afa346b08469726fd569d7d
目录结构拆分: - types.ts: HeatmapDataItem, MarketHeatmapProps, TreeNodeData 等类型定义 - styles.ts: 颜色常量、ECharts 配置常量、涨跌幅阈值 - utils.ts: getMarketCapRange, getChangeColor, buildTreeData, tooltip 格式化函数 - components/HeatmapLegend.tsx: 图例原子组件 性能优化: - 使用 useMemo 缓存树图数据构建和 ECharts 配置 - HeatmapLegend 使用 memo 包装 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
前端
Languages
HTML
75.9%
JavaScript
9.6%
CSS
8%
SCSS
3.2%
Python
2.1%
Other
1.2%