feat: no data component + product and service ui (tab)

This commit is contained in:
oat_dev 2024-06-14 12:01:58 +07:00
parent aa45d6e248
commit 728bcf94d8
2 changed files with 144 additions and 39 deletions

17
src/components/NoData.vue Normal file
View file

@ -0,0 +1,17 @@
<script setup lang="ts">
defineProps<{
size?: number;
}>();
</script>
<template>
<div>
<q-img
src="no-data.png"
:style="{
height: size ? `${size}px` : '120px',
width: size ? `${size + 2}px` : '123px',
}"
/>
<div class="app-text-muted text-center">{{ $t('noData') }}</div>
</div>
</template>