feat: add preloader for product page

This commit is contained in:
2025-08-09 12:01:04 +03:00
parent d499d7d846
commit b66a02fd57
3 changed files with 33 additions and 17 deletions

View File

@@ -0,0 +1,17 @@
<template>
<div style="z-index: 99999" class="fixed top-0 left-0 w-full h-full bg-base-100">
<div class="flex flex-col items-center justify-center h-full">
<span class="loading loading-infinity loading-xl"></span>
<h1>{{ text }}</h1>
</div>
</div>
</template>
<script setup>
const props = defineProps({
text: {
type: String,
default: 'Получение данных...',
},
});
</script>