feat: build UI

This commit is contained in:
Viet An
2026-04-09 17:20:47 +07:00
parent bcfda00993
commit 631527225e
36 changed files with 11305 additions and 1123 deletions

View File

@@ -0,0 +1,23 @@
<script setup>
import AvatarBox from '@/components/dashboard/AvatarBox.vue';
const props = defineProps({
name: String,
order_count: Number,
paid: Number,
})
const { $shortenCurrency } = useNuxtApp();
</script>
<template>
<div class="is-flex is-gap-1 is-justify-content-space-between">
<div class="is-flex is-gap-1">
<AvatarBox :text="name.slice(0, 2)" />
<div>
<p>{{ name }}</p>
<p class="fs-13 has-text-grey">{{ order_count }} đơn hàng</p>
</div>
</div>
<p class="font-semibold">{{ $shortenCurrency(paid) }}</p>
</div>
</template>