<!--
 * @Author: your name
 * @Date: 2022-04-11 15:07:47
 * @LastEditTime: 2022-04-12 09:55:18
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /gassafety-progress/gassafetyprogress-web/src/views/operationMonitor/xunjianxuncha/topChars/left.vue
-->
<template>
  <div class="charsCom all-flex-h">
    <div class="title">巡检巡查计划</div>
    <div class="two all-flex">
      <div class="left">
        <div class="first">
          <span class="text">巡检年度计划</span>
          <span>99次</span>
        </div>
        <div class="second all-flex">
          <div class="left">泄露监测</div>
          <div class="right">防腐层监测</div>
        </div>
        <div class="third all-flex">
          <div class="left">55次</div>
          <div class="right">44次</div>
        </div>
        <div class="first fourth">
          <div class="">泄漏检测完成比例</div>
        </div>

        <div class="fifth">
          <div class="contant">
            <Chars></Chars>
          </div>
        </div>
      </div>

      <div class="right">
        <div class="first">
          <span class="text">巡检年度计划</span>
          <span>18次</span>
        </div>
        <div class="second all-flex">
          <div class="left">泄露监测</div>
          <div class="right">防腐层监测</div>
        </div>
        <div class="third all-flex">
          <div class="left">10次</div>
          <div class="right">8次</div>
        </div>
        <div class="first fourth">
          <div class="">泄漏检测完成比例</div>
        </div>
        <div class="fifth">
          <div class="contant">
            <Chars color="#00C3F1"></Chars>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import Chars from "@/components/allCharsCom/Chars";
export default {
  components: {
    Chars,
  },
};
</script>

<style lang="scss" scoped>
.charsCom {
  width: 100%;
  height: 100%;
  color: #333333;
}
.title {
  text-align: center;
  font-size: 21px;
  margin-bottom: 7px;
}
.two {
  flex: 1;
  > .left {
    margin-right: 70px;
  }
  > .right {
  }
  > div {
    font-size: 14px;
    flex: 1;
    // display: flex;
    // flex-direction: column;
  }
  .left,
  .right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .first {
      margin-bottom: 6px;
      text-align: left;
      .text {
        display: inline-block;
        margin-right: 8px;
      }
    }
    .second {
      width: 213px;
      height: 30px;
      line-height: 30px;
      box-sizing: border-box;
      box-shadow: 0px 0px 3px 1px #dddddd;
      margin-bottom: 19px;

      > div {
        // flex: 1;
        text-align: center;

        &.left {
          color: #1d8cf3;
        }
        &.right {
          color: #00c3f1;
        }
      }
    }
    .third {
      text-align: center;
      width: 213px;
      margin-bottom: 30px;
    }
    .fifth {
      flex: 1;
      // background: red;
      padding-top: 5px;
      .contant {
        width: 120px;
        height: 120px;
        margin: 0 auto;
      }
    }
  }
}
</style>