Newer
Older
KaiFengPC / src / views / sponeScreen / cityGK / headHMAimg.vue
@zhangdeliang zhangdeliang on 22 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年5月</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"></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;
  .one,
  .two,
  .three,
  .four {
    width: 30%;
    height: 100px;
    // border: 1px solid blue;
    display: flex;
  }

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

    .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: 16px;
      //   line-height: 50px;
      //   background: rgb(66, 50, 205);
    }
  }
  .IconClass {
    width: 10%;
    height: 100px;
    // background: yellowgreen;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    .IconClassZp {
      width: 20px;
      height: 20px;
      position: relative;
      //   left: 10px;
      background: url('@/assets/newImgs/HMScreen/arrow_img.png') no-repeat;
      background-size: 100% 100%;
    }
  }
}
</style>