update ui
This commit is contained in:
@@ -398,13 +398,14 @@ const [currentMode, setCurrentMode] = useState('vertical');
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* 标题和搜索部分 - 可滚动区域 */}
|
{/* 标题和搜索部分 - 一行布局 */}
|
||||||
<CardHeader
|
<CardHeader
|
||||||
ref={cardHeaderRef}
|
ref={cardHeaderRef}
|
||||||
position="relative"
|
position="relative"
|
||||||
zIndex={1}
|
zIndex={1}
|
||||||
>
|
>
|
||||||
<Flex justify="space-between" align="center">
|
{/* 第一行:标题 + 通知开关 + 更新时间 */}
|
||||||
|
<Flex justify="space-between" align="center" mb={4}>
|
||||||
<VStack align="start" spacing={1}>
|
<VStack align="start" spacing={1}>
|
||||||
<Heading size="md">
|
<Heading size="md">
|
||||||
<HStack>
|
<HStack>
|
||||||
@@ -480,8 +481,7 @@ const [currentMode, setCurrentMode] = useState('vertical');
|
|||||||
</VStack>
|
</VStack>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
{/* 搜索和筛选组件 - 紧凑版 */}
|
{/* 第二行:搜索和筛选组件 */}
|
||||||
<Box mt={4}>
|
|
||||||
<CompactSearchBox
|
<CompactSearchBox
|
||||||
onSearch={onSearch}
|
onSearch={onSearch}
|
||||||
onSearchFocus={onSearchFocus}
|
onSearchFocus={onSearchFocus}
|
||||||
@@ -490,7 +490,6 @@ const [currentMode, setCurrentMode] = useState('vertical');
|
|||||||
pageSize={pageSize}
|
pageSize={pageSize}
|
||||||
trackingFunctions={trackingFunctions}
|
trackingFunctions={trackingFunctions}
|
||||||
/>
|
/>
|
||||||
</Box>
|
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
|
|
||||||
{/* 主体内容 */}
|
{/* 主体内容 */}
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ const Community = () => {
|
|||||||
return (
|
return (
|
||||||
<Box minH="100vh" bg={bgColor}>
|
<Box minH="100vh" bg={bgColor}>
|
||||||
{/* 主内容区域 */}
|
{/* 主内容区域 */}
|
||||||
<Container ref={containerRef} maxW="1600px" pt={6} pb={8}>
|
<Container ref={containerRef} maxW="container.xl" pt={6} pb={8}>
|
||||||
{/* 通知权限提示横幅 */}
|
{/* 通知权限提示横幅 */}
|
||||||
{showNotificationBanner && (
|
{showNotificationBanner && (
|
||||||
<Alert
|
<Alert
|
||||||
|
|||||||
Reference in New Issue
Block a user