feat: 底部UI调整
This commit is contained in:
@@ -8,14 +8,14 @@ import RiskDisclaimer from '../components/RiskDisclaimer';
|
|||||||
*/
|
*/
|
||||||
const AppFooter = () => {
|
const AppFooter = () => {
|
||||||
return (
|
return (
|
||||||
<Box bg={useColorModeValue('gray.100', 'gray.800')} py={6}>
|
<Box bg={useColorModeValue('gray.100', 'gray.800')} py={2}>
|
||||||
<Container maxW="container.xl">
|
<Container maxW="container.xl">
|
||||||
<VStack spacing={2}>
|
<VStack spacing={1}>
|
||||||
<RiskDisclaimer />
|
<RiskDisclaimer />
|
||||||
<Text color="gray.500" fontSize="sm">
|
<Text color="gray.500" fontSize="sm">
|
||||||
© 2024 价值前沿. 保留所有权利.
|
© 2024 价值前沿. 保留所有权利.
|
||||||
</Text>
|
</Text>
|
||||||
<HStack spacing={4} fontSize="xs" color="gray.400">
|
<HStack spacing={1} fontSize="xs" color="gray.400">
|
||||||
<Link
|
<Link
|
||||||
href="https://beian.mps.gov.cn/#/query/webSearch?code=11010802046286"
|
href="https://beian.mps.gov.cn/#/query/webSearch?code=11010802046286"
|
||||||
isExternal
|
isExternal
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ const DynamicNewsCard = forwardRef(({
|
|||||||
// 导航栏和页脚固定高度
|
// 导航栏和页脚固定高度
|
||||||
const NAVBAR_HEIGHT = 64; // 主导航高度
|
const NAVBAR_HEIGHT = 64; // 主导航高度
|
||||||
const SECONDARY_NAV_HEIGHT = 44; // 二级导航高度
|
const SECONDARY_NAV_HEIGHT = 44; // 二级导航高度
|
||||||
const FOOTER_HEIGHT = 120; // 页脚高度(预留)
|
const FOOTER_HEIGHT = 80; // 页脚高度(优化后)
|
||||||
const TOTAL_NAV_HEIGHT = NAVBAR_HEIGHT + SECONDARY_NAV_HEIGHT; // 总导航高度 128px
|
const TOTAL_NAV_HEIGHT = NAVBAR_HEIGHT + SECONDARY_NAV_HEIGHT; // 总导航高度 128px
|
||||||
|
|
||||||
// 从 Redux 读取关注状态
|
// 从 Redux 读取关注状态
|
||||||
|
|||||||
@@ -181,7 +181,6 @@ const Community = () => {
|
|||||||
|
|
||||||
{/* 实时要闻·动态追踪 - 横向滚动 */}
|
{/* 实时要闻·动态追踪 - 横向滚动 */}
|
||||||
<DynamicNewsCard
|
<DynamicNewsCard
|
||||||
mt={6}
|
|
||||||
filters={filters}
|
filters={filters}
|
||||||
popularKeywords={popularKeywords}
|
popularKeywords={popularKeywords}
|
||||||
lastUpdateTime={lastUpdateTime}
|
lastUpdateTime={lastUpdateTime}
|
||||||
|
|||||||
Reference in New Issue
Block a user