feat(admin,api,player): settlement stats, team crests, MS fields and list bet summary

This commit is contained in:
2026-06-04 17:30:48 +08:00
parent cc737e2924
commit 9fcee31a9a
27 changed files with 2296 additions and 427 deletions

View File

@@ -8,8 +8,6 @@ const { locale, t } = useI18n();
const open = ref(false);
const wallet = ref<{ availableBalance?: unknown; frozenBalance?: unknown; currency?: string } | null>(null);
const available = computed(() => formatMoney(wallet.value?.availableBalance, locale.value));
const frozen = computed(() => formatMoney(wallet.value?.frozenBalance, locale.value));
function amountValue(value: unknown): number {
if (value == null) return 0;
if (typeof value === 'number') return Number.isFinite(value) ? value : 0;
@@ -24,6 +22,9 @@ function amountValue(value: unknown): number {
return 0;
}
const available = computed(() => formatMoney(wallet.value?.availableBalance, locale.value));
const frozen = computed(() => formatMoney(wallet.value?.frozenBalance, locale.value));
const total = computed(() =>
formatMoney(
amountValue(wallet.value?.availableBalance) + amountValue(wallet.value?.frozenBalance),
@@ -119,7 +120,6 @@ function close() {
font-size: 11px;
font-weight: 800;
color: var(--primary-light);
text-shadow: none;
white-space: nowrap;
line-height: 1.15;
}