Empty.vue 590 B

123456789101112131415161718192021222324252627282930313233343536
  1. <script setup lang="ts">
  2. import { useI18n } from 'vue-i18n'
  3. const { t } = useI18n()
  4. </script>
  5. <template>
  6. <div class="empty-container">
  7. <img
  8. src="~/assets/images/common/loading.png"
  9. alt="loading"
  10. >
  11. <p>{{ t('common.loading') }}</p>
  12. </div>
  13. </template>
  14. <style scoped lang="scss">
  15. .empty-container {
  16. display: flex;
  17. flex-direction: column;
  18. align-items: center;
  19. justify-content: center;
  20. height: 100%;
  21. gap: 16px;
  22. margin-top: 20vh;
  23. img {
  24. @include size(140px);
  25. }
  26. p {
  27. font-size: 14px;
  28. color: var(--color-text-secondary);
  29. }
  30. }
  31. </style>