feat: 添加账单页面及相关组件,优化充值记录显示和国际化支持

This commit is contained in:
2025-12-22 22:40:18 +07:00
parent 5c4ec4f50d
commit 9ca9b33dfd
13 changed files with 203 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ const { type = "primary", size = "medium", round = false } = defineProps<{
</script>
<template>
<div class="ui-tag rounded-md" :class="[type, size, { 'rounded-full': round }]">
<div class="ui-tag rounded-md inline-block" :class="[type, size, { 'rounded-full': round }]">
<slot />
</div>
</template>
@@ -19,13 +19,13 @@ const { type = "primary", size = "medium", round = false } = defineProps<{
@apply px-3 py-1 text-xs;
}
.ui-tag.primary {
@apply bg-(--ion-color-primary) text-white;
@apply bg-(--ion-color-dark) text-white;
}
.ui-tag.secondary {
@apply bg-(--ion-color-secondary) text-white;
@apply bg-(--ion-color-medium-shade) text-white;
}
.ui-tag.tertiary {
@apply bg-(--ion-color-tertiary) text-white;
@apply bg-(--ion-color-medium-tint) text-white;
}
.ui-tag.success {
@apply bg-(--ion-color-success) text-white;