<template>
  <!-- 今日无人机、红绿灯、冰冻雨雪监控数量 -->
  <div class="main" style="height: 636px">
    <div class="mian-contain">
      <div class="top">
        <div class="top-tit">
          <img src="../../../assets/arrow.png" alt="" />
          <span>今日无人机、红绿灯、冰冻雨雪监控数量</span>
        </div>
        <div class="top-line">
          <img src="../../../assets/top-line.png" alt="" />
        </div>
      </div>
      <div class="container11">
        <!-- 无人机数量 -->
        <div class="item-box">
          <div class="item-top">
            <div class="img-wrj">
              <img src="../../../assets/wrj.png" alt="" />
            </div>
            <div class="item-top-text">
              <div class="item-top-text-name">无人机数量</div>
              <div class="item-top-text-num">46</div>
            </div>
          </div>
          <div class="item-data" style="padding: 10px 110px">
            <div class="item-data-box">
              <div class="item-data-box-num">31</div>
              <div class="item-data-box-text">正常</div>
            </div>
            <div class="item-data-box">
              <div class="item-data-box-num" style="color: #fe6a3b">15</div>
              <div class="item-data-box-text">黑飞</div>
            </div>
          </div>
        </div>
        <!-- 红绿灯数量 -->
        <div class="item-box">
          <div class="item-top">
            <div class="img-wrj">
              <img src="../../../assets/hld.png" alt="" />
            </div>
            <div class="item-top-text">
              <div class="item-top-text-name">红绿灯数量</div>
              <div class="item-top-text-num">46</div>
            </div>
          </div>
          <div class="item-data">
            <div class="item-data-box">
              <div class="item-data-box-num">31</div>
              <div class="item-data-box-text">正常</div>
            </div>
            <div class="item-data-box">
              <div class="item-data-box-num" style="color: #fe6a3b">15</div>
              <div class="item-data-box-text">故障</div>
            </div>
            <div class="item-data-box">
              <div class="item-data-box-num" style="color: #3d65f0">15</div>
              <div class="item-data-box-text">关闭</div>
            </div>
          </div>
        </div>
        <!-- 冰冻雨雪监控数量 -->
        <div class="item-box">
          <div class="item-top">
            <div class="img-wrj">
              <img src="../../../assets/bdyxjk.png" alt="" />
            </div>
            <div class="item-top-text">
              <div class="item-top-text-name">无人机数量</div>
              <div class="item-top-text-num">46</div>
            </div>
          </div>
          <div class="item-data">
            <div class="item-data-box">
              <div class="item-data-box-num">31</div>
              <div class="item-data-box-text">正常</div>
            </div>
            <div class="item-data-box">
              <div class="item-data-box-num" style="color: #fe6a3b">15</div>
              <div class="item-data-box-text">故障</div>
            </div>
            <div class="item-data-box">
              <div class="item-data-box-num" style="color: #3d65f0">15</div>
              <div class="item-data-box-text">关闭</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.main {
  width: 455px;
  height: 308px;
  border-radius: 8px;
  // background: rgba(26, 52, 125, 0.95);
  padding: 10px;
}
.top {
  height: 45px;
  .top-tit {
    font-size: 18px;
    font-weight: 600;
    line-height: 23.4px;
    text-align: left;
    color: #ffffff;
    img {
      margin-right: 10px;
    }
  }
  .top-line {
    margin-top: -7px;
  }
}
.mian-contain {
  border-radius: 8px;
  padding: 10px;
  background: rgba(29, 65, 171);
  // overflow: hidden;
  height: 100%;
}
.container11 {
  padding: 20px;
  .item-box {
    margin-bottom: 23px;
    .item-top {
      display: flex;
      align-items: center;
      .img-wrj {
        width: 60px;
        height: 60px;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
      .item-top-text {
        margin-left: 10px;
        &-name {
          font-size: 18px;
          font-weight: 500;
          line-height: 27px;
          text-align: left;
          color: #e3e8ffcc;
        }
        &-num {
          font-size: 26px;
          font-weight: 700;
          line-height: 39px;
          text-align: left;
          color: #fff;
        }
      }
    }
    .item-data {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 60px;
      margin-top: 8px;
      border-radius: 12px;
      border: 1px solid #3d85f080;
      background: #3d65f024;
      .item-data-box {
        &-num {
          font-size: 24px;
          font-weight: 700;
          line-height: 36px;
          text-align: center;
          color: #4cd7f6;
        }
        &-text {
          font-size: 15px;
          font-weight: 500;
          line-height: 22.5px;
          text-align: center;
          color: #e3e8ffcc;
        }
      }
    }
  }
}
</style>
