<template>
  <div class="div_content">
    <div class="div_title">
      <span class="span_title">{{typeInfo.fullName}}</span>
    </div>
    <div class="line-h"></div>
    <div class="div_content_key_value">
      <span class="span_key">分类状态：</span>
      <span class="span_value" style="color: #78AEF9">{{typeInfo.infoState}}</span>
    </div>
    <div class="div_content_key_value">
      <span class="span_key">入库时间：</span>
      <span class="span_value">{{typeInfo.warehousingTime}}</span>
    </div>
    <div class="div_content_key_value">
      <span class="span_key">分类等级：</span>
      <span class="span_value">{{typeInfo.level}}</span>
    </div>
    <div class="div_content_key_value">
      <span class="span_key">初次合作时间：</span>
      <span class="span_value">{{typeInfo.firstCooperateTime}}</span>
    </div>
    <div class="div_content_key_value">
      <span class="span_key">主责拓展单位：</span>
      <span class="span_value">{{typeInfo.areaName}}</span>
    </div>
  </div>
</template>

<script>
  export default {
    name: "providerClassifyItem",
    props:{
      typeInfo:{
        type:Object,
      }
    }
  }
</script>

<style scoped>
  .div_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    margin-top: 10px;
  }

  .div_content_key_value {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
  }

  .div_title {
    display: flex;
    flex-direction: row;
    flex-flow: nowrap;
  }

  .span_title {
    color: #333333;
    font-size: 16px;
  }

  .span_key {
    color: #999999;
    font-size: 12px;
    width: 90px;
  }

  .span_value {
    color: #333333;
    font-size: 12px;
    margin-left: 20px;
  }

  .line-h {
    width: calc(100%);
    height: 1px;
    background-color: #D9D9D9;
    margin: 15px 0 5px;
  }
</style>
