33 lines
650 B
Vue
33 lines
650 B
Vue
<!-- Ported from legacy henza_pwa/src/components/empty.vue -->
|
|||
|
|
<template>
|
||
|
|
<div class="flex justify-center items-center empty">
|
||
|
|
<Empty description="موردی یافت نشد" :image="image" class="h-[200px] w-[200px] opacity-70" />
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
import { Empty } from 'ant-design-vue'
|
||
|
|
|
||
|
|
withDefaults(
|
||
|
|
defineProps<{
|
||
|
|
description?: string
|
||
|
|
image?: string
|
||
|
|
}>(),
|
||
|
|
{},
|
||
|
|
)
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="less">
|
||
|
|
.ant-empty {
|
||
|
|
.ant-empty-description {
|
||
|
|
font-size: 16px !important;
|
||
|
|
font-weight: 600;
|
||
|
|
margin-top: -36px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
.empty {
|
||
|
|
min-height: calc(100vh - 350px);
|
||
|
|
vertical-align: middle;
|
||
|
|
}
|
||
|
|
</style>
|