fix: 修复主营业务饼图遮挡和涨幅分析mock数据

饼图优化:
- 饼图半径从50%减小到45%
- 饼图中心从48%上移到45%
- 图例字体从11px减小到10px
- 图例图标从12px减小到10px

涨幅分析mock数据:
- 修复数据结构匹配RiseAnalysis类型
- 添加完整的涨幅分析详情(业绩超预期/政策利好/资金流入/技术突破)
- 添加主营业务、详细分析(Markdown)、相关公告
- 添加研报引用数据(机构、分析师、匹配度)
- 30个交易日数据,任意点击都能看到内容

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-26 16:36:46 +08:00
parent 78a723dde7
commit c112dddb3d
2 changed files with 80 additions and 18 deletions

View File

@@ -266,27 +266,27 @@ export const getMainBusinessPieOption = (
},
legend: {
orient: 'horizontal',
bottom: 0,
bottom: 5,
left: 'center',
textStyle: {
color: '#E2E8F0',
fontSize: 11,
fontSize: 10,
},
itemWidth: 12,
itemHeight: 12,
itemGap: 8,
itemWidth: 10,
itemHeight: 10,
itemGap: 6,
},
color: BLACK_GOLD_PIE_COLORS,
series: [
{
type: 'pie',
radius: '50%',
center: ['50%', '48%'],
radius: '45%',
center: ['50%', '45%'],
data: data,
label: {
show: true,
color: '#E2E8F0',
fontSize: 11,
fontSize: 10,
formatter: '{d}%',
},
labelLine: {