feat: 添加账单页面及相关组件,优化充值记录显示和国际化支持
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user