WSpinner.vue 698 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <div class="w-spinner">
  3. <w-loading class="w-circular"></w-loading>
  4. </div>
  5. </template>
  6. <style lang="scss" scoped>
  7. .w-spinner {
  8. display: none;
  9. position: fixed;
  10. z-index: 9999;
  11. bottom: 20px;
  12. right: 20px;
  13. margin: 0 auto;
  14. width: 30px;
  15. height: 30px;
  16. .w-circular {
  17. position: absolute;
  18. top: 0;
  19. bottom: 0;
  20. left: 0;
  21. right: 0;
  22. width: 100%;
  23. height: 100%;
  24. }
  25. }
  26. </style>
  27. <script>
  28. import WLoading from "./WLoading";
  29. export default {
  30. name: 'WSpinner',
  31. components: {WLoading},
  32. }
  33. </script>