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:
@@ -24,7 +24,6 @@ import { useLocation, useNavigate } from 'react-router-dom';
|
||||
import InvestmentPlanningCenter from './components/InvestmentPlanningCenter';
|
||||
import { getEventDetailUrl } from '@/utils/idEncoder';
|
||||
import MarketDashboard from '@views/Profile/components/MarketDashboard';
|
||||
import StrategyCenter from '@views/Profile/components/StrategyCenter';
|
||||
import ForumCenter from '@views/Profile/components/ForumCenter';
|
||||
import WatchSidebar from '@views/Profile/components/WatchSidebar';
|
||||
import { THEME } from '@views/Profile/components/MarketDashboard/constants';
|
||||
@@ -228,17 +227,12 @@ const CenterDashboard: React.FC = () => {
|
||||
<MarketDashboard />
|
||||
</Box>
|
||||
|
||||
{/* 投资规划中心 */}
|
||||
<Box mb={4}>
|
||||
<StrategyCenter />
|
||||
</Box>
|
||||
|
||||
{/* 价值论坛 / 互动中心 */}
|
||||
<Box mb={4}>
|
||||
<ForumCenter />
|
||||
</Box>
|
||||
|
||||
{/* 投资规划中心(整合了日历、计划、复盘) */}
|
||||
{/* 投资规划中心(整合了日历、计划、复盘,应用 FUI 毛玻璃风格) */}
|
||||
<Box>
|
||||
<InvestmentPlanningCenter />
|
||||
</Box>
|
||||
@@ -252,16 +246,6 @@ const CenterDashboard: React.FC = () => {
|
||||
position="sticky"
|
||||
top="80px"
|
||||
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
|
||||
watchlist={watchlist}
|
||||
|
||||
Reference in New Issue
Block a user