Newer
Older
KaiFengPC / src / views / sponeScreen / cityGK / headHMAimg.vue
@zhangdeliang zhangdeliang on 24 Jun 2 KB update
<template>
  <div class="HeadContent">
    <div class="one">
      <div class="PhotoClass">
        <div class="PhotoClassA"></div>
      </div>
      <div class="Selectiontime">
        <div class="SelectiontimeA">入选</div>
        <div class="SelectiontimeB">2022-05</div>
      </div>
      <div class="IconClass">
        <div class="IconClassZp"></div>
      </div>
    </div>
    <div class="two">
      <div class="PhotoClass">
        <div class="PhotoClassA"></div>
      </div>
      <div class="Selectiontime">
        <div class="SelectiontimeA">建设期</div>
        <div class="SelectiontimeB">2022-2024</div>
      </div>
      <div class="IconClass">
        <div class="IconClassZp"></div>
      </div>
    </div>
    <div class="three">
      <div class="PhotoClass">
        <div class="PhotoClassA" style="opacity: 0.3"></div>
      </div>
      <div class="Selectiontime">
        <div class="SelectiontimeA">评估期</div>
        <div class="SelectiontimeB">2025</div>
      </div>
      <div class="IconClass">
        <div class="IconClassZp" style="margin-right: 15px"></div>
      </div>
    </div>
    <div class="four">
      <div class="PhotoClass">
        <div class="PhotoClassA" style="opacity: 0.3"></div>
      </div>
      <div class="Selectiontime">
        <div class="SelectiontimeA">长效运维期</div>
        <div class="SelectiontimeB">2024-2030</div>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.HeadContent {
  height: 100px;
  width: 100%;
  margin-top: 50px;
  //   border: 1px solid red;
  display: flex;
  padding-left: 10px;
  .one,
  .two,
  .three,
  .four {
    width: 24.5%;
    height: 100px;
    display: flex;
  }

  .PhotoClass {
    width: 40%;
    height: 100px;
    // background: red;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    margin-right: 10px;

    .PhotoClassA {
      width: 50px;
      height: 50px;
      position: relative;
      left: 10px;
      background: url('@/assets/newImgs/HMScreen/beselected.png') no-repeat;
      background-size: 100% 100%;
    }
  }
  .Selectiontime {
    width: 60%;
    height: 100px;
    // background: blueviolet;

    .SelectiontimeA {
      width: 100%;
      height: 50px;
      color: #b8ecff;
      font-size: 16px;
      font-family: SourceHanSansCN-Regular;
      line-height: 70px;
      //   background: red;
    }
    .SelectiontimeB {
      width: 100%;
      height: 50px;
      color: #3afff8;
      font-size: 18px;
      margin-top: 8px;
      //   line-height: 50px;
      //   background: rgb(66, 50, 205);
    }
  }
  .IconClass {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */

    .IconClassZp {
      width: 34px;
      height: 18px;
      background: url('@/assets/newImgs/HMScreen/arrow_img.png') no-repeat;
      background-size: 100% 100%;
    }
  }
}
</style>