LoadingFlag.vue 728 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <div class="loading-flag flex justify-center items-center">
  3. <div class="loading-content">
  4. <img src="../../assets/images/screen_loading.png" />
  5. <p>计算中,请稍等...</p>
  6. </div>
  7. </div>
  8. </template>
  9. <script setup lang="ts" name="LoadingFlag"></script>
  10. <style scoped lang="scss">
  11. .loading-flag {
  12. position: fixed;
  13. top: 0;
  14. left: 0;
  15. right: 0;
  16. bottom: 0;
  17. z-index: 1500;
  18. background: rgba(0, 0, 0, 0.3);
  19. .loading-content {
  20. width: 140px;
  21. height: 90px;
  22. background: #fff;
  23. border-radius: 4px;
  24. text-align: center;
  25. img {
  26. width: 26px;
  27. margin-top: 16px;
  28. }
  29. p {
  30. color: #666;
  31. font-size: 14px;
  32. margin-top: 7px;
  33. }
  34. }
  35. }
  36. </style>