diff --git a/src/views/Center/components/InvestmentPlanningCenter.tsx b/src/views/Center/components/InvestmentPlanningCenter.tsx index 92402ac1..70ed3b53 100644 --- a/src/views/Center/components/InvestmentPlanningCenter.tsx +++ b/src/views/Center/components/InvestmentPlanningCenter.tsx @@ -15,9 +15,6 @@ import React, { useState, useEffect, useCallback, useMemo, Suspense, lazy } from 'react'; import { Box, - Card, - CardHeader, - CardBody, Heading, HStack, Flex, @@ -33,14 +30,16 @@ import { Center, Button, ButtonGroup, + Text, } from '@chakra-ui/react'; import { FiCalendar, - FiTarget, FiFileText, FiList, FiPlus, } from 'react-icons/fi'; +import { Target } from 'lucide-react'; +import GlassCard from '@components/GlassCard'; import { PlanningDataProvider } from './PlanningContext'; import type { InvestmentEvent, PlanningContextValue } from '@/types'; @@ -160,37 +159,64 @@ const InvestmentPlanningCenter: React.FC = () => { [allEvents] ); + // 金色主题色 + const goldAccent = 'rgba(212, 175, 55, 0.9)'; + return ( - - - - - - 投资规划中心 - - {/* 视图切换按钮组 - H5隐藏 */} - - - - - - - + + {/* 标题区域 */} + + + + + 投资规划中心 + + + {/* 视图切换按钮组 - H5隐藏 */} + + + + + + + {/* 渐变分割线 */} + + + {/* 内容区域 */} + {viewMode === 'calendar' ? ( /* 日历视图 */ }> @@ -201,27 +227,52 @@ const InvestmentPlanningCenter: React.FC = () => { - - - + + + 我的计划 ({planCount}) - + 我的复盘 ({reviewCount})