<template>
  <!-- 车辆预警信息 -->
  <div class="main" style="width: 930px; 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="container4">
        <div class="item" v-for="item in 16" :key="item">
          <div class="item-top">
            <div>浙A12345</div>
          </div>
          <div class="item-main">
            <span>张琪</span>
            <span>331004198502060356</span>
          </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%;
}
.container4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 15px;
  box-sizing: border-box;
  // width: 100%;
  .item {
    width: calc((100% - 60px) / 4);
    height: 104px;
    background: url("../../../assets/clyjxx-bg.png");
    background-size: cover; /* 背景图片尺寸自适应 */
    background-repeat: no-repeat; /* 不重复显示背景图片 */
    margin-right: 20px;
    margin-bottom: 17px;
    padding: 10px 20px;
    &:nth-child(4n) {
      margin-right: 0;
    }
    .item-top {
      height: 35px;
      color: #e3e8ff;
      font-size: 22px;
      font-weight: 500;
      line-height: 33px;
      text-align: center;
    }
    .item-main {
      margin-top: 5px;
      span {
        font-size: 14px;
        font-weight: 400;
        line-height: 21px;
        text-align: left;
        color: #e3e8ff;
      }
    }
  }
}
</style>
