Files
dukang/docs/杜康好客-v3.5.7-开发文档.md
T
jacy a3f17cbf94
CI / verify (pull_request) Waiting to run
v3.5.7版本迭代
门店端UI修改
2026-08-23 19:26:12 +08:00

51 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 杜康好客 · v3.5.7 开发文档
> **2026-08-23** · h5-shop
> **主题**:门店端核销页两处 UI 修复(记录时间显示秒、首页统计文案)
---
## 1. 版本目标
1. **核销记录** 列表「核销时间」显示到秒(不再截断到分钟)。
2. **门店首页** 统计卡片「今日到账金额」改为「今日核销金额」,与 `todayAmount`(当日券面核销额合计)语义一致。
**不做**:后端 API / 结算逻辑;提现页时间格式;小程序版本号;`pages/shop/` 原型。
---
## 2. 功能清单
| 工单 | 项 | 说明 |
|------|----|------|
| DPT-20260821-935 | 核销记录时间 | `RecordsPage.tsx` 去掉 `.slice(0, 16)`,保留 `toLocaleString('zh-CN', { hour12: false })` |
| DPT-20260821-796 | 首页统计文案 | `HomePage.tsx` 标签「今日到账金额」→「今日核销金额」 |
---
## 3. 关键路径
| 域 | 路径 |
|----|------|
| 核销记录 | `apps/h5-shop/src/pages/RecordsPage.tsx` |
| 门店首页 | `apps/h5-shop/src/pages/HomePage.tsx` |
---
## 4. 发版步骤
| 步骤 | 动作 |
|------|------|
| 1 | `pnpm build`h5-shop |
| 2 | 发 `h5-shop` 静态资源 |
无 Prisma 迁移、无 API 变更。
---
## 5. 验收清单
- [ ] 门店首页统计区显示「今日核销金额」,金额仍为当日券面合计
- [ ] 核销记录页每条「核销时间」含秒(如 `2026/8/23 18:48:30`
- [ ] 打款时间、金额列、筛选与 Tab 行为无回归