This commit is contained in:
2026-05-14 19:55:53 +08:00
parent c764603dbd
commit 8a16b01e9e
55 changed files with 5754 additions and 5277 deletions
+8 -8
View File
@@ -131,8 +131,8 @@ export default function NotePage() {
const siderWidth = siderFlag ? '265px' : '0px';
return (
<Layout style={{ border: '1px solid var(--semi-color-border)' }}>
<Header style={{ backgroundColor: 'var(--semi-color-bg-1)' }}>
<Layout style={{ border: '1px solid var(--semi-color-border)', height: '100vh', overflow: 'hidden' }}>
<Header style={{ backgroundColor: 'var(--semi-color-bg-1)', flexShrink: 0 }}>
<Nav mode="horizontal" defaultSelectedKeys={['Home']}>
<Nav.Header>
<IconDescriptions style={{ height: '36px', fontSize: 36 }} />
@@ -181,9 +181,9 @@ export default function NotePage() {
</Nav>
</Header>
<Layout>
<Layout style={{ flex: 1, minHeight: 0 }}>
<Sider
style={{ width: siderWidth, backgroundColor: 'var(--semi-color-bg-1)' }}
style={{ width: siderWidth, backgroundColor: 'var(--semi-color-bg-1)', overflowY: 'auto' }}
breakpoint={['md']}
onBreakpoint={handleBreakpoint}
>
@@ -207,13 +207,13 @@ export default function NotePage() {
{/* Main content area */}
{activeView === 'note' && (
<Content style={{ padding: '10px', backgroundColor: 'var(--semi-color-bg-0)' }}>
<Content style={{ padding: '0 10px 10px', backgroundColor: 'var(--semi-color-bg-0)', overflowY: 'auto' }}>
<NoteEditor />
</Content>
)}
{activeView === 'home' && (
<Content style={{ padding: '10px', backgroundColor: 'var(--semi-color-bg-0)' }}>
<Content style={{ padding: '10px', backgroundColor: 'var(--semi-color-bg-0)', overflowY: 'auto' }}>
<Breadcrumb style={{ marginBottom: 24 }} routes={['首页']} />
<div
style={{
@@ -228,7 +228,7 @@ export default function NotePage() {
)}
{activeView === 'settings' && (
<Content style={{ padding: '10px', backgroundColor: 'var(--semi-color-bg-0)' }}>
<Content style={{ padding: '10px', backgroundColor: 'var(--semi-color-bg-0)', overflowY: 'auto' }}>
<Breadcrumb style={{ marginBottom: 24 }} routes={['设置']} />
<div
style={{
@@ -284,7 +284,7 @@ export default function NotePage() {
)}
{activeView === 'search' && (
<Content style={{ padding: 24, backgroundColor: 'var(--semi-color-bg-0)' }}>
<Content style={{ padding: 24, backgroundColor: 'var(--semi-color-bg-0)', overflowY: 'auto' }}>
<Breadcrumb style={{ marginBottom: 24 }} routes={['搜索结果']} />
<div
style={{