fix(Community): 优化搜索和时间筛选交互
- 搜索框添加清空按钮(allowClear) - 自定义时间范围限制不能超过当前时间(精确到分钟) - 相关概念移除"相关度"显示 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -86,15 +86,6 @@ const ConceptCard = ({ concept, tradingDate, onViewDetails }) => {
|
||||
{concept.concept}
|
||||
</Text>
|
||||
<HStack spacing={2} flexWrap="wrap">
|
||||
<Badge
|
||||
bg="rgba(168, 85, 247, 0.15)"
|
||||
color="#A855F7"
|
||||
borderWidth="1px"
|
||||
borderColor="#A855F7"
|
||||
fontSize="xs"
|
||||
>
|
||||
相关度: {concept.score.toFixed(2)}
|
||||
</Badge>
|
||||
<Badge
|
||||
bg="rgba(20, 184, 166, 0.15)"
|
||||
color="#14B8A6"
|
||||
@@ -618,9 +609,6 @@ const RelatedConcepts = ({ eventTitle, eventTime, eventId, loading: externalLoad
|
||||
<VStack align="start" spacing={1}>
|
||||
<Text fontSize="xl">{selectedConcept?.concept}</Text>
|
||||
<HStack spacing={2}>
|
||||
<Badge colorScheme="purple">
|
||||
相关度: {selectedConcept?.score?.toFixed(2)}
|
||||
</Badge>
|
||||
<Badge colorScheme="teal">
|
||||
{selectedConcept?.stock_count} 只股票
|
||||
</Badge>
|
||||
|
||||
Reference in New Issue
Block a user