<template>
  <div class="left-chart-1">
    <!-- <dv-border-box-1 class="lc1-details">定位监护长者<span>430</span></dv-border-box-1> -->
    <div class="lc1-details">定位监护长者<span>430</span></div>
    <div class="left-list" >
      <div class="left-container" v-for="(item,index) in config.data">
        
        <div class="container-topdown">
          <img  src="./img/sos.png" alt="">
          <!-- <img v-show="" src="./img/weilan.png" alt="">
          <img v-show="" src="./img/xinlv.png" alt="">
          <img v-show="" src="./img/diedao.png" alt="">
          <img v-show="" src="./img/didian.png" alt="">
          <img v-show="" src="./img/shebei.png" alt=""> -->
          <div class="word">姓名</div>
        </div>
        <div class="container-topdown">
          <div class="number">{{item.label}}</div>
          <div class="word">未处理</div>
        </div>
        <div class="container-topdown">
         <div class="number color">{{ item.value }}</div>
         <div class="word">已处理</div>
        </div>
      </div>
    </div>

  </div>
</template>

<script>
export default {
  name: 'LeftChart1',
  data () {
    return {
      config: {
        data: [
          {
            label:222,
            name: '收费系统',
            value: 167
          },
          {
            label:222,
            name: '通信系统',
            value: 67
          },
          {
            label:222,
            name: '监控系统',
            value: 123
          },
          {
            label:222,
            name: '供配系统',
            value: 55
          },
          {
            label:222,
            name: '其他',
            value: 98
          },
          {
            label:222,
            name: '其他',
            value: 98
          },
        ],
        colors: ['#00baff', '#3de7c9', '#fff', '#ffc530', '#469f4b'],
        unit: '件'
      }
    }
  }
}
</script>

<style lang="scss">
.left-chart-1 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-grow: 0;
  flex-direction: column;
  // border:1px solid green;

  .lc1-details {
    // width: 250px;
    height: 90px;
    font-size: 14px;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    // border: 1px solid red;
    background-color: #062961;

    span {
      color: #096dd9;
      font-weight: bold;
      font-size: 35px;
      margin-left: 20px;
    }
  }
  .left-list{
    .left-container{
      // width: 100%;
      text-align: center;
      border-radius: 5px;
      border:1px solid #1ae1e6;
      // height: 50px;
      // background-color: green;
      margin-top: 10px;
      display:flex;
      background-color: #5d6986;
      // color:red;
      .container-topdown{
        width: 100%;
        height: 57px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        img{
          width: 20px;
          height: 20px;
        }
        .word{
          font-size: 12px;
        }
        .number{
          color:#fcca00;
          font-size: 20px;
          font-weight: bold;
        }
        .color{
          color:#fff;
        }
      }
    }
  }

  
}
</style>
