feat: 路由链接调整
This commit is contained in:
@@ -51,11 +51,11 @@ export default function HomePage() {
|
|||||||
const coreFeatures = [
|
const coreFeatures = [
|
||||||
{
|
{
|
||||||
id: 'news-catalyst',
|
id: 'news-catalyst',
|
||||||
title: '新闻催化分析',
|
title: '新闻中心',
|
||||||
description: '实时新闻事件分析,捕捉市场催化因子',
|
description: '实时新闻事件分析,捕捉市场催化因子',
|
||||||
icon: '📊',
|
icon: '📊',
|
||||||
color: 'yellow',
|
color: 'yellow',
|
||||||
url: 'https://valuefrontier.cn/community',
|
url: '/community',
|
||||||
badge: '核心',
|
badge: '核心',
|
||||||
featured: true
|
featured: true
|
||||||
},
|
},
|
||||||
@@ -65,7 +65,7 @@ export default function HomePage() {
|
|||||||
description: '热门概念与主题投资分析追踪',
|
description: '热门概念与主题投资分析追踪',
|
||||||
icon: '🎯',
|
icon: '🎯',
|
||||||
color: 'purple',
|
color: 'purple',
|
||||||
url: 'https://valuefrontier.cn/concepts',
|
url: '/concepts',
|
||||||
badge: '热门'
|
badge: '热门'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -74,7 +74,7 @@ export default function HomePage() {
|
|||||||
description: '全面的个股基本面信息整合',
|
description: '全面的个股基本面信息整合',
|
||||||
icon: '📈',
|
icon: '📈',
|
||||||
color: 'blue',
|
color: 'blue',
|
||||||
url: 'https://valuefrontier.cn/stocks',
|
url: '/stocks',
|
||||||
badge: '全面'
|
badge: '全面'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -83,7 +83,7 @@ export default function HomePage() {
|
|||||||
description: '涨停板数据深度分析与规律挖掘',
|
description: '涨停板数据深度分析与规律挖掘',
|
||||||
icon: '🚀',
|
icon: '🚀',
|
||||||
color: 'green',
|
color: 'green',
|
||||||
url: 'https://valuefrontier.cn/limit-analyse',
|
url: '/limit-analyse',
|
||||||
badge: '精准'
|
badge: '精准'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -92,7 +92,7 @@ export default function HomePage() {
|
|||||||
description: '个股全方位分析与投资决策支持',
|
description: '个股全方位分析与投资决策支持',
|
||||||
icon: '🧭',
|
icon: '🧭',
|
||||||
color: 'orange',
|
color: 'orange',
|
||||||
url: 'https://valuefrontier.cn/company?scode=688256',
|
url: '/company?scode=688256',
|
||||||
badge: '专业'
|
badge: '专业'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -106,15 +106,6 @@ export default function HomePage() {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
// 个人中心配置
|
|
||||||
// const personalCenter = {
|
|
||||||
// title: '个人中心',
|
|
||||||
// description: '账户管理与个人设置',
|
|
||||||
// icon: '👤',
|
|
||||||
// color: 'gray',
|
|
||||||
// url: 'https://valuefrontier.cn/home/center'
|
|
||||||
// };
|
|
||||||
|
|
||||||
// @TODO 如何区分内部链接和外部链接?
|
// @TODO 如何区分内部链接和外部链接?
|
||||||
const handleProductClick = (url) => {
|
const handleProductClick = (url) => {
|
||||||
if (url.startsWith('http')) {
|
if (url.startsWith('http')) {
|
||||||
@@ -202,7 +193,7 @@ export default function HomePage() {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Container maxW="7xl" position="relative" zIndex={2} px={containerPx}>
|
<Container maxW="7xl" position="relative" zIndex={30} px={containerPx}>
|
||||||
<VStack spacing={{ base: 8, md: 12, lg: 16 }} align="stretch" minH={heroHeight} justify="center">
|
<VStack spacing={{ base: 8, md: 12, lg: 16 }} align="stretch" minH={heroHeight} justify="center">
|
||||||
{/* 主标题区域 */}
|
{/* 主标题区域 */}
|
||||||
<VStack spacing={{ base: 4, md: 5, lg: 6 }} textAlign="center" pt={{ base: 4, md: 6, lg: 8 }}>
|
<VStack spacing={{ base: 4, md: 5, lg: 6 }} textAlign="center" pt={{ base: 4, md: 6, lg: 8 }}>
|
||||||
@@ -225,7 +216,7 @@ export default function HomePage() {
|
|||||||
<Box pb={{ base: 8, md: 12 }}>
|
<Box pb={{ base: 8, md: 12 }}>
|
||||||
<VStack spacing={{ base: 6, md: 8 }}>
|
<VStack spacing={{ base: 6, md: 8 }}>
|
||||||
|
|
||||||
{/* 新闻催化分析 - 突出显示 */}
|
{/* 新闻中心 - 突出显示 */}
|
||||||
<Card
|
<Card
|
||||||
bg="transparent"
|
bg="transparent"
|
||||||
border="2px solid"
|
border="2px solid"
|
||||||
@@ -333,7 +324,6 @@ export default function HomePage() {
|
|||||||
border="1px solid"
|
border="1px solid"
|
||||||
borderColor="whiteAlpha.200"
|
borderColor="whiteAlpha.200"
|
||||||
borderRadius={{ base: 'xl', md: '2xl' }}
|
borderRadius={{ base: 'xl', md: '2xl' }}
|
||||||
cursor="pointer"
|
|
||||||
transition="all 0.3s ease"
|
transition="all 0.3s ease"
|
||||||
_hover={{
|
_hover={{
|
||||||
bg: 'whiteAlpha.200',
|
bg: 'whiteAlpha.200',
|
||||||
|
|||||||
Reference in New Issue
Block a user