Commit Graph

1407 Commits

Author SHA1 Message Date
c11fee2ae5 update pay ui 2025-12-17 08:25:52 +08:00
1cf55a94c3 update watchlist 2025-12-16 15:03:35 +08:00
ae62108881 Merge branch 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251201_py_h5_ui 2025-12-16 14:48:46 +08:00
8727e4dbaf update watchlist 2025-12-16 14:48:40 +08:00
zdl
72aef087ea refactor(Concept): 优化 3D 力导向图和层级图组件
ForceGraphView:
- 优化 API 请求路径兼容性
- 改进数据处理逻辑

HierarchyView:
- 优化层级数据获取
- 改进 API 兼容性

DataVisualizationComponents:
- 代码优化

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-16 13:14:16 +08:00
zdl
573fa409e3 fix(Mock): 修复概念中心 mock 数据并扩充层级结构
修复:
- latest_date → latest_trade_date(与前端字段名一致)
- 日期格式使用 YYYY-MM-DD 确保 Date 解析正确

扩充:
- 新增 /concept-api/ 路径的 MSW handler(代理兼容)
- 层级结构数据从 8 个一级分类扩充到 15 个
- 添加更丰富的二级/三级概念数据
- 新增 limitAnalyse mock handler

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-16 13:14:16 +08:00
zdl
c962b3a550 feat(Concept): 优化日期选择器布局和排序方式显示
日期选择器布局调整:
- TradeDatePicker 新增 showLatestTradeDateTip prop 控制是否显示最新日期提示
- 快捷按钮(今天/昨天/一周前/一月前)移到日期输入框后
- 「数据更新至」提示移到最右侧,样式更低调避免误认为按钮

