邃芒慧影管理端
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

53 行
1.7 KiB

  1. <template>
  2. <div v-if="isLoading" class="loadingIcon">
  3. <div>
  4. <el-icon class="is-loading">
  5. <svg
  6. viewBox="0 0 1024 1024"
  7. xmlns="http://www.w3.org/2000/svg"
  8. data-v-ea893728=""
  9. >
  10. <path
  11. fill="currentColor"
  12. d="M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"
  13. ></path>
  14. </svg>
  15. </el-icon>
  16. <span class="loadingText">{{ $t("myCreating.loading") }}</span>
  17. </div>
  18. </div>
  19. </template>
  20. <script setup>
  21. import { useI18n } from "vue-i18n";
  22. const { locale } = useI18n();
  23. const lanChange = ref(locale);
  24. const props = defineProps({
  25. isLoading: {
  26. required: true, //是否必传
  27. },
  28. });
  29. </script>
  30. <style lang="scss" scoped>
  31. .loadingIcon {
  32. position: relative;
  33. width: 100%;
  34. height: 80px;
  35. line-height: 80px;
  36. text-align: center;
  37. transform: scale(2);
  38. > div {
  39. position: absolute;
  40. top: 0;
  41. left: 50%;
  42. transform: translateX(-50%);
  43. }
  44. .loadingText {
  45. position: relative;
  46. top: -2px;
  47. left: 4px;
  48. }
  49. }
  50. </style>