feat: basic layout and pages

- add basic layout with sidebar and main container
- add three menus in sidebar
- add people form page for post people
- add text and image input for recognize people info
- add people table page for show peoples
This commit is contained in:
2025-10-21 11:47:28 +08:00
parent 7c28eda415
commit ddb04ff15e
20 changed files with 1284 additions and 102 deletions

36
src/styles/base.css Normal file
View File

@@ -0,0 +1,36 @@
/* 全局基础样式 */
@supports (font-variation-settings: normal) {
:root { font-synthesis-weight: none; }
}
html, body, #root {
height: 100%;
}
body {
margin: 0;
background: radial-gradient(1200px 600px at 70% -100px, rgba(92,124,255,0.25) 0%, rgba(92,124,255,0.06) 45%, transparent 60%),
radial-gradient(800px 400px at -200px 20%, rgba(120,220,255,0.15) 0%, rgba(120,220,255,0.06) 50%, transparent 70%),
#0f172a; /* slate-900 */
color: #e5e7eb; /* gray-200 */
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* 让 Ant Design 的 Layout 充满视口 */
.app-root {
min-height: 100vh;
}
/* 统一滚动条样式(轻度) */
* {
scrollbar-width: thin;
scrollbar-color: rgba(255,255,255,0.2) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.2);
border-radius: 6px;
}