refactor(Center): 移除 StrategyCenter,简化布局

- 移除 StrategyCenter 组件引用
- 移除右侧边栏的滚动条样式(由子组件自行处理)
- 更新投资规划中心注释说明

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-23 10:55:46 +08:00
parent 600d9cc846
commit 22d731167c

View File

@@ -24,7 +24,6 @@ import { useLocation, useNavigate } from 'react-router-dom';
import InvestmentPlanningCenter from './components/InvestmentPlanningCenter'; import InvestmentPlanningCenter from './components/InvestmentPlanningCenter';
import { getEventDetailUrl } from '@/utils/idEncoder'; import { getEventDetailUrl } from '@/utils/idEncoder';
import MarketDashboard from '@views/Profile/components/MarketDashboard'; import MarketDashboard from '@views/Profile/components/MarketDashboard';
import StrategyCenter from '@views/Profile/components/StrategyCenter';
import ForumCenter from '@views/Profile/components/ForumCenter'; import ForumCenter from '@views/Profile/components/ForumCenter';
import WatchSidebar from '@views/Profile/components/WatchSidebar'; import WatchSidebar from '@views/Profile/components/WatchSidebar';
import { THEME } from '@views/Profile/components/MarketDashboard/constants'; import { THEME } from '@views/Profile/components/MarketDashboard/constants';
@@ -228,17 +227,12 @@ const CenterDashboard: React.FC = () => {
<MarketDashboard /> <MarketDashboard />
</Box> </Box>
{/* 投资规划中心 */}
<Box mb={4}>
<StrategyCenter />
</Box>
{/* 价值论坛 / 互动中心 */} {/* 价值论坛 / 互动中心 */}
<Box mb={4}> <Box mb={4}>
<ForumCenter /> <ForumCenter />
</Box> </Box>
{/* 投资规划中心(整合了日历、计划、复盘) */} {/* 投资规划中心(整合了日历、计划、复盘,应用 FUI 毛玻璃风格 */}
<Box> <Box>
<InvestmentPlanningCenter /> <InvestmentPlanningCenter />
</Box> </Box>
@@ -252,16 +246,6 @@ const CenterDashboard: React.FC = () => {
position="sticky" position="sticky"
top="80px" top="80px"
alignSelf="flex-start" alignSelf="flex-start"
maxH="calc(100vh - 100px)"
overflowY="auto"
css={{
'&::-webkit-scrollbar': { width: '4px' },
'&::-webkit-scrollbar-track': { background: 'transparent' },
'&::-webkit-scrollbar-thumb': {
background: 'rgba(212, 175, 55, 0.3)',
borderRadius: '2px',
},
}}
> >
<WatchSidebar <WatchSidebar
watchlist={watchlist} watchlist={watchlist}