zdl
|
776c7a0f98
|
perf: CompanyOverview Tab 懒加载优化
- 拆分 loadData 为 loadBasicInfoData 和 loadDeepAnalysisData
- 首次加载仅请求 9 个基本信息接口(原 12 个)
- 深度分析 3 个接口切换 Tab 时按需加载
- 新闻动态 1 个接口切换 Tab 时按需加载
- 调整 Tab 顺序:基本信息 → 深度分析 → 新闻动态
- stockCode 变更时重置 Tab 状态和数据
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-09 17:37:11 +08:00 |
|
zdl
|
2efd731f96
|
feat: 添加股票行情卡片
|
2025-12-09 17:26:58 +08:00 |
|
zdl
|
0d67ef76f0
|
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
|
6395bed162
|
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
|
48455959fb
|
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
|
0193b54afe
|
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
|
f1dd7c5b16
|
feat: 添加 useCompanyStock 股票代码管理
|
2025-12-09 15:18:06 +08:00 |
|
zdl
|
f064b982e8
|
fix: bug修复
|
2025-12-09 15:16:02 +08:00 |
|
zdl
|
c96e301eaa
|
feat: 添加Company 页面 Tab 切换组件
|
2025-12-09 15:01:16 +08:00 |
|
zdl
|
ad26ae0a44
|
feat: 添加Company 页面头部组件 CompanyHeader
index.js # 组合导出
SearchBar.js # 股票搜索栏
WatchlistButton.js # 自选股按钮
|
2025-12-09 14:59:24 +08:00 |
|
zdl
|
39e8e04c94
|
fix: 文案修改
|
2025-12-08 19:23:12 +08:00 |
|
|
|
dbc99fe492
|
update pay ui
|
2025-12-02 18:55:59 +08:00 |
|
|
|
3587571568
|
update pay ui
|
2025-12-02 18:50:01 +08:00 |
|
|
|
2db88d6dc2
|
update pay function
|
2025-11-25 20:22:45 +08:00 |
|
|
|
05a2f62a42
|
update pay function
|
2025-11-23 17:19:56 +08:00 |
|
|
|
8d118ccfff
|
update pay function
|
2025-11-23 16:57:02 +08:00 |
|
|
|
2c3426219b
|
update pay function
|
2025-11-23 16:34:45 +08:00 |
|
|
|
ae42a65404
|
update pay function
|
2025-11-23 16:23:18 +08:00 |
|
|
|
1da3363a40
|
update pay function
|
2025-11-23 15:58:14 +08:00 |
|
|
|
c6af0f83e5
|
update pay function
|
2025-11-23 15:40:58 +08:00 |
|
zdl
|
07751f3ff4
|
feat: Company - 5个事件(页面浏览、股票搜索、Tab 切换、自选股管理)
|
2025-10-28 21:52:27 +08:00 |
|
zdl
|
f3e84934ae
|
feat: 修复数据获取bug
|
2025-10-27 17:21:31 +08:00 |
|
zdl
|
300c0a18a6
|
feat: 添加合规
|
2025-10-20 21:25:33 +08:00 |
|
zdl
|
dc26c2bee3
|
feat: 添加导航徽章
|
2025-10-20 13:28:37 +08:00 |
|
zdl
|
90263a488c
|
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
|
bef96da3f1
|
feat: 重构Company和Concept页面
|
2025-10-18 08:14:26 +08:00 |
|
zdl
|
c1132cd0d6
|
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 |
|