reportLoading.vue 961 Bytes
<template>
  <div
    class="loading"
    
  >
    <div class="loading-icon">
      <img
        src="@/assets/images/loading.gif"
        alt=""
      >
    </div>
    报告正在生成,请稍后再试...
    <div class="refresh flex" @click="refresh">
      <div class="sprite-icon icon-refresh"></div>
      刷新
    </div>
  </div>
</template>

<script type='text/ecmascript-6'>
export default {
  name: '',
  data () {
    return {
    }
  },
  mounted () {
  },
  methods: {
    refresh () {
      this.$emit('refresh')
    }
  }
}
</script>

<style scoped lang='scss'>
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(19, 51, 104, 0.5);
  font-size: 12px;
  padding: 8px 0;
  &-icon {
    width: 88px;
    height: 60px;
  }
  .refresh {
    margin-top: 4px;
    gap: 2px;
    color: #08f;
    font-size: 13px;
  }
}
</style>