From cc7fdbff56fcc9e9caa298360706d78e303ea356 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Fri, 5 Dec 2025 18:04:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20UI=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dashboard/components/CalendarPanel.tsx | 30 +++- .../components/InvestmentCalendar.css | 156 ------------------ .../components/InvestmentCalendar.less | 123 ++++++++++++++ .../components/InvestmentCalendarChakra.js | 2 +- .../components/InvestmentPlanningCenter.tsx | 21 +-- 5 files changed, 162 insertions(+), 170 deletions(-) delete mode 100644 src/views/Dashboard/components/InvestmentCalendar.css create mode 100644 src/views/Dashboard/components/InvestmentCalendar.less diff --git a/src/views/Dashboard/components/CalendarPanel.tsx b/src/views/Dashboard/components/CalendarPanel.tsx index 5acb0135..f8a8f11e 100644 --- a/src/views/Dashboard/components/CalendarPanel.tsx +++ b/src/views/Dashboard/components/CalendarPanel.tsx @@ -26,6 +26,7 @@ import 'dayjs/locale/zh-cn'; import { usePlanningData } from './PlanningContext'; import { EventDetailModal } from './EventDetailModal'; import type { InvestmentEvent } from '@/types'; +import './InvestmentCalendar.less'; // 懒加载投资日历组件 const InvestmentCalendar = lazy(() => import('@/views/Community/components/InvestmentCalendar')); @@ -108,14 +109,37 @@ export const CalendarPanel: React.FC = () => { return ( - + @@ -186,22 +186,23 @@ const InvestmentPlanningCenter: React.FC = () => { colorScheme="purple" size={{ base: 'sm', md: 'md' }} > - - - - + + + + 我的计划 ({planCount}) - - + + 我的复盘 ({reviewCount})