rwadurian/frontend/mobile-app/lib/features/profile
hailin 8b48d80cd4 feat(app): 预种计划三按钮合并为单入口 Hub 页面
## 背景
「我」页面原有三个并排的预种按钮(预种购买 / 预种明细 / 团队预种),
三等分宽度导致文字拥挤,视觉层级也不清晰。

## 改动内容

### 新增文件
- `pre_planting_hub_page.dart`
  预种计划 Hub 汇总页,竖排展示三个功能入口卡片:
  · 预种购买(金色)→ /pre-planting/purchase
  · 预种明细(棕色)→ /pre-planting/position
  · 团队预种(绿色)→ /pre-planting/team
  页面为纯导航页,无需加载数据;风格与 pre_planting_purchase_page
  一致(渐变背景、金色「← 返回」Header、Inter 字体)。

### 修改文件
- `route_paths.dart` / `route_names.dart`
  新增路由常量 prePlantingHub = '/pre-planting/hub'

- `app_router.dart`
  注册 GoRoute(path: prePlantingHub) → PrePlantingHubPage
  新增对应 import

- `profile_page.dart`
  · 删除 `_buildPrePlantingButtons()`(三按钮并排 Widget)
  · 删除已无用的三个导航方法:
    _goToPrePlantingPurchase / _goToPrePlantingPosition / _goToTeamPrePlanting
  · 新增 `_buildPrePlantingEntryButton()`:
    满宽 48px 按钮,文字「申请预种计划」,点击跳转 Hub 页
  · 布局调用处改为 _buildPrePlantingEntryButton()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 06:42:50 -08:00
..
presentation feat(app): 预种计划三按钮合并为单入口 Hub 页面 2026-03-04 06:42:50 -08:00