<template>
  <div class="cmp-list-none">
    <div :class="{
      'list-none-img': true,
      'img-noGoods': img === 'img-noGoods',
      'img-noShopCar': img === 'img-noShopCar',
      'img-noOrders': img === 'img-noOrders',
      'img-noPosition': img === 'img-noPosition'
    }"></div>
    <div class="list-none-msg">{{msg}}</div>
  </div>
</template>

<script>
export default {
  props: {
    img: {
      type: String,
      required: true,
      default: 'img-noGoods'
    },
    msg: {
      type: String,
      default: '没有查询到东西'
    }
  }
}
</script>

<style lang="scss">
@import './list-none.scss';
</style>