diff --git a/frontend/src/pages/home/index.less b/frontend/src/pages/home/index.less index 55e88fa..83face9 100644 --- a/frontend/src/pages/home/index.less +++ b/frontend/src/pages/home/index.less @@ -3,15 +3,41 @@ @home-text-gray: #475569; // ui-ux-pro-max slate-600 @home-bg: #f8fafc; // ui-ux-pro-max slate-50 +.home-page { + padding: 8px; + min-width: 0; + background: #f5f6fa; +} + +.home-page > .page-container__body { + padding: 0; + overflow: hidden; + border: none; + border-radius: 0; + background: transparent; +} + +.home-shell-card .section-card__content { + padding: 8px; +} + +.home-data-panel .data-list-panel__table-area, +.home-data-panel .app-page__table-wrap { + height: 100%; + min-height: 0; +} + .home-container { position: relative; flex: 1; - min-height: 100%; // Changed from height: 100% to avoid height conflicts - padding: clamp(40px, 8vh, 80px) clamp(24px, 5vw, 60px) 0; // Top shift down, ZERO bottom padding + height: 100%; + min-height: 100%; + padding: clamp(40px, 8vh, 80px) clamp(24px, 5vw, 60px) 0; + border-radius: 4px; background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%); color: @home-text-main; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; - overflow-x: hidden; + overflow: hidden auto; z-index: 1; display: flex; flex-direction: column; diff --git a/frontend/src/pages/home/index.tsx b/frontend/src/pages/home/index.tsx index 9b557d6..ae370cd 100644 --- a/frontend/src/pages/home/index.tsx +++ b/frontend/src/pages/home/index.tsx @@ -9,6 +9,9 @@ import { useNavigate } from "react-router-dom"; import dayjs from "dayjs"; import { getRecentTasks } from "@/api/business/dashboard"; import { getMeetingCreateConfig, type MeetingCreateConfig, type MeetingVO } from "@/api/business/meeting"; +import DataListPanel from "@/components/shared/DataListPanel"; +import PageContainer from "@/components/shared/PageContainer"; +import SectionCard from "@/components/shared/SectionCard"; import "./index.less"; import RightVisual from "./RightVisual"; import { MeetingCreateDrawer, MeetingCreateType } from "@/components/business/MeetingCreateDrawer"; @@ -193,156 +196,162 @@ export default function HomePage() { }; return ( -
- {/* Massive Abstract Background Sphere matching the design/img.png */} -
+ + + ); }