Commit Graph

5 Commits

Author SHA1 Message Date
SunCheng
1ba446f05a feat(calendar-v2): add delete functionality to transaction list
添加左滑删除功能:
- 启用 show-delete prop
- 实现 onTransactionDelete 事件处理器
- 删除后更新本地列表数据
2026-02-19 22:03:24 +08:00
SunCheng
4fd190f461 fix(calendar-v2): remove left/right padding from BillListComponent
添加样式覆盖,移除 van-cell-group 和 van-list 的左右内边距,
确保账单列表在日历视图中无左右空白
2026-02-19 21:56:23 +08:00
SunCheng
f8e6029108 refactor(calendar-v2): migrate TransactionList to BillListComponent
- 使用统一的 BillListComponent 替换自定义账单列表
- 保留自定义 header (交易记录标题 + Items 计数 + Smart 按钮)
- 移除数据格式转换逻辑,直接传递原始数据
- 简化代码从 403 行减少到 177 行
- 配置: data-source=custom, enable-filter=false, show-delete=false
2026-02-19 21:52:23 +08:00
SunCheng
e51a3edd50 refactor: 统一账单列表组件,封装 BillListComponent
- 创建 BillListComponent 组件(基于 v2 风格,紧凑布局)
  - 支持筛选(类型、分类、日期范围)和排序(金额、时间)
  - 支持分页加载、左滑删除、点击详情、多选模式
  - 支持 API 自动加载和 Custom 自定义数据两种模式
- 迁移 6 个页面/组件到新组件:
  - TransactionsRecord.vue
  - EmailRecord.vue
  - ClassificationNLP.vue
  - UnconfirmedClassification.vue
  - BudgetCard.vue
  - ReasonGroupList.vue
- 删除旧版 TransactionList 组件
- 保留 CalendarV2 的特殊版本(有专用功能)
- 添加完整的使用文档和 JSDoc 注释
2026-02-15 10:08:14 +08:00
SunCheng
952c75bf08 1
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 54s
Docker Build & Deploy / Deploy to Production (push) Successful in 9s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 2s
2026-02-03 17:56:32 +08:00