feat(client): 授权管理独立一级屏——授权/购买续费/订单管理三 tab(桌面+移动)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-07-11 00:24:59 +08:00
parent 9fe1e2766f
commit 22e07613a1
60 changed files with 1598 additions and 96 deletions
+4
View File
@@ -31,6 +31,7 @@ import 'status_icon_map.dart';
case '已结清':
case '已兑换':
case '在线':
case '已支付':
return (t.success, t.successBg);
case '已拒绝':
case '已驳回':
@@ -40,7 +41,10 @@ import 'status_icon_map.dart';
case '作废':
case '离线':
return (t.danger, t.dangerBg);
case '待支付':
return (t.warn, t.warnBg);
case '草稿':
case '已关闭':
return (t.muted, t.infoSoft);
default:
return (t.muted, t.borderSubtle);
@@ -46,6 +46,10 @@ const Map<String, IconData> kStatusIcons = {
'已结清': LucideIcons.check, // i-check
'收款': LucideIcons.download, // i-download
'付款': LucideIcons.upload, // i-upload
// 授权购买订单(license_purchases2026-07-10 登记)
'待支付': LucideIcons.clock, // i-ic04
'已支付': LucideIcons.check, // i-check
'已关闭': LucideIcons.x, // i-close
};
/// 查状态词对应图标;未登记返回 null(调用方回退圆点形态)。