Files
device-voice-h5/openspec/changes/update-wallet-display-rules/tasks.md
sexygoat 3f997063f4
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 1m37s
fix: 优化体验
2026-05-09 16:14:06 +08:00

19 lines
1.1 KiB
Markdown

## 1. Homepage Wallet Balance Display
- [x] 1.1 Add a display rule for the homepage wallet entry that converts the backend cent amount to yuan before rendering
- [x] 1.2 Ensure converted values do not expose the raw cent amount in the `钱包(...)` label
- [x] 1.3 Preserve correct display for zero and non-integer yuan values
## 2. Recharge Order Auto Purchase Field Visibility
- [x] 2.1 Render the recharge order `自动购包` row only when the recharge order includes auto purchase status data
- [x] 2.2 Preserve the existing status text mapping when auto purchase status data exists, including compatible `0` and `1` values
- [x] 2.3 Hide the row entirely when auto purchase status data is absent
## 3. Regression Verification
- [x] 3.1 Verify a homepage wallet balance of `100` is displayed as `1` in the wallet entry
- [x] 3.2 Verify a non-round cent amount is displayed as its yuan value rather than the raw cent integer
- [x] 3.3 Verify recharge orders with `auto_purchase_status` render the `自动购包` row
- [x] 3.4 Verify recharge orders without `auto_purchase_status` do not render the `自动购包` row