66 lines
3.8 KiB
Markdown
66 lines
3.8 KiB
Markdown
# 小程序页面迁移追踪
|
||
|
||
> 更新日期:2026-03-07
|
||
> 迁移规范:`migration-guide.md` + `h5-to-miniprogram-pitfalls.md` §2.2.1(87.5% 缩放)
|
||
> H5 原型目录:`docs/h5_ui/pages/`
|
||
> 交互说明目录:`docs/h5_ui/interactions/`
|
||
|
||
## 已完成(5 页)
|
||
|
||
| 页面 | 小程序路径 | H5 原型 | 状态 | 备注 |
|
||
|------|-----------|---------|------|------|
|
||
| no-permission | `pages/no-permission/` | `no-permission.html` | ✅ 已完成 | 参考实现,87.5% 缩放基准页 |
|
||
| login | `pages/login/` | `login.html` | ✅ 已完成 | 87.5% 缩放已应用 |
|
||
| reviewing | `pages/reviewing/` | `reviewing.html` | ✅ 已完成 | 87.5% 缩放已应用 |
|
||
| apply | `pages/apply/` | `apply.html` | ✅ 已完成 | 87.5% 缩放 + 像素级微调 |
|
||
| board-coach | `pages/board-coach/` | `board-coach.html` | ✅ 已完成 | 87.5% 缩放 + 4 维度卡片 + 组件规范见 `shared-component-specs.md` |
|
||
| board-customer | `pages/board-customer/` | `board-customer.html` | ✅ 已完成 | 8 维度卡片 + 最专一独立表格布局 + heart-icon 组件 |
|
||
|
||
## 正在迁移(1 页)
|
||
|
||
| 页面 | 小程序路径 | H5 原型 | 状态 | 备注 |
|
||
|------|-----------|---------|------|------|
|
||
| board-finance | `pages/board-finance/` | `board-finance.html` | 🔧 迁移中 | 6 板块完整重写:经营一览(深色)+预收资产(储值卡+赠送卡表格)+应计收入(收入结构+损益链)+现金流入+现金流出(4类网格)+助教分析(基础课+激励课表格) |
|
||
|
||
## 待迁移(14 页)
|
||
|
||
| 页面 | 小程序路径 | H5 原型 | 交互说明 | 优先级 | 备注 |
|
||
|------|-----------|---------|----------|--------|------|
|
||
| task-list | `pages/task-list/` | `task-list.html` | ✅ | 高 | 任务列表(主页 Tab) |
|
||
| my-profile | `pages/my-profile/` | `my-profile.html` | ✅ | 高 | 个人中心(主页 Tab) |
|
||
| task-detail | `pages/task-detail/` | `task-detail.html` | ✅ | 高 | 任务详情 |
|
||
| task-detail-callback | `pages/task-detail-callback/` | `task-detail-callback.html` | ✅ | 中 | 任务详情-回访 |
|
||
| task-detail-priority | `pages/task-detail-priority/` | `task-detail-priority.html` | ✅ | 中 | 任务详情-优先级 |
|
||
| task-detail-relationship | `pages/task-detail-relationship/` | `task-detail-relationship.html` | ✅ | 中 | 任务详情-关系 |
|
||
| coach-detail | `pages/coach-detail/` | `coach-detail.html` | ✅ | 中 | 助教详情 |
|
||
| customer-detail | `pages/customer-detail/` | `customer-detail.html` | ✅ | 中 | 客户详情 |
|
||
| customer-service-records | `pages/customer-service-records/` | `customer-service-records.html` | ✅ | 中 | 客户服务记录 |
|
||
| performance | `pages/performance/` | `performance.html` | ✅ | 中 | 业绩总览 |
|
||
| performance-records | `pages/performance-records/` | `performance-records.html` | ✅ | 中 | 业绩明细 |
|
||
| chat | `pages/chat/` | `chat.html` | ✅ | 中 | AI 对话 |
|
||
| chat-history | `pages/chat-history/` | `chat-history.html` | ✅ | 中 | 对话历史 |
|
||
| notes | `pages/notes/` | `notes.html` | ✅ | 低 | 备忘录 |
|
||
|
||
## 无需 H5 迁移的页面
|
||
|
||
| 页面 | 小程序路径 | 说明 |
|
||
|------|-----------|------|
|
||
| mvp | `pages/mvp/` | 临时入口/路由分发页,无 H5 原型 |
|
||
| index | `pages/index/` | 框架默认页,无 H5 原型 |
|
||
| logs | `pages/logs/` | 框架默认日志页,无 H5 原型 |
|
||
| dev-tools | `pages/dev-tools/` | 开发调试工具页,无 H5 原型 |
|
||
|
||
|
||
| H5 原型 | 交互说明 | 说明 |
|
||
|---------|----------|------|
|
||
| `home-settings.html` | 无 | 首页设置,待确认是否需要 |
|
||
|
||
## 迁移流程参考
|
||
|
||
1. 输入物冻结(H5 html + interactions md + design-tokens.json)
|
||
2. 迁移审计(对比当前小程序代码与 H5 原型差异)
|
||
3. 规则化转换(标签映射 + 87.5% 缩放 + 事件绑定)
|
||
4. 编译验证(开发者工具无报错)
|
||
5. 真机差异修复(截图对比像素级微调)
|
||
6. 验收签收(用户确认)
|