<template>
  <div class="nodata">
    <div :style="{ width: imageWidth+'px',height:imageHeight+'px'}" class="nodata_image">
      <img src="../../assets/logo/nodata.png" alt="" srcset="">
    </div>
  </div>
</template>

<script>
export default {
  name: 'NoData',
  props: {
    imageWidth: {
      type: Number,
      default: 460
    },
    imageHeight: {
      type: Number,
      default: 320
    }
  }
}
</script>

<style lang="scss" scoped>
.nodata {
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  .nodata_image {
    overflow: hidden;
    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>