zdl
|
18c83237e2
|
refactor: CompanyOverview 组件按 Tab 拆分为独立子组件
将 2682 行的大型组件拆分为 4 个模块化文件:
- index.js (~550行): 状态管理 + 数据加载 + Tab 容器
- DeepAnalysisTab.js (~1800行): 深度分析 Tab(核心定位、竞争力、产业链)
- BasicInfoTab.js (~940行): 基本信息 Tab(股权结构、管理团队、公告)
- NewsEventsTab.js (~540行): 新闻动态 Tab(事件列表 + 分页)
重构内容:
- 提取 8 个内部子组件到对应 Tab 文件
- 修复 useColorModeValue 在 map 回调中调用的 hooks 规则违规
- 清理未使用的 imports
- 完善公告详情模态框(补全 ModalFooter)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-09 17:11:42 +08:00 |
|
zdl
|
c1e10e6205
|
Merge branch 'feature_bugfix/251201_vf_h5_ui' into feature_2025/251209_stock_pref
* feature_bugfix/251201_vf_h5_ui:
feat: 事件关注功能优化 - Redux 乐观更新 + Mock 数据状态同步
feat: 投资日历自选股功能优化 - Redux 集成 + 乐观更新
fix: 修复投资日历切换月份时自动打开事件弹窗的问题
fix: 修复 CompanyOverview 中 Hooks 顺序错误
|
2025-12-09 16:36:46 +08:00 |
|
zdl
|
27fff4e60b
|
fix: 修复 CompanyOverview 中 Hooks 顺序错误
问题:在 JSX 内部调用 useColorModeValue,违反 React Hooks 规则
- 第 1377/1388/1786/1797 行直接在 JSX 属性中调用 hook
修复:将 useColorModeValue 调用移到组件顶层
- 添加 blueBg/greenBg/purpleBg/orangeBg 变量
- JSX 中使用变量代替直接调用
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-09 15:35:39 +08:00 |
|
zdl
|
4954c58525
|
refactor: Company 目录结构重组 - Tab 内容组件文件夹化
- 将 4 个 Tab 内容组件移动到 components/ 目录下
- CompanyOverview.js → components/CompanyOverview/index.js
- MarketDataView.js → components/MarketDataView/index.js
- FinancialPanorama.js → components/FinancialPanorama/index.js
- ForecastReport.js → components/ForecastReport/index.js
- 更新 CompanyTabs/index.js 导入路径
- 更新 routes/lazy-components.js 路由路径
- 修复组件内相对路径导入,改用 @utils/@services 别名
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-09 15:31:58 +08:00 |
|
zdl
|
91bd581a5e
|
feat: 添加 useCompanyStock 股票代码管理
|
2025-12-09 15:18:06 +08:00 |
|
zdl
|
258708fca0
|
fix: bug修复
|
2025-12-09 15:16:02 +08:00 |
|
zdl
|
c61d58b0e3
|
feat: 添加Company 页面 Tab 切换组件
|
2025-12-09 15:01:16 +08:00 |
|
zdl
|
ed1c7b9fa9
|
feat: 添加Company 页面头部组件 CompanyHeader
index.js # 组合导出
SearchBar.js # 股票搜索栏
WatchlistButton.js # 自选股按钮
|
2025-12-09 14:59:24 +08:00 |
|
zdl
|
65f71603e1
|
fix: 文案修改
|
2025-12-08 19:23:12 +08:00 |
|
|
|
642de62566
|
update pay ui
|
2025-12-02 18:55:59 +08:00 |
|
|
|
4ea1ef08f4
|
update pay ui
|
2025-12-02 18:50:01 +08:00 |
|
|
|
c7a881c965
|
update pay function
|
2025-11-25 20:22:45 +08:00 |
|
|
|
b582de9bc2
|
update pay function
|
2025-11-23 17:19:56 +08:00 |
|
|
|
acb7862789
|
update pay function
|
2025-11-23 16:57:02 +08:00 |
|
|
|
a778f94b68
|
update pay function
|
2025-11-23 16:34:45 +08:00 |
|
|
|
23a94d5ab2
|
update pay function
|
2025-11-23 16:23:18 +08:00 |
|
|
|
d5250f7d3c
|
update pay function
|
2025-11-23 15:58:14 +08:00 |
|
|
|
ae92f333c4
|
update pay function
|
2025-11-23 15:40:58 +08:00 |
|
zdl
|
357b8bbdd7
|
feat: Company - 5个事件(页面浏览、股票搜索、Tab 切换、自选股管理)
|
2025-10-28 21:52:27 +08:00 |
|
zdl
|
03c113fe1b
|
feat: 修复数据获取bug
|
2025-10-27 17:21:31 +08:00 |
|
zdl
|
6c96299b8f
|
feat: 添加合规
|
2025-10-20 21:25:33 +08:00 |
|
zdl
|
44f9fea624
|
feat: 添加导航徽章
|
2025-10-20 13:28:37 +08:00 |
|
zdl
|
ea627f867e
|
feat:添加mock接口
1. ✅ Profile 和 Settings 页面(2个文件)
2. ✅ EventDetail 页面(1个文件)
3. ✅ 身份验证组件(WechatRegister.js)
4. ✅ Company 页面(CompanyOverview, index, FinancialPanorama, MarketDataView)
5. ✅ Concept 页面(ConceptTimelineModal, ConceptStatsPanel, index)
|
2025-10-18 08:46:56 +08:00 |
|
zdl
|
3821b88f28
|
feat: 重构Company和Concept页面
|
2025-10-18 08:14:26 +08:00 |
|
zdl
|
495ad758ea
|
feat: 10.10线上最新代码提交
|
2025-10-11 16:16:02 +08:00 |
|
|
|
4d0dc109bc
|
updated
|
2025-10-11 12:10:00 +08:00 |
|
|
|
8107dee8d3
|
Initial commit
|
2025-10-11 12:02:01 +08:00 |
|