zdl
|
e110d5860c
|
perf(HeroPanel): 性能优化 - React.memo、API并行化、useReducer重构
- 添加 React.memo 优化子组件,减少 30-40% 不必要重渲染
- CombinedCalendar.js
- EventDailyStats.js (TopEventItem)
- MarketOverviewBanner/components.js (MarketStatsBarCompact, CircularProgressCard, BannerStatCard)
- DetailModal.js: 股票行情 API 从串行改为 Promise.all 并行加载
- 加载时间从 10s+ 降至 2-3s
- useDetailModalState.js: 17 个 useState 重构为 1 个 useReducer
- 减少状态更新导致的重渲染
- 保持向后兼容,使用 useRef 处理旧 API 调用模式
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 17:32:08 +08:00 |
|
zdl
|
d29eff6a55
|
style(EventCard): 浏览量样式调整
- 眼睛图标放大至 20px
- 文字放大至 14px
- 颜色改为亮白色
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 16:57:57 +08:00 |
|
zdl
|
ed9f7ddabe
|
style(EventCard): 事件卡片布局优化
- 投票按钮移至标题行右侧,红绿胶囊合并样式
- 浏览量图标换为 lucide Eye icon
- 浏览/收藏绝对定位到卡片右下角
- 收藏按钮改为深色胶囊背景+金色星星
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 16:31:39 +08:00 |
|
zdl
|
c6d7ac5d41
|
Merge branch 'feature_bugfix/20260112_count' into feature_bugfix/20260106
合并 HeroPanel 模块化重构及多个组件优化:
- HeroPanel: 3000+ 行拆分为模块化子组件 (~219行)
- ThemeCometChart/MarketOverviewBanner: 提取常量和子组件
- CompactSearchBox/TradingTimeFilter: 提取工具函数
- MainlineTimeline: 提取时间线子组件
- StockChangeIndicators: 修复 React Hooks 规则
冲突解决:保留重构后的精简版 HeroPanel.js
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 15:11:51 +08:00 |
|
zdl
|
d05f84426c
|
feat(HeroPanel): 财经日历交互优化
- CombinedCalendar: 点击概念条打开概念详情页
- DetailModal: 日期点击弹窗恢复为居中 Modal
- DetailModal: 事件背景/推演详情改为右侧抽屉(500px)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 15:03:38 +08:00 |
|
zdl
|
a8dc68bddf
|
refactor(MainlineTimeline): 提取常量、工具、子组件到子模块
- constants.js: COLORS 颜色配置, EVENTS_PER_LOAD 分页常量
- utils.js: formatEventTime, getChangeBgColor, getColorScheme
- TimelineEventItem.js: 时间线事件项组件
- MainlineCard.js: 主线卡片组件
- index.js: 模块统一导出
主文件从 ~670 行精简到 ~200 行
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 11:45:18 +08:00 |
|
zdl
|
da13cf08c5
|
refactor(TradingTimeFilter): 提取常量和工具函数到子模块
- constants.js: TIME_BOUNDARIES, TRADING_SESSIONS 时间边界配置
- utils.js: getCurrentTradingSession, getPrevTradingDay, generateTimeRangeConfig, disabledDate/Time
- index.js: 模块统一导出
主文件从 ~440 行精简到 ~260 行
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 11:45:12 +08:00 |
|
zdl
|
8a7f624589
|
refactor(CompactSearchBox): 提取常量和工具函数到子模块
- constants.js: SORT_OPTIONS, IMPORTANCE_OPTIONS 选项配置
- utils.js: findIndustryPath, inferTimeRangeFromFilters, buildFilterParams
- index.js: 模块统一导出
主文件逻辑更清晰,工具函数可复用
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 11:45:06 +08:00 |
|
zdl
|
b826b1e7dc
|
refactor(MarketOverviewBanner): 提取常量、组件、弹窗到子模块
- constants.js: 涨跌颜色、交易时间判断、格式化函数
- components.js: MarketStatsBarCompact, CircularProgressCard, BannerStatCard
- StockTop10Modal.js: TOP10 股票弹窗
- index.js: 模块统一导出
主文件从 ~440 行精简到 ~180 行
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 11:45:00 +08:00 |
|
zdl
|
d15d637c4e
|
refactor(ThemeCometChart): 提取常量、图表配置、弹窗到子模块
- constants.js: STATUS_CONFIG 板块状态配置
- chartOptions.js: generateChartOption 图表配置生成
- ThemeDetailModal.js: 板块详情弹窗组件
- index.js: 模块统一导出
主文件从 ~400 行精简到 ~180 行
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 11:44:53 +08:00 |
|
zdl
|
69f587ad08
|
refactor(HeroPanel): 主组件重构 & 删除废弃文件
HeroPanel 重构:
- 从 3000+ 行精简到 219 行,代码提取到子模块
- 导入模块化组件:CombinedCalendar, DetailModal
- 导入样式:animations.css
StockChangeIndicators 修复:
- 修复 React Hooks 规则违规:useColorModeValue 移至组件顶层
- 颜色选择函数不再调用 Hook,只做值选择
其他:
- 删除废弃的 EventEffectivenessStats.js
- 更新 Community/README.md 目录结构文档
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 11:44:09 +08:00 |
|
zdl
|
a426fb22b6
|
refactor(HeroPanel): 添加模块入口文件
- 统一导出主组件、常量、工具函数、表格渲染器
- 支持 import HeroPanel from './HeroPanel' 和模块化导入
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 11:42:44 +08:00 |
|
zdl
|
635abfc1ab
|
refactor(HeroPanel): 提取日历和统计卡片组件
- CalendarCell: 日历单元格,memo 优化渲染
- CombinedCalendar: 综合日历组件,懒加载 DetailModal
- HotKeywordsCloud: 热门关键词云,涨停分析 Tab 使用
- ZTStatsCards: 涨停统计卡片(连板分布、封板时间、公告驱动)
- InfoModal: 使用说明弹窗
- index.js: 组件统一导出
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 11:42:32 +08:00 |
|
zdl
|
1aea8dcb6c
|
refactor(HeroPanel): 提取 hooks/constants/utils/styles 基础模块
- hooks/useDetailModalState: 整合弹窗 17 个状态为单一 Hook
- constants: 主题色配置、热度级别常量、日期常量
- utils: 交易时间判断、热度颜色、日期/股票代码格式化
- styles/animations.css: 深色主题覆盖、动画、滚动条样式
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-15 11:42:24 +08:00 |
|
|
|
ec9ce15f6f
|
修复heropanel无法下拉背景页面
|
2026-01-15 11:37:01 +08:00 |
|
|
|
1c81448bb3
|
修复heropanel无法下拉背景页面
|
2026-01-14 17:24:35 +08:00 |
|
|
|
167ee0cce7
|
修复heropanel无法下拉背景页面
|
2026-01-14 17:11:32 +08:00 |
|
|
|
ecd249eafd
|
修复heropanel无法下拉背景页面
|
2026-01-14 14:25:46 +08:00 |
|
zdl
|
2948f14904
|
refactor(HeroPanel): 提取 DetailModal 相关组件
- 主弹窗 DetailModal 使用 Hook 管理状态
- ZTSectorView/ZTStockListView 使用 memo 优化
- EventsTabView 添加空状态处理
- RelatedEventsModal 涨停归因详情
- SectorStocksModal 板块股票详情
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-13 19:00:48 +08:00 |
|
zdl
|
e070df5d62
|
refactor(HeroPanel): 提取表格列定义到 columns 目录
- 新增 renderers.js 通用渲染函数
- 新增 stockColumns.js 事件关联股票列
- 新增 sectorColumns.js 涨停板块列
- 新增 ztStockColumns.js 涨停个股列
- 新增 eventColumns.js 未来事件列
- 使用工厂函数模式,支持 useMemo 缓存
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-13 19:00:42 +08:00 |
|
|
|
b13567237f
|
ios app
|
2026-01-13 18:25:35 +08:00 |
|
|
|
257f1cae69
|
ios app
|
2026-01-13 15:58:04 +08:00 |
|
zdl
|
9c1ec403f0
|
style(community): DynamicNewsCard 标题样式微调
- 移除 Heading 组件,简化为 HStack + Text
- 调整图标和文字大小
|
2026-01-13 15:51:13 +08:00 |
|
zdl
|
1d1e25530f
|
chore(mocks): 新增 2026年1月事件 mock 数据
|
2026-01-13 15:50:50 +08:00 |
|
|
|
45d5debead
|
ios app
|
2026-01-13 15:10:13 +08:00 |
|
zdl
|
6c25cd14c7
|
refactor(settings): 设置页面重构 & 支付状态优化
- SettingsPage: 功能增强
- PaymentStatus: 关闭按钮样式优化
- InvoicePage: 支持嵌入模式
|
2026-01-13 14:59:01 +08:00 |
|
zdl
|
7148dd97c2
|
refactor(navbar): 导航栏布局重构
- 新增 MySpaceButton 组件
- 删除 PersonalCenterMenu,功能合并到 DesktopUserMenu
- 桌面端布局:[我的空间] | [头像][用户名]
|
2026-01-13 14:58:29 +08:00 |
|
zdl
|
61df9af798
|
style(community): 移除事件中心页面顶部多余 padding
|
2026-01-13 14:57:45 +08:00 |
|
zdl
|
9bfdd56af1
|
feat(community): 新增 MarketOverviewBanner 组件
- 股票 TOP10 弹窗功能
- 暗色主题表格样式
|
2026-01-13 14:57:04 +08:00 |
|
zdl
|
de9dfeccca
|
feat(community): 连板情绪图表标题改为两行布局
- 第一行:日期 + 图例
- 第二行:标题 + 热度数 + 事件数
- 热度图标改为 CaretUpFilled(涨停含义)
|
2026-01-13 14:56:37 +08:00 |
|
zdl
|
59da1718ae
|
feat(community): 事件TOP10添加无限滚动动画
- 默认展示8个事件,列表向上无限轮播
- 使用 framer-motion useAnimationControls 实现
- 鼠标悬停时暂停动画
|
2026-01-13 14:55:55 +08:00 |
|
zdl
|
098a88c5ba
|
feat(calendar): 日历单元格改为两行布局
- 第一行:日期 + 上证涨跌
- 第二行:热度(涨停数)+ 事件数
- 周一至周日表头背景色修复为深色主题
- 事件条高度固定为12px,防止不同行对齐问题
|
2026-01-13 14:55:28 +08:00 |
|
zdl
|
b11c9e91d3
|
feat: 添加mock数据
|
2026-01-13 10:57:38 +08:00 |
|
|
|
38f0885a85
|
修复heropanel无法下拉背景页面
|
2026-01-13 08:16:14 +08:00 |
|
|
|
29f6429c55
|
修复heropanel无法下拉背景页面
|
2026-01-12 19:50:24 +08:00 |
|
|
|
daa3b1e8f2
|
事件中心的涨停原因里面和事件相关
|
2026-01-12 08:07:14 +08:00 |
|
|
|
467a8c6616
|
事件中心的涨停原因里面和事件相关
|
2026-01-12 07:46:36 +08:00 |
|
|
|
07bb1259ef
|
事件中心的涨停原因里面和事件相关
|
2026-01-12 07:37:27 +08:00 |
|
|
|
ab5573ff36
|
事件中心的涨停原因里面和事件相关
|
2026-01-12 07:14:30 +08:00 |
|
|
|
11c9e7b134
|
事件中心的涨停原因里面和事件相关
|
2026-01-11 14:04:07 +08:00 |
|
|
|
5ee6fe54f1
|
事件中心的涨停原因里面和事件相关
|
2026-01-11 09:29:57 +08:00 |
|
|
|
d26bec9b23
|
事件中心的涨停原因里面和事件相关
|
2026-01-11 09:14:48 +08:00 |
|
|
|
2eb876ebbf
|
事件中心的涨停原因里面和事件相关
|
2026-01-10 19:05:14 +08:00 |
|
|
|
6ae338eae8
|
事件中心的涨停原因里面和事件相关
|
2026-01-10 18:57:05 +08:00 |
|
|
|
4d077adcf2
|
事件中心的涨停原因里面和事件相关
|
2026-01-10 18:44:58 +08:00 |
|
|
|
654c6cff04
|
事件中心的涨停原因里面和事件相关
|
2026-01-10 18:41:49 +08:00 |
|
|
|
9827f86a85
|
百度站长规则
|
2026-01-10 09:50:28 +08:00 |
|
zdl
|
60f65a5d68
|
feat(Payment): 添加微信 JSAPI 支付页面
- 新增 WechatJsapiPayment.tsx 微信公众号支付页面
- 新增 wechat.d.ts 微信 JSSDK 类型定义
- 添加支付相关路由配置
- payment.js handler 添加 JSAPI 支付接口
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-09 16:25:55 +08:00 |
|
zdl
|
846c44c1ec
|
refactor(EventCard): 工具栏 UI 重构为上下结构
- 投票按钮改用 TrendingUp/TrendingDown 折线图标
- 投票按钮改为上图标下数字的垂直布局
- 浏览量、收藏按钮改为上下结构
- 工具栏间距从 2 减为 1
- 传递超预期得分到 StockChangeIndicators
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-09 16:11:36 +08:00 |
|
zdl
|
483b9ad298
|
feat(EventFollowButton): 添加 layout prop 支持垂直布局
- 新增 layout prop: 'horizontal' | 'vertical'
- minimal variant 支持上图标下文字的垂直布局
- 垂直模式下调整图标大小和字体
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-01-09 16:11:28 +08:00 |
|