Commit Graph

1867 Commits

Author SHA1 Message Date
zdl
03c925b53d fix(CompetitiveAnalysisCard): 修复雷达图文字在深色背景上不清晰问题
- 更新 RadarChartOption 类型定义,支持更多样式属性
- 指标名称改为金色 (#F4D03F),加粗显示
- 分割线改为金色系透明度渐变
- 分割区域改为深色透明背景
- 数据标签改为金色
- tooltip 使用深色背景 + 白色文字

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 15:32:35 +08:00
zdl
3b998b4339 feat(CompetitiveAnalysisCard): 竞争优劣势改为 bullet point 列表显示
- 添加 parseToList 函数,支持按换行符或分号/顿号/逗号分割
- 自动清理数字序号(如 "1. xxx")
- 新增 AdvantageList 组件,使用 memo 和 useMemo 优化
- 列表圆点颜色与标题颜色保持一致(绿色/红色)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 15:11:23 +08:00
zdl
b7ad35ba12 fix(DeepAnalysis): 修复行业排名数据未加载导致无法点击弹窗问题
- TAB_API_MAP 改为数组形式,支持一个 Tab 加载多个 API
- strategy Tab 现在同时加载 comprehensive 和 industryRank 数据
- loadTabData 更新为遍历加载所有映射的 API
- currentLoading 计算改为检查任一相关 API 的 loading 状态
- 初始加载逻辑更新为加载 strategy Tab 的所有数据

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 15:09:42 +08:00
zdl
8d609d5fbf perf(BasicInfoTab): 性能优化与主题样式提取
- BranchesPanel: 添加 memo 包裹主组件和子组件
- BranchesPanel: 提取 BranchCard、EmptyState、InfoItem 为独立 memo 组件
- BranchesPanel: 预计算状态徽章样式避免每次渲染创建新对象
- BranchesPanel: 使用 useMemo 缓存状态类型计算结果
- config.ts: 扩展主题配置,添加 status、gradients、card、iconBg 配置
- StrategyAnalysisCard: ContentItem 中 parseToList 结果使用 useMemo 缓存

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 15:04:09 +08:00
zdl
a7c5a72061 fix(ShareholdersTable): 修复股东表格文本溢出和排序提示问题
- 股东类型/股份性质列:移除固定宽度,添加 whiteSpace: nowrap 防止换行
- 股东名称列:限制宽度 200px,超长文本显示省略号
- 表格启用水平滚动:scroll={{ x: 'max-content' }}
- 排序提示改为中文:showSorterTooltip={{ title: '点击切换排序' }}
- 移除取消排序选项:sortDirections: ['descend', 'ascend']
- 添加 antd 中文语言包:locale={zhCN}
- Mock 数据添加长文本测试用例

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 14:21:55 +08:00
zdl
951d867b67 fix: UI修复 2025-12-26 14:14:28 +08:00
zdl
c1394dbf19 refactor(StockCompareModal): 重构为 Ant Design 并统一主题配置
- 从 Chakra UI 迁移到 Ant Design (Modal, Table, Card)
- 新增 antdTheme.ts 统一 Ant Design 深色主题配置
- 提取 calculateDiff 到 FinancialPanorama/utils 复用
- 使用 useMemo 优化性能,提取子组件
- 添加独立的 .less 样式文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:59:44 +08:00
zdl
086cc3cddb fix(StockCompareModal): 修复对比差异单位显示错误
- 将差异列单位统一改为 % 格式
- 移除 pp(百分点)单位的特殊处理

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:33:05 +08:00
zdl
c41e1dba8f fix(StockCompareModal): 修复对比图表图例颜色模糊问题
- chartOptions.ts: 完善 getCompareBarChartOption 黑金主题配置
- 添加 legend.textStyle.color 使图例文字清晰可见
- 添加 tooltip、axisLine、splitLine 等主题颜色配置

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:32:57 +08:00
zdl
0017302e5c feat(StockQuoteCard): 实现分享功能和优化时间显示
- index.tsx: 实现 handleShare,点击复制链接并显示 Toast 提示
- StockHeader: 移除 updateTime prop,改为显示页面打开时间
- StockHeader: 时间格式改为「年-月-日 时:分」完整格式

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:32:49 +08:00
zdl
8cf9465412 fix(StockQuoteCard): 优化对比股票输入框样式和功能
- theme.ts: 新增 textPlaceholder 颜色配置,降低透明度避免过亮
- CompareStockInput: placeholder 改为「请输入股票代码」
- CompareStockInput: 使用主题配置的 placeholder 颜色
- CompareStockInput: 添加 loadAllStocks 确保模糊搜索数据加载

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:32:41 +08:00
zdl
0f72cc633d chore(Company): 删除未使用的占位符组件和废弃 hooks
删除的文件:
- ForecastReport.js: 旧版占位符,功能已在 components/ForecastReport/index.tsx 实现
- MarketDataView.js: 旧版占位符,功能已在 components/MarketDataView/index.tsx 实现
- hooks/useCompanyStock.js: 功能已被 useCompanyData.ts 替代
- hooks/useCompanyWatchlist.js: 功能已被 useCompanyData.ts 替代

同步更新 STRUCTURE.md 文档

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:24:15 +08:00
zdl
9d6c1e0396 chore: 删除未使用的模板遗留页面
删除以下未在路由中配置且从未被引用的组件:

- src/views/Authentication/ (9个文件)
  - Lock: LockBasic, LockCover, LockIllustration
  - Reset: ResetBasic, ResetCover, ResetIllustration
  - Verification: VerificationBasic, VerificationCover, VerificationIllustration

- src/views/Landing/ (1个文件)
  - index.js - 通过 iframe 嵌入静态页面

- src/views/Pricing/ (2个文件)
  - index.tsx, content.tsx - 与 Subscription 功能重复

这些组件是 Argon Dashboard 模板遗留物,从未在项目中实际使用。
删除后减少 12 个冗余文件,降低维护负担。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:19:14 +08:00
zdl
dfc59926a3 docs(Company): 更新 STRUCTURE.md 目录结构文档
- 更新日期至 2025-12-26
- 反映 index.js 迁移为 index.tsx
- 新增 theme/ 目录(FUI 主题系统)
- 新增 config.ts、types.ts 页面级文件
- hooks/ 新增 useCompanyData.ts 和 useStockSearch.ts
- 更新各模块的 TypeScript 迁移状态
- 精简重构记录,保留关键信息

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 13:07:02 +08:00
zdl
3072a9a0b7 chore: 删除未使用的 Argon 模板示例页面
- 删除 Pages/Profile/Overview.js
- 删除 Pages/Profile/Teams.js
- 删除 Pages/Profile/Projects.js

这些是 Argon Dashboard 模板自带的示例页面,项目中未被引用

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:37:45 +08:00
zdl
b44795c0ec refactor(components): 迁移毛玻璃效果到统一配置
- ImagePreviewModal: 使用 GLASS_BLUR.sm 替代 blur(10px)
- SubscriptionContentNew: 使用 GLASS_BLUR.sm 替代 blur(10px)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:35:56 +08:00
zdl
2fc1cdf57e refactor(Center): 迁移毛玻璃效果到统一配置
- FUIEventCard.tsx: 使用 GLASS_BLUR.sm 替代 blur(8px)
- EventFormModal.tsx: 使用 GLASS_BLUR.xs 替代 blur(4px)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:33:11 +08:00
zdl
011ddaf96d refactor(Profile): 迁移毛玻璃效果到统一配置
- PredictionCard.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- CommunityFeedCard.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- StatCard.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- RiseFallChart.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- IndexCard.js: 使用 GLASS_BLUR.sm 替代 blur(8px)
- ConceptItem.js: 使用 GLASS_BLUR.sm 替代 blur(8px)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:32:11 +08:00
zdl
632b8794fe refactor(Company): 迁移毛玻璃效果到统一配置
- theme.ts: 使用 GLASS_BLUR.lg/md 替代硬编码的 blur 值
- DarkGoldCard.tsx: 使用 GLASS_BLUR.md 替代 blur(12px)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:31:33 +08:00
zdl
1754ec7440 refactor(Home): 迁移毛玻璃效果到统一配置
- FeatureCard.tsx: 使用 GLASS_BLUR.sm 替代 blur(10px)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:30:40 +08:00
zdl
5eeb4f9e15 refactor(Community): 迁移毛玻璃效果到统一配置
- HeroPanel.js: 使用 GLASS_BLUR.sm 替代 blur(8px) 和 blur(10px)
- DynamicNewsEventCard.js: 使用 GLASS_BLUR.sm 替代 blur(10px)
- HorizontalDynamicNewsEventCard.js: 使用 GLASS_BLUR.sm 替代 blur(10px)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:30:07 +08:00
zdl
50031d5961 refactor(LimitAnalyse): 迁移毛玻璃效果到统一配置
- index.js: 使用 GLASS_BLUR.sm 替代 blur(10px)
- SearchComponents.js: 使用 GLASS_BLUR.xs 替代 blur(5px)
- DataVisualizationComponents.js: 使用 GLASS_BLUR.sm 替代 blur(10px)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-26 11:29:09 +08:00
zdl
d6d5885c10 feat(ValueForum): 优化页面布局和加载状态
- 添加响应式左右 padding
- 使用 PageLoader 统一加载样式
- 修复预测市场数据格式处理

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 18:48:38 +08:00
zdl
476f4ad826 fix(auth): 优化 ProtectedRoute 加载状态和逻辑
- 使用 PageLoader 替换白色加载背景
- 未登录时不渲染子组件,显示加载状态
- 登录成功后才显示受保护内容

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 18:48:33 +08:00
zdl
7f7013931d feat(PageLoader): 添加 inline 模式支持
- 新增 inline 参数,用于页面内部加载状态
- 保持原有全屏模式用于路由懒加载

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 18:48:26 +08:00
zdl
16909d2e90 feat(mock): 添加论坛帖子 Mock 数据和 API
- 新增 forum.js Mock 数据(帖子、评论)
- 新增 forum handlers(Elasticsearch 风格 API)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 18:48:19 +08:00
zdl
05578bd6da feat(mock): 添加预测市场和论坛帖子 Mock 数据
- 新增 prediction.js Mock 数据(预测话题列表)
- 新增 prediction handlers(/api/prediction/topics 等)
- 新增 forum.js Mock 数据(帖子、评论)
- 新增 forum handlers(Elasticsearch 风格 API)
- 注册到 handlers/index.js

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 18:48:11 +08:00
zdl
e1c974c4af refactor(ValueForum): 迁移毛玻璃效果到统一配置 - 批次6
- TradeModal.js: Modal overlay 使用 GLASS_BLUR.xs
- CommentInvestModal.js: Modal overlay 使用 GLASS_BLUR.xs
- PredictionGuideModal.js: Modal overlay 使用 GLASS_BLUR.xs
- CreatePredictionModal.js: Modal overlay 使用 GLASS_BLUR.xs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:42:17 +08:00
zdl
3911095022 refactor(Concept): 迁移毛玻璃效果到统一配置 - 批次5
- index.js: 10+ 处使用 GLASS_BLUR.lg/sm
- ConceptTimelineModal.js: Modal overlay 使用 GLASS_BLUR.sm/lg
- BreadcrumbNav.js: 深色主题样式使用 GLASS_BLUR.lg
- ConceptStatsPanel.js: 玻璃态卡片使用 GLASS_BLUR.lg
- HierarchyView.js: 4处使用 GLASS_BLUR.lg/sm
- ForceGraphView.js: 4处使用 GLASS_BLUR.lg

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:39:48 +08:00
zdl
b0e1a4f474 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>
2025-12-25 16:33:45 +08:00
zdl
c29e9e9cc7 refactor(glass): 批次3 - 迁移 AgentChat 页面使用统一毛玻璃配置
迁移以下 10 个 AgentChat 模块文件:
- index.js: GLASS_BLUR.lg 替换 blur(20px)
- LeftSidebar/index.js: GLASS_BLUR.lg/sm 替换 blur(20px)/blur(10px)
- LeftSidebar/SessionCard.js: GLASS_BLUR.md 替换 blur(12px)
- RightSidebar/index.js: GLASS_BLUR.lg/sm/md 替换多处硬编码
- RightSidebar/ToolSelector.tsx: GLASS_BLUR.md 替换 blur(12px)
- ChatArea/index.js: GLASS_BLUR.lg/sm 替换多处硬编码
- ChatArea/MessageRenderer.js: GLASS_BLUR.md 替换 blur(16px)
- ChatArea/WelcomeScreen.js: GLASS_BLUR.md 替换 blur(12px)
- ChatArea/ExecutionStepsDisplay.js: GLASS_BLUR.sm 替换 blur(10px)
- MeetingRoom/index.js: GLASS_BLUR.lg 替换 blur(20px)

保留 saturate(180%) 组合效果

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:28:35 +08:00
zdl
5c4bcce125 refactor(glass): 批次2 - 迁移 Company 页面使用统一毛玻璃配置
迁移以下 5 个 Company 模块文件:
- fui.ts: FUI_GLASS 改用全局 GLASS_BLUR/BG/BORDER 常量
- index.ts: GLASS 常量改用全局配置
- AnalysisModal.tsx: GLASS_BLUR.sm 替换 blur(8px)
- DynamicTrackingNavSkeleton.tsx: GLASS_BLUR.lg 替换 blur(20px)
- CompanyOverviewNavSkeleton.tsx: GLASS_BLUR.lg 替换 blur(20px)

保持 FUI_GLASS 导出不变,确保向后兼容

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:22:19 +08:00
zdl
8643a38a81 refactor(glass): 批次1 - 迁移全局组件使用统一毛玻璃配置
迁移以下 10 个组件使用 glassConfig.ts 统一配置:
- GlassCard: GLASS_BLUR/GLASS_SHADOW 替换硬编码 blur/glow
- SubTabContainer: GLASS_BLUR.lg 替换 blur(20px)
- HomeNavbar: GLASS_BLUR.sm 替换 blur(10px)
- AuthModalManager: GLASS_BLUR.sm 替换 blur(10px)
- WechatRegister: GLASS_BLUR.xs 替换 blur(4px)
- SubscriptionModal: GLASS_BLUR.xs 替换 blur(4px)
- SubscriptionContentNew: GLASS_BLUR.sm/lg/xl 替换多处硬编码
- ImageLightbox: GLASS_BLUR.sm 替换 blur(10px)
- ImagePreviewModal: GLASS_BLUR.sm 替换 blur(10px)
- FuiContainer: GLASS_BLUR.md 替换 blur(16px)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:18:55 +08:00
zdl
49f71af0c5 feat(glass): 创建统一毛玻璃效果配置文件
新增 src/constants/glassConfig.ts:
- GLASS_BLUR: 5 级模糊值 (xs/sm/md/lg/xl)
- GLASS_BG: 9 种背景色 (白色系/金色系/深色系)
- GLASS_BORDER: 5 种边框样式
- GLASS_SHADOW: 7 种阴影效果
- GLASS_PRESET: 8 个预设组合 (card/navbar/modal/floating 等)

整合 GlassCard、fui.ts、glassTheme.js 三套配置的精华,
为后续 65+ 文件的毛玻璃效果统一迁移做准备。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:14:00 +08:00
zdl
c5f7929c30 style(PageLoader): 适配黑金主题配色
- 背景色改为 forumColors.background.main (#0A0A0A)
- Spinner 颜色改为 forumColors.text.gold (#FFC107)
- 文字颜色改为 forumColors.text.secondary (#B8B8B8)
- 移除 _dark 暗色模式样式,统一使用黑金主题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:13:04 +08:00
zdl
e6a4c5b462 refactor(Icons): 删除 17 个未使用的图标定义
移除以下未使用图标:
- CreditIcon, DashboardLogo, DashboardLogoWhite
- DocumentIcon, GlobeIcon, HelpIcon, HomeIcon
- PayPalIcon, PersonIcon, ProfileIcon
- SupportIcon, StatsIcon, WalletIcon
- BitcoinLogo, ArgonLogoMinifiedDark, ArgonLogoMinifiedLight
- WechatPayIcon, QRCodeIcon

减少 354 行代码 (736行 → 382行,减少 48%)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 16:13:04 +08:00
0afd05301c 添加用户的看多/看空逻辑 2025-12-25 14:58:04 +08:00
zdl
2841cec6f3 fix(Concept): 修复未导入的 react-icons 图标引用
将 ConceptCenter 中遗留的 react-icons 图标替换为 lucide-react:
- FaCube → BoxIcon
- FaSitemap → Network
- FaList → List
- FaArrowUp/FaArrowDown → ArrowUp/ArrowDown
- FaLock → Lock
- FaHistory → History
- FaChartLine → LineChart

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 14:03:38 +08:00
zdl
0e795563c0 perf(Navbar): 移除自选股/事件按钮,清理无用代码
NavbarActions:
- 移除 WatchlistMenu 和 FollowingEventsMenu 组件
- 移除 watchlistQuotes/followingEvents props

HomeNavbar:
- 移除 useWatchlist/useFollowingEvents hooks 调用
- 移除相关导入和 props 传递

TabletUserMenu:
- 移除 watchlistQuotes/followingEvents props
- 简化菜单项(移除数量 Badge)

性能提升:
- 减少 2 个 hook 初始化和 4+ 个 Redux selector 订阅
- 减少导航栏初始化时的 API 请求
- 侧边工具栏不受影响(有独立的 GlobalSidebarContext)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 14:02:30 +08:00
08850249e7 添加用户的看多/看空逻辑 2025-12-25 13:59:35 +08:00
e92c4eb724 添加用户的看多/看空逻辑 2025-12-25 13:54:56 +08:00
ed75f1789e 添加用户的看多/看空逻辑 2025-12-25 13:40:11 +08:00
448fe52431 添加用户的看多/看空逻辑 2025-12-25 13:25:52 +08:00
b0ae9c9f81 Merge branch 'feature_bugfix/251217_stock' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251217_stock 2025-12-25 13:16:01 +08:00
bcafafe34c 事件标记线bug修复 2025-12-25 13:15:57 +08:00
zdl
f02795d960 style(GlobalSidebar): 优化收起状态文字样式
- 字体大小从 10px 调整为 xs (12px)
- 文字亮度从 0.5/0.6 提升到 0.8/0.85
- 添加 fontWeight="medium" 加粗显示

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:05:26 +08:00
zdl
b32e3535f5 refactor(layout): 统一 z-index 配置
- layoutConfig.js: 添加 Z_INDEX.FOOTER (1000,与 NAVBAR 同级)
- HomeNavbar.js: zIndex 从硬编码 1000 改为 Z_INDEX.NAVBAR
- AppFooter.js: 添加 zIndex={Z_INDEX.FOOTER}

导航栏和页脚的 z-index 现在统一在 layoutConfig.js 中配置。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:01:49 +08:00
zdl
54c8ec3660 refactor(layout): 统一布局边距配置,改用百分比
- layoutConfig.js: LAYOUT_PADDING.x 改为 { base: 4, md: 6, lg: '12%' }
- HomeNavbar.js: 导入 LAYOUT_PADDING,替换硬编码边距
- AppFooter.js: 导入 LAYOUT_PADDING,替换硬编码边距

现在导航栏、内容区、页脚统一使用 LAYOUT_PADDING.x 配置,
修改边距只需调整 layoutConfig.js 一处即可全局生效。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:00:41 +08:00
zdl
ccbef35cf3 refactor(icons): 迁移公共模块图标到 lucide-react
- constants/importanceLevels.js: 重要性等级图标
- constants/notificationTypes.js: 通知类型图标
- contexts/NotificationContext.js: 通知上下文图标
- layouts/components/BackToTopButton.js: 返回顶部按钮
- utils/priceFormatters.js: 价格格式化图标
- variables/general.js: 通用变量图标

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:00:41 +08:00
zdl
c820cfa804 refactor(icons): 迁移其他 views 目录图标到 lucide-react
- views/Center, views/Community, views/DataBrowser 等
- views/EventDetail, views/LimitAnalyse, views/StockOverview
- views/TradingSimulation, views/Pages, views/Authentication
- views/Profile, views/Settings
- 处理 Tag/TagIcon 命名冲突
- 涉及 52 个组件文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-25 13:00:41 +08:00