<template>
  <div class="left-chart-11">
    <!-- <div class="lc1-header">张三收费站</div> -->
    <div class="under-title"><b>在库设备数量</b></div>
    <div class="right-container" v-for="(item,index) in config.data">
      <div class="right-box">
        <div class="top">
          <div class="top-left">{{ item.type }}</div>
          <div class="top-right">{{ item.time }}</div>
        </div>
        <div class="middle">{{ item.name }} ({{ item.tel }})</div>
        <div class="under">告警地址：{{ item.adr }}</div>
      </div>
    </div>
    <!-- <div class="left-list" >
      <div class="left-container" v-for="(item,index) in config.data">
        <div class="container-topdown">
          <div>姓名：</div>
          <div>{{item.label}}</div>
        </div>
        <div class="container-topdown">
          <div>未处理：</div>
          <div>{{ item.name }}</div>
        </div>
        <div class="container-topdown">
         <div> 已处理：</div>
         <div>{{ item.value }}</div>
        </div>
      </div>
    </div> -->
  </div>
</template>

<script>
export default {
  name: "LeftChart1",
  data() {
    return {
      config: {
        data: [
          {
            label: 222,
            tel:15202013072,
            name:'王艺涵',
            time:'2023-09-12 09:50:00',
            type: "收费系统",
            adr: 'ncjdhfcudjchnd',
          },
          {
            label: 222,
            tel:15202013072,
            name:'王艺涵',
            time:'2023-09-12 09:50:00',
            type: "通信系统",
            adr: 'cdkojhfcndoj',
          },
          {
            label: 222,
            tel:15202013072,
            name:'王艺涵',
            time:'2023-09-12 09:50:00',
            type: "监控系统",
            adr: 'ncsojhkla',
          },
          {
            label: 222,
            tel:15202013072,
            name:'王艺涵',
            time:'2023-09-12 09:50:00',
            type: "供配系统",
            adr: 'ncjdokchnjsak',
          },
          {
            label: 222,
            tel:15202013072,
            name:'王艺涵',
            time:'2023-09-12 09:50:00',
            type: "其他",
            adr: 'cniskjojcnosakl',
          },
          {
            label: 222,
            tel:15202013072,
            name:'王艺涵',
            time:'2023-09-12 09:50:00',
            type: "其他",
            adr: 'cniskjojcnosakl',
          },
        ],
        colors: ["#00baff", "#3de7c9", "#fff", "#ffc530", "#469f4b"],
        unit: "件",
      },
    };
  },
};
</script>

<style lang="scss">
.left-chart-11 {
  width: 100%;
  // height: 100%;
  display: flex;
  flex-grow: 0;
  flex-direction: column;
  // border: 1px solid green;
  .under-title {
    flex: 1;
    height: 28px;
    font-size: 14px;
    margin: 10px 0;
    background: url(../../assets/image/title_bg.png) no-repeat;
    b {
      font-size: 14px;
      color: #fff;
      font-style: italic;
      margin-left: 25px;
      line-height: 30px;
    }
  }
  .right-container{
    .right-box{
      color:#101010;
      font-size: 14px;
      padding:0 10px;
      background-color: #fff;
      margin-bottom: 5px;
      .top{
        display: flex;
        justify-content: space-between;
        border-bottom:1px solid #f1f0f0;
        line-height: 30px;
        .top-left{
          color:#ff2626;
        }
      }
      .middle{
        line-height: 30px;
        border-bottom:1px solid #f1f0f0;
      }
      .under{
        line-height: 30px;
      }
    }
  }

  .lc1-details {
    // width: 250px;
    height: 70px;
    font-size: 14px;
    display: flex;
    align-items: center;
    border: 1px solid red;
    background-color: #062961;

    span {
      color: #096dd9;
      font-weight: bold;
      font-size: 35px;
      margin-left: 20px;
    }
  }
  .left-list {
    margin-top: 10px;
    .left-container {
      // width: 100%;
      text-align: center;
      // height: 50px;
      // background-color: green;
      margin-top: 10px;
      display: flex;
      // color:red;
      .container-topdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        // border: 1px solid red;
      }
    }
  }
}
</style>
