Loading.vue 432 Bytes

<template>
  <div id="loading-box">
    <div class="loading">
      <a-spin></a-spin>
    </div>
  </div>
</template>

<script>
export default { 
    name: 'Loading'
}
</script>

<style lang="less" scoped>
@import 'styles/mixins.less';

#loading-box {
  .vh-center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  .loading {
    padding: 30px;
    border-radius: 10px;
    background: #fff;
  }
}
</style>