diff --git a/src/views/Home/HomePage.js b/src/views/Home/HomePage.js index 9c83f1af..1fd38f6f 100755 --- a/src/views/Home/HomePage.js +++ b/src/views/Home/HomePage.js @@ -34,7 +34,6 @@ export default function HomePage() { const heroTextSize = useBreakpointValue({ base: 'md', md: 'lg', lg: 'xl' }); const containerPx = useBreakpointValue({ base: 10, md: 10, lg: 10 }); const showDecorations = useBreakpointValue({ base: false, md: true }); - const isMobile = useBreakpointValue({ base: true, md: false }); // 保留原有的调试信息 useEffect(() => { @@ -238,79 +237,49 @@ export default function HomePage() { }} > - {isMobile ? ( - /* 移动端:垂直布局 */ - - - - {coreFeatures[0].icon} - - - + {/* 响应式布局:移动端纵向,桌面端横向 */} + + + + {coreFeatures[0].icon} + + + + {coreFeatures[0].title} - + {coreFeatures[0].badge} - - - - {coreFeatures[0].description} - - - - ) : ( - /* 桌面端:横向布局 */ - - - - {coreFeatures[0].icon} - - - - - {coreFeatures[0].title} - - - {coreFeatures[0].badge} - - - - {coreFeatures[0].description} - - - - + + + {coreFeatures[0].description} + + - )} + +