排序方式条件显示:
- 排序方式下拉框仅在列表视图(viewMode='list')显示
- 其他视图(3D图/层级图)隐藏排序方式,视图切换按钮自动靠右

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-16 13:14:16 +08:00
zdl
fba95a6701 fix(Concept): 修复历史时间轴图例颜色与日历不一致
- 将「涨3%+」图例边框颜色从 orange.400 改为 red.500
- 与日历中高涨幅事件背景色 (#F56565) 统一

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-16 13:14:16 +08:00
a25d8c365b update watchlist 2025-12-16 12:31:31 +08:00
b496b0a58b update watchlist 2025-12-16 08:32:33 +08:00
3d1057fd04 update watchlist 2025-12-16 08:25:19 +08:00
804ca77c1b update watchlist 2025-12-16 07:59:34 +08:00
39cbf98d6a update watchlist 2025-12-15 18:40:11 +08:00
50d881b889 update watchlist 2025-12-15 18:35:59 +08:00
da13861e6c Merge branch 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251201_py_h5_ui 2025-12-15 18:28:43 +08:00
8221180200 update watchlist 2025-12-15 18:28:35 +08:00
zdl
1eb8361249 fix(Concept): 修复历史时间轴研报查看原文按钮无反应
- 添加 formatUrl 函数自动补全 URL 协议前缀(http/https)
- 处理缺少协议或协议相对路径的 URL
- 添加弹窗拦截提示和无效链接错误提示

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 18:26:29 +08:00
affff859b0 update watchlist 2025-12-15 18:24:34 +08:00
389a537cef update watchlist 2025-12-15 18:16:31 +08:00
72836fa5d4 update pay ui 2025-12-15 18:08:06 +08:00
17479a7362 Merge branch 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251201_py_h5_ui 2025-12-15 18:07:57 +08:00
f5c46ae71b update pay ui 2025-12-15 18:01:52 +08:00
zdl
fff937a7d5 feat(Concept): 热门个股标签点击跳转个股详情页
- 卡片视图和列表视图中的股票标签(如"阳光电源")可点击
- 点击后在新标签页打开个股详情页
- 悬停时有放大和颜色变化的视觉反馈
- "+X更多"仍然弹出完整股票列表

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 17:53:21 +08:00
710dc07582 update pay ui 2025-12-15 17:48:25 +08:00
zdl
1ecd3e6d10 feat(Concept): 股票数量和更多按钮可点击弹出股票列表
- 卡片视图:右上角"X只股票"徽章可点击
- 列表视图:"X只股票"文字可点击
- 列表视图:"+X更多"文字可点击
- 点击后弹出股票列表弹窗,与"查看个股"按钮行为一致

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 17:21:53 +08:00
zdl
59fdb150a9 fix(UI): 优化市值热力图和概念统计列表交互
- StockOverview: 启用热力图面包屑导航,支持返回上一级
- ConceptStatsPanel: 移除统计列表 400px 高度限制,改为自适应高度

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 17:21:53 +08:00
zdl
293886b54a feat(Navbar): 订阅提示文案可点击跳转
- "点击管理订阅"文字改为可点击链接,直接跳转订阅页面
- 文案简化:移除"头像"二字
- 链接样式:蓝色文字 + 悬停下划线

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 17:21:53 +08:00
zdl
f304268af9 fix(Navbar): 优化用户头像悬停交互和订阅信息显示
- 将 Tooltip 改为 Popover 组件,支持鼠标悬停到弹出内容上
- 用户现在可以正常悬停到"点击头像管理订阅"提示
- 订阅信息新增到期日期显示,用户无需自己计算到期时间

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 17:21:53 +08:00
zdl
cbef50c3e5 ui: 优化使用说明弹窗提示文字样式
- 提示文字颜色从 whiteAlpha.400 改为 yellow.300,更醒目
- 字号从 11px 增加到 12px,增加 fontWeight
- 边框颜色调整为金色调

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 17:21:53 +08:00
zdl
9990d95e28 fix(Community): 优化搜索和时间筛选交互
- 搜索框添加清空按钮(allowClear)
- 自定义时间范围限制不能超过当前时间(精确到分钟)
- 相关概念移除"相关度"显示

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 17:21:53 +08:00
afe1180736 update pay ui 2025-12-15 16:50:03 +08:00
d28e25b37c Merge branch 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251201_py_h5_ui 2025-12-15 16:03:15 +08:00
64249fc768 update pay ui 2025-12-15 16:03:10 +08:00
zdl
4a5e18a90d style(HotEvents): 优化热点事件卡片 UI 和交互体验
- 触控板滑动优化:添加 swipeToSlide 等配置,滑动更流畅
- 布局调整:涨幅标签从标题移到底部,去掉作者显示
- 重要度徽章优化:长方形圆角样式,S/A红色系、B/C橙色系

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 15:58:03 +08:00
zdl
b7315bbdb4 feat: 历史事件卡片根据重要性显示不同背景色
- 重要性 >= 4:红色背景(高重要性)
- 重要性 >= 2:橙色背景(中等重要性)
- 重要性 < 2:绿色背景(低重要性)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 15:33:45 +08:00
zdl
378df947a9 fix(Pagination): 优化中间页码显示,调整跳转文案格式
- 中间页码:显示当前页前后各1个页码 (如 1...4,5,6...10)
- 跳转文案:从"跳转到 [页]"改为"第 [  ] 页"格式

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 15:20:16 +08:00
zdl
a9c21d8478 fix(UI): Profile 取消按钮样式、HotEvents 轮播箭头、Dashboard 按钮优化
- Profile: 取消按钮添加深色主题样式 (color, borderColor, hover)
- HotEvents: 轮播箭头添加 user-select: none 防止连续点击选中文本
- Dashboard: "查看更多"按钮改为图标按钮 (IconButton + FiPlus)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 15:20:02 +08:00
zdl
7be35d7bb8 fix(StockChart): 图表组件使用 aspect-ratio 保持宽高比,统一弹窗大小
- KLineChartModal: 日K线图使用 aspectRatio 替代固定高度
- StockChartKLineModal: K线图高度改为响应式 min(400px, 60vh)
- TimelineChartModal: 分时图弹窗大小与日K线统一,maxWidth: 1400px

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 15:19:51 +08:00
zdl
4e5f999881 fix: 修复热门概念滚动动画暂停时跳跃问题
- 使用 animation-play-state 代替移除动画
- 暂停时保持在当前位置而不是跳回初始位置

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 14:54:13 +08:00
zdl
c1b8a98bb4 fix: 添加热门概念静态数据的 mock handler
- 拦截 /data/concept/latest.json 请求
- 返回 mock 生成的热门概念数据
- 修复 HeroPanel 热门概念模块无数据问题

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 14:52:31 +08:00
zdl
46be0249a8 ui: 移除热门概念模块的"点击查看详情"提示
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 14:49:33 +08:00
zdl
f2713e5e0a fix: 桑基图标题位置调整,避免被图表遮挡
- 标题 top 调整为 5
- 桑基图 series 添加 top: 50 给标题留出空间
- 添加 bottom, left, right 边距配置

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 14:22:09 +08:00
zdl
e48bcbb74b fix: 桑基图样式优化 2025-12-15 14:17:28 +08:00
zdl
d37cc720ef fix: 添加删除帖子的 mock handler
- 支持 DELETE /api/posts/:postId 请求
- 从内存存储中正确删除评论
- 修复 mock 模式下删除评论失败的问题

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 14:10:44 +08:00
zdl
0775409c9f fix: 添加删除帖子的 mock handler
- 支持 DELETE /api/posts/:postId 请求
- 从内存存储中正确删除评论
- 修复 mock 模式下删除评论失败的问题

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 14:10:44 +08:00
zdl
a89489ba46 feat: 支持用户删除自己的评论
- CommentItem: 添加删除按钮(仅显示在自己的评论上)
- CommentItem: 添加删除确认对话框,防止误删
- CommentList: 传递 currentUserId 和 onDelete 到 CommentItem
- EventCommentSection: 添加 handleDeleteComment 处理函数
- mock handler: 使用真实登录用户信息创建评论

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 14:10:44 +08:00
zdl
e493ae5ad1 fix: 前端兼容 phone 字段可能为非字符串的情况
- 在所有显示 user.phone 的地方添加类型检查
- 使用 typeof user.phone === 'string' && user.phone 确保只有字符串才显示
- 修复微信登录后 phone 为对象时显示 [object Object] 的问题

涉及文件:
- TabletUserMenu.js
- MobileDrawer.js
- UserAvatar.js
- PersonalCenterMenu.js

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 14:10:44 +08:00
zdl
83b5941281 fix: 微信登录 API 返回数据添加 phone 字段
- /api/auth/login/wechat 端点返回的 user 对象中添加 phone 和 phone_confirmed 字段
- 保持与 /api/auth/session 返回格式一致
- 修复 PC 端微信扫码登录后手机号显示 [object, object] 的问题

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 14:10:44 +08:00
ff8a7b2dfb update pay ui 2025-12-15 13:50:17 +08:00
b4de2ca5fa update pay ui 2025-12-15 13:48:43 +08:00