1
This commit is contained in:
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
|
||||||
<title>民众智创</title>
|
<title>民众智创</title>
|
||||||
<script type="module" crossorigin src="/assets/index-CMTCkNUS.js"></script>
|
<script type="module" crossorigin src="/assets/index-DGtzNja9.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-KEztuQj6.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-KEztuQj6.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -917,13 +917,14 @@ const AppLayout: React.FC = () => {
|
|||||||
minHeight: '100vh',
|
minHeight: '100vh',
|
||||||
}}>
|
}}>
|
||||||
<ActivityBanner onVisibilityChange={(v) => setBannerVisible(v)} />
|
<ActivityBanner onVisibilityChange={(v) => setBannerVisible(v)} />
|
||||||
|
<div style={{ display: 'flex', position: 'relative', padding: '16px 16px 16px 16px' }}>
|
||||||
<div className="desktop-sidebar" style={{
|
<div className="desktop-sidebar" style={{
|
||||||
width: sidebarW, position: 'fixed', left: 16, top: bannerVisible ? 44 : 16, bottom: 16, zIndex: 100,
|
width: sidebarW, position: 'absolute', left: 16, top: 16, bottom: 16, zIndex: 100,
|
||||||
background: 'linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)',
|
background: 'linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)',
|
||||||
borderRadius: '20px',
|
borderRadius: '20px',
|
||||||
boxShadow: '0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)',
|
boxShadow: '0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)',
|
||||||
display: 'flex', flexDirection: 'column',
|
display: 'flex', flexDirection: 'column',
|
||||||
transition: 'top 0.2s ease, width 0.25s ease, left 0.25s ease',
|
transition: 'width 0.25s ease',
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
border: '1px solid rgba(0, 0, 0, 0.06)',
|
border: '1px solid rgba(0, 0, 0, 0.06)',
|
||||||
}}>
|
}}>
|
||||||
@@ -1137,15 +1138,11 @@ const AppLayout: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="desktop-content" style={{
|
<div className="desktop-content" style={{
|
||||||
marginLeft: sidebarW + 28,
|
marginLeft: sidebarW + 12,
|
||||||
marginRight: 12,
|
|
||||||
marginTop: 8,
|
|
||||||
marginBottom: 16,
|
|
||||||
flex: 1,
|
flex: 1,
|
||||||
minHeight: 'calc(100vh - 32px)',
|
minHeight: 'calc(100vh - 32px)',
|
||||||
background: 'transparent',
|
background: 'transparent',
|
||||||
padding: 0,
|
padding: 0,
|
||||||
transition: 'margin-left 0.25s ease',
|
|
||||||
}}>
|
}}>
|
||||||
<div style={{
|
<div style={{
|
||||||
boxSizing: 'border-box',
|
boxSizing: 'border-box',
|
||||||
@@ -1160,6 +1157,7 @@ const AppLayout: React.FC = () => {
|
|||||||
{!isMobile && <Outlet />}
|
{!isMobile && <Outlet />}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="mobile-header">
|
<div className="mobile-header">
|
||||||
<div className="mobile-header-content">
|
<div className="mobile-header-content">
|
||||||
|
|||||||
Reference in New Issue
Block a user