feat: 增加登录

This commit is contained in:
秋水浮尘
2023-11-09 00:29:43 +08:00
parent a635d71a3c
commit 25f1c269cd
16 changed files with 157 additions and 219 deletions

View File

@@ -12,9 +12,9 @@ const App = () => {
}
}, [location])
return (
<div className="app-main">
<div className="app-main" style={{ padding: location.pathname === '/login' ? '66px 0 0' : '66px 16px 32px' }}>
<Header />
<div className='content-box'>
<div className='content-box' style={{ width: location.pathname === '/login' ? '100%' : '1439px' }}>
<Outlet />
</div>
</div>