rwadurian/frontend/mobile-app/lib/features
hailin 2d7b02aa96 fix(pre-planting): 修复预种页面 5 个 UI 问题(纯前端,零后端改动)
=== 问题 1:流水明细合同按钮 500 错误 ===
文件: ledger_detail_page.dart
原因: 预种订单(PPL 前缀)无合同,但流水详情弹窗显示「查看合同/下载合同」按钮
修复: _showTransactionDetail 检测 refOrderId.startsWith('PPL'),
      预种订单传 showContractButtons: false,弹窗不渲染合同按钮区

=== 问题 2:流水备注显示英文 ===
文件: ledger_detail_page.dart
原因: 备注字段存储的是 'Plant payment (from frozen)'(后端写入,不改后端)
修复: _TransactionDetailSheet 展示备注时,若订单号以 PPL 开头则显示「预种」

=== 问题 3:预种明细订单金额单位错误 ===
文件: pre_planting_position_page.dart
修复: '${order.totalAmount.toInt()} USDT' → '${order.totalAmount.toInt()} 绿积分'

=== 问题 4:省市显示数字代码(如 44 · 4401)===
文件: pre_planting_position_page.dart / pre_planting_purchase_page.dart
原因: provinceName/cityName 为 null 时回退显示 provinceCode/cityCode
修复:
  - position 页:条件改为 provinceName != null && cityName != null,无中文名则不显示省市行
  - purchase 页:加载时不再 fallback 到代码;锁定显示无名称时显示「已锁定」;
    购买确认弹窗省市行无名称时显示「-」

=== 问题 5:「合并进度」改为「合成进度」===
文件: pre_planting_position_page.dart / pre_planting_purchase_page.dart
修复: 两处 Text('合并进度') → Text('合成进度')

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 06:25:38 -08:00
..
account/presentation/pages fix(mobile-app): 增加切换账号全局防护,彻底解决切换期间自动退出登录 2026-02-26 12:41:45 -08:00
auth/presentation feat(app-assets): 应用图片管理 — 开屏图/引导图可从 admin-web 配置 2026-02-04 11:20:26 -08:00
authorization/presentation fix(mobile-app): 修复多账号切换数据串号问题,完善存储隔离与状态重置 2026-02-25 06:13:05 -08:00
contract_signing/presentation feat(mobile-app): 增强合同PDF下载可靠性和用户体验 2026-01-09 07:12:21 -08:00
deposit/presentation/pages fix(mobile-app): fetch wallet address from server API instead of local storage 2026-01-04 10:00:33 -08:00
home/presentation feat(notification): 新增强制阅读弹窗功能(管理员可配置 requiresForceRead) 2026-02-27 19:33:51 -08:00
kyc feat(mobile-app): KYC成功后自动跳转合同签署页面 2025-12-25 07:07:43 -08:00
mining/presentation/pages feat(mobile-app): 为3个主导航页面添加下拉刷新功能 2026-02-05 21:50:43 -08:00
notification/presentation feat(notification): 新增强制阅读弹窗功能(管理员可配置 requiresForceRead) 2026-02-27 19:33:51 -08:00
pending_actions/presentation/pages fix(mobile-app): 修复认种订单解析和状态检查问题 2026-01-09 02:49:31 -08:00
planting/presentation fix(planting): 修复认种页面动态定价不生效 + 添加涨价倒计时 2026-02-26 10:22:27 -08:00
pre_planting/presentation/pages fix(pre-planting): 修复预种页面 5 个 UI 问题(纯前端,零后端改动) 2026-02-28 06:25:38 -08:00
profile/presentation fix(pre-planting): 预种开关关闭时隐藏"我的"页面预种按钮 2026-02-26 23:11:53 -08:00
ranking/presentation/pages feat(mobile-app): 为3个主导航页面添加下拉刷新功能 2026-02-05 21:50:43 -08:00
security/presentation/pages feat(email): 实现邮箱绑定/解绑功能 2025-12-23 20:53:20 -08:00
share/presentation/pages feat(frontend): 多项功能改进 2025-12-15 04:04:21 -08:00
trading/presentation/pages fix(pre-planting): 修复预种页面 5 个 UI 问题(纯前端,零后端改动) 2026-02-28 06:25:38 -08:00
transfer/presentation/pages style(transfer): 树转让 3 页面从暗夜主题改为 App 标准浅色棕金主题 2026-02-23 20:25:25 -08:00
withdraw/presentation/pages feat(fiat-withdrawal): add complete fiat withdrawal system 2026-01-03 06:39:11 -08:00