
<template>
  <div class="empty-wrapper__tips">
    <img class="empty-image__tips" src="@/assets/images/empty/no-data.svg" alt="empty">
    <p class="form-tip">{{ emptyText }}</p>
  </div>
</template>
<script>
export default {
  name: 'EmptyInfo',
  props: {
    emptyText: {
      type: String,
      default: '暂无数据'
    }
  }
}
</script>
<style scoped lang="scss">
.empty-wrapper__tips {
  text-align: center;
  height: 200px;
  width: 100%;
  .empty-image__tips {
    width: 200px;
  }
  .form-tip {
    display: block;
  }
}
</style>
