diff --git a/src/views/Concept/index.js b/src/views/Concept/index.js
index 8cfd780f..45078a0f 100644
--- a/src/views/Concept/index.js
+++ b/src/views/Concept/index.js
@@ -136,6 +136,7 @@ import { useConceptEvents } from './hooks/useConceptEvents';
import { getApiBase } from '@utils/apiConfig';
import { GLASS_BLUR } from '@/constants/glassConfig';
+import { HeroSection } from '@components/HeroSection';
// API配置 - 生产环境通过 api.valuefrontier.cn 代理
const API_BASE_URL = process.env.NODE_ENV === 'production'
@@ -1572,216 +1573,59 @@ const ConceptCenter = () => {
{/* 导航栏已由 MainLayout 提供 */}
- {/* Hero Section - 精简版 */}
- {/* Hero Section - 使用负 margin 抵消 Layout 的 padding 实现全宽背景 */}
-
- {/* 科幻网格背景 */}
-
-
- {/* 发光球体 */}
-
-
-
-
-
- {/* 标题区域 */}
-
-
-
-
-
-
-
- 概念中心
-
-
-
-
- 数据约下午4点更新
-
-
-
-
-
- AI驱动的概念板块分析平台 · 实时追踪市场热点 · 智能挖掘投资机会
-
-
-
- {/* 核心数据展示 */}
- }
- bg="whiteAlpha.100"
- backdropFilter={GLASS_BLUR.sm}
- px={8}
- py={3}
- borderRadius="full"
- border="1px solid"
- borderColor="whiteAlpha.300"
- boxShadow="0 8px 32px rgba(0, 0, 0, 0.3)"
- >
-
-
-
- 500+
- 概念板块
-
-
-
-
-
- 5000+
- 相关个股
-
-
-
-
-
- 24/7
- 实时监控
-
-
-
-
- {/* 搜索框 */}
-
-
-
-
-
-
-
-
- setSearchQuery(e.target.value)}
- onKeyPress={handleKeyPress}
- pr={searchQuery ? "50px" : "16px"}
- />
- {searchQuery && (
- }
- variant="ghost"
- color="gray.500"
- borderRadius="full"
- _hover={{ color: 'gray.700', bg: 'gray.200' }}
- onClick={handleClearSearch}
- zIndex={1}
- />
- )}
-
- }
- _hover={{
- bgGradient: 'linear(135deg, #5568d3 0%, #663a8e 100%)',
- transform: 'scale(1.02)',
- }}
- _active={{
- bgGradient: 'linear(135deg, #4a5abf 0%, #58327a 100%)',
- transform: 'scale(0.98)',
- }}
- onClick={handleSearch}
- isLoading={loading}
- loadingText="搜索中"
- px={8}
- minW="140px"
- fontWeight="bold"
- fontSize="md"
- transition="all 0.2s"
- border="none"
- alignSelf="stretch"
- boxShadow="inset 0 1px 0 rgba(255, 255, 255, 0.2)"
- >
- 搜索
-
-
-
- {searchQuery && sortBy === '_score' && (
-
- 正在搜索 "{searchQuery}",已自动切换到相关度排序
-
- )}
-
-
-
-
-
+ {/* Hero Section - 使用通用 HeroSection 组件 */}
+
+
+
+ 数据约下午4点更新
+
+
+ }
+ themePreset="purple"
+ fullWidth
+ decorations={[
+ { type: 'grid', intensity: 0.3 },
+ { type: 'glowOrbs', intensity: 0.5 },
+ ]}
+ search={{
+ placeholder: '搜索概念板块、个股、关键词...',
+ showSearchButton: true,
+ searchButtonText: '搜索',
+ maxWidth: '2xl',
+ // 受控模式
+ value: searchQuery,
+ onChange: setSearchQuery,
+ onClear: handleClearSearch,
+ isSearching: false,
+ showDropdown: false,
+ onSearch: async () => {
+ handleSearch();
+ return [];
+ },
+ onResultSelect: () => {},
+ }}
+ stats={{
+ columns: { base: 3, md: 3 },
+ showIcons: false,
+ items: [
+ { key: 'concepts', label: '概念板块', value: '500+', icon: Tags, iconColor: 'cyan.300', valueColor: 'cyan.300' },
+ { key: 'stocks', label: '相关个股', value: '5000+', icon: LineChart, iconColor: 'purple.300', valueColor: 'purple.300' },
+ { key: 'monitor', label: '实时监控', value: '24/7', icon: Zap, iconColor: 'yellow.300', valueColor: 'yellow.300' },
+ ],
+ }}
+ afterSearch={
+ searchQuery && sortBy === '_score' ? (
+
+ 正在搜索 "{searchQuery}",已自动切换到相关度排序
+
+ ) : null
+ }
+ />
{/* 主内容区域 - padding 由 MainLayout 统一设置 */}