<template>
  <el-col :md="span" :xs="24" :sm="sm">
    <div class="line-describe">
      <slot>
        <el-form-item :label="label">
          {{value}}
        </el-form-item>
      </slot>
    </div>
  </el-col>
</template>

<script>
  export default {
    name: 'LineDescribeItem',
    props: {
      label: {
        default: ''
      },
      value: {
        default: ''
      },
      span: {
        default: 8
      },
      sm: {
        default: 12
      }
    }
  }
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
  .line-describe {
    height: 45px;
    .el-form-item__label{
      font-weight: 600;
    }
    .el-form-item--small.el-form-item {
      margin-bottom: 12px;
    }
  }
</style>
