LoadingMessage.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <div v-show="message" class="fit row justify-center items-center" :style="`position: absolute; top: 0; left: 0; background-color: rgba(0, 0, 0, 0.2); z-index: ${zIndex}`">
  3. <div class="bg-white row justify-center items-center q-px-lg" style="min-width: 180px; height: 50px; border-radius: 10px; box-shadow: 2px 2px 10px #333333">
  4. <q-icon class="la la-spinner icon-rotate text-blue-8" size="28px" />
  5. <div class="q-ml-sm">
  6. {{ message }}
  7. </div>
  8. </div>
  9. </div>
  10. </template>
  11. <script>
  12. //-----------------------------------------------------------------------------
  13. import vueComponent from '../../vueComponent.js';
  14. const componentOptions = {
  15. components: {
  16. },
  17. };
  18. class LoadingMessage {
  19. _options = componentOptions;
  20. _props = {
  21. message: String,
  22. zIndex: {type: String, dafault: '100'},
  23. };
  24. }
  25. export default vueComponent(LoadingMessage);
  26. //-----------------------------------------------------------------------------
  27. </script>
  28. <style scoped>
  29. </style>