<template>
  <view class="no_data">
    <image :src="image" v-if="image"></image>
    <text>{{msg}}</text>
  </view>
</template>
<script>
export default {
  props: {
    msg: {
      type: String,
      default: ""
    },
    image: {
      type: String,
      default: ""
    }
  },

};
</script>

<style lang="scss">
.no_data {
  display: flex;
  flex-direction: column;
  align-items: center;
  image {
    width: 215upx;
    height: 159upx;
    padding-bottom: 22upx;
  }
  text {
    color: #999;
    font-size: 24upx;
  }
}
</style>
