<template>
  <div class="empty-box">
    <slot>没有数据</slot>
  </div>
</template>

<script>
  export default {
    name: 'vue-empty'
  }
</script>

<style lang="scss">
  @import '~assets/scss/mixins';
  @import '~assets/scss/variables';
  .empty-box {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 5em;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
</style>
