<template>
  <div class="store-item">
    <el-image :src="storeObj.image" />
    <div class="store-name">{{ storeObj.name }}</div>
  </div>
</template>

<script>
export default {
  props: {
    storeObj: {
      type: Object,
      default: () => ({
        name: '12346',
        image: ''
      })
    }
  }
}
</script>

<style lang="scss" scoped>
.store-item {
  padding: 10px;
  margin: 10px;
  display: flex;
  align-items: center;
  background: #fff;
  margin-bottom: 10px;
  .el-image {
    width: 80px;
    height: 80px;
    margin-right: 10px;
  }
}
</style>
