feat: add ready status of request data

This commit is contained in:
Methapon2001 2025-01-22 14:03:14 +07:00
parent 16e9393315
commit 363779a2bc
7 changed files with 18 additions and 6 deletions

View file

@ -16,6 +16,7 @@ const props = withDefaults(
| 'dark-orange'
| 'cyan'
| 'yellow'
| 'light-yellow'
| 'red'
| 'magenta'
| 'blue'
@ -45,11 +46,7 @@ const props = withDefaults(
>
<div class="stat-card__content row items-center q-pa-sm">
<div class="col-4 text-center">
<q-avatar
size="lg"
style="background-color: hsla(0 0% 100% /0.2)"
text-color="white"
>
<q-avatar size="lg" style="background-color: hsla(0 0% 100% /0.2)">
<Icon :icon="v.icon" width="24px" />
</q-avatar>
</div>
@ -116,6 +113,10 @@ const props = withDefaults(
--_color: var(--orange-4-hsl);
}
.stat-card__light-yellow {
--_color: var(--yellow-6-hsl);
}
.stat-card__orange {
--_color: var(--orange-5-hsl);
}