diff --git a/src/views/Home/HomePage.tsx b/src/views/Home/HomePage.tsx index 20260d3d..ebc0cc5e 100644 --- a/src/views/Home/HomePage.tsx +++ b/src/views/Home/HomePage.tsx @@ -16,7 +16,7 @@ import { FeaturedFeatureCard } from './components/FeaturedFeatureCard'; import { FeatureCard } from './components/FeatureCard'; import MiniProgramLauncher from '@/components/MiniProgramLauncher'; import { isMobileDevice } from '@/components/MiniProgramLauncher/hooks/useWechatEnvironment'; -import Center from '@views/Center'; +// [暂时禁用] import Center from '@views/Center'; import '@/styles/home-animations.css'; /** @@ -89,64 +89,57 @@ const HomePage: React.FC = () => { return null; } - // 已登录直接渲染个人中心 - if (isAuthenticated && user) { - return
; - } + // [暂时禁用] 已登录直接渲染个人中心(未来可能恢复) + // if (isAuthenticated && user) { + // return
; + // } // 未登录渲染首页内容 return ( {/* Hero Section - 深色科技风格,自适应容器高度 */} - - - - {/* 主标题区域 */} - + + + {/* 主标题区域 */} + - {/* 核心功能面板 */} - - - {/* 特色功能卡片 - 新闻中心 */} - + {/* 核心功能面板 */} + + + {/* 特色功能卡片 - 新闻中心 */} + - {/* 其他功能卡片 */} - - {regularFeatures.map((feature) => ( - - ))} - - - - - - + {/* 其他功能卡片 */} + + {regularFeatures.map((feature) => ( + + ))} + + + + + {/* 移动端右上角固定按钮 - 小程序入口 */} {isMobile && (