refactor(StockOverview): 迁移毛玻璃效果到统一配置 - 批次4
- index.js: 使用 GLASS_BLUR.lg 替代 blur(20px) - glassTheme.js: 从全局 glassConfig 导入配置 - FlexScreen/index.tsx: 使用 GLASS_BLUR.lg - QuoteTile.tsx: 使用 GLASS_BLUR.sm - AlertDetailDrawer.js: 使用 GLASS_BLUR.xs/lg 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -57,6 +57,7 @@ import { echarts } from '@lib/echarts';
|
||||
import { logger } from '../../utils/logger';
|
||||
import tradingDays from '../../data/tradingDays.json';
|
||||
import { useStockOverviewEvents } from './hooks/useStockOverviewEvents';
|
||||
import { GLASS_BLUR } from '@/constants/glassConfig';
|
||||
|
||||
// 交易日 Set,用于快速查找
|
||||
const tradingDaysSet = new Set(tradingDays);
|
||||
@@ -894,7 +895,7 @@ const StockOverview = () => {
|
||||
) : (
|
||||
<Card
|
||||
bg={cardBg}
|
||||
backdropFilter="blur(20px)"
|
||||
backdropFilter={GLASS_BLUR.lg}
|
||||
borderWidth="1px"
|
||||
borderColor={borderColor}
|
||||
borderRadius="24px"
|
||||
|
||||
Reference in New Issue
Block a user