From 1ab6e37fe1f3b3cc7f3b9f506eb6dc6c18d3b8f4 Mon Sep 17 00:00:00 2001 From: puz <13060209078@163.com> Date: Tue, 30 Jun 2026 15:25:51 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E9=A6=96=E9=A1=B5=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/home/index.less | 32 +++- frontend/src/pages/home/index.tsx | 293 +++++++++++++++-------------- 2 files changed, 180 insertions(+), 145 deletions(-) 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 */} -
+ + + ); }