生产管理系统前端 - 主页滚动条开发完毕

This commit is contained in:
2025-10-22 16:43:15 +08:00
parent f1ffcc72fc
commit 8ea90d980b
15 changed files with 182 additions and 143 deletions

View File

@@ -246,9 +246,8 @@ export function SideBarOld({
return allItems;
};
return (
<div className="flex h-screen bg-gray-100" style={{ height: '90vh' }}>
<div className="flex h-screen bg-gray-100 bodySon2">
{/* 左侧导航栏 */}
<LeftSidebar
menus={menus}

View File

@@ -99,11 +99,8 @@ export function MainContent({
{/* 主内容区域 */}
<main className="flex-1 overflow-auto">
<div className="p-6">
{/* 页面内容 */}
<div className="bg-white rounded-lg border border-gray-200 p-6 shadow-sm">
{children}
</div>
{children}
</div>
</main>
</div>