<template>
  <div>
    <el-row :gutter="24">
      <el-col :span="5">
        <el-card>
          <p slot="header">参与人数</p>
          <div>
            <p><span class="card-big-font">11</span></p>
            <!--          <p style="font-size: 14px;padding-top: 10px;">-->
            <!--            总销售量-->
            <!--            <span class="card-span-color"><span>2,029台</span><el-icon type="md-trending-up" /></span>-->
            <!--          </p>-->
          </div>
        </el-card>
      </el-col>
      <el-col :span="5">
        <el-card>
          <p slot="header">用例数量</p>
          <div>
            <p><span class="card-big-font">400</span></p>
          </div>
        </el-card>
      </el-col>
      <el-col :span="5">
        <el-card>
          <p slot="header">缺陷数量</p>
          <div>
            <p><span class="card-big-font">310</span></p>
          </div>
        </el-card>
      </el-col>
      <el-col :span="5">
        <el-card>
          <p slot="header">覆盖率评估</p>
          <div>
            <p><span class="card-big-font">54.63 %</span></p>
          </div>
        </el-card>
      </el-col>
      <el-col :span="4">
        <el-card>
          <p slot="header">完成度评估</p>
          <div>
            <p><span class="card-big-font">100 %</span></p>
          </div>
        </el-card>
      </el-col>
    </el-row>
    <el-row :gutter="24" style="margin-top: 10px;">
      <el-col :span="5">
        <el-card>
          <p slot="header">任务基本信息</p>
          <div>
            <el-form label-position="right" label-width="100px">
              <el-form-item label="任务编号：">
                TASK11111111
              </el-form-item>
              <el-form-item label="任务名称：">
                基于鲲鹏生态的表达能力评测系统众测-GNCS
              </el-form-item>
              <el-form-item label="所属项目：">
                PROJ11111111
              </el-form-item>
              <el-form-item label="所属公司：">
                XXXXXXXXXXXXXXXXXXXXXXX公司
              </el-form-item>
              <el-form-item label="开始时间：">
                2022-04-13
              </el-form-item>
              <el-form-item label="结束时间：">
                2022-06-15
              </el-form-item>
              <el-form-item label="任务状态：">
                执行中
              </el-form-item>
            </el-form>
          </div>
        </el-card>
      </el-col>
      <el-col :span="14">
        <el-card>
        </el-card>
      </el-col>
      <el-col :span="5">
        <el-card>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'TaskStatistics'
}
</script>

<style scoped>
  .card-big-font {
    font-size: 36px;
    color: #666;
    line-height: 36px;
    padding: 5px 0 10px;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
    margin-bottom: 5px;
  }

  .card-span-color {
    position: absolute;
    right: 15px;
  }
</style>
<style>
  .el-card__header {
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .el-card__body {
    padding-top: 3px;
    padding-bottom: 3px;
  }
  .el-row {
    margin-left: 0px!important;
    margin-right: 0px!important;;
  }
  label {
    font-weight: 700;
  }
</style>
