<!--
 * @Author: your name
 * @Date: 2021-10-11 09:55:34
 * @LastEditTime: 2021-10-11 11:07:37
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \hyyfClient\src\components\erp\InventoryItem.vue
-->
<template>
  <div class="inventory-item">
    <div class="picture">
      <slot name="picture"></slot>
    </div>
    <div class="data">
      <div class="center">
        <div class="title">
          <slot name="dataName"></slot>
        </div>
        <div class="num">
          <slot name="dataNum"></slot>
        </div>
      </div>
  </div>
  </div>
</template>
<script>
export default {
  
}
</script>
<style scoped>
.inventory-item {
  width: 30%;
  height: 100px;
  border: 1px solid rgba(235, 238, 245, 1);
  margin: 5px;
  display: flex;
}
.picture {
  width: 150px;
  height: 100px;
}
.data {
  width: 60%;
  height: 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.title {
  color: #bbb;
  font-size: 16px;
}
.num {
  font-size: 18px;
}
</style>
