feat(web): 支付记录双 Tab 与平台选用弹层

订阅/充值分形态表单(秒级时间、金额非负、额度换算预览);
选用弹层已登记灰显、每次打开重拉、关弹窗清密码。
This commit is contained in:
2026-10-09 22:02:36 +08:00
parent 10d8f4c915
commit c03fdc3d67
16 changed files with 1212 additions and 483 deletions
+4 -2
View File
@@ -1,7 +1,8 @@
import type {
LogItem,
Paginated,
PaymentItem,
SubscriptionItem,
TopupItem,
UnixSec,
UsageTotals,
} from "@new-api-key-usage/core";
@@ -27,7 +28,8 @@ export type MemberOverview = {
log_synced_at: UnixSec | null;
usage: UsageTotals;
}>;
payments: PaymentItem[];
subscriptions: SubscriptionItem[];
topups: TopupItem[];
};
export async function fetchMe(): Promise<MemberMe> {