fix: 真流量虚流量权限
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m42s

This commit is contained in:
sexygoat
2026-05-14 10:52:11 +08:00
parent 1690252740
commit 38cf7d12e9
29 changed files with 859 additions and 198 deletions

View File

@@ -0,0 +1,16 @@
## 1. Contract Alignment
- [x] 1.1 扩展资产当前生效套餐相关类型,支持 `expiry_base`
- [x] 1.2 调整 `useAssetInfo.ts` 中当前生效套餐的数据映射,确保页面状态保留 `expiry_base`
## 2. UI Display
- [x] 2.1 在资产信息页“当前生效套餐”卡片中新增“到期计时基准”展示项
- [x] 2.2 按统一文案映射 `expiry_base``from_activation` -> “实名激活时起算”,`from_purchase` -> “购买时起算”
- [x] 2.3 当 `expiry_base` 为空、缺失或未知时,显示稳定占位内容,不自行推断
## 3. Verification
- [x] 3.1 验证 `current-package` 返回 `expiry_base=from_activation` 时,页面正确显示“实名激活时起算”
- [x] 3.2 验证 `current-package` 返回 `expiry_base=from_purchase` 时,页面正确显示“购买时起算”
- [x] 3.3 验证 `expiry_base` 缺失或为空时,页面仍能正常渲染其余套餐信息且显示占位内容