LeftZ.vue 3.29 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
<!--
 * @Author: your name
 * @Date: 2022-04-11 15:07:47
 * @LastEditTime: 2022-08-25 11:04:17
 * @LastEditors: 纪泽龙 jizelong@qq.com
 * @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>23次</span>
        </div>
        <div class="second all-flex">
          <div class="left">泄露监测</div>
          <div class="right">防腐层监测</div>
        </div>
        <div class="third all-flex">
          <div class="left">15次</div>
          <div class="right">8次</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: 18px;
  margin-bottom: 7px;
}
.two {
  flex: 1;
  > .left {
    // margin-right: 70px;
  }
  > .right {
  }
  > div {
    font-size: 10px;
    width: 50%;
    flex: 1;
    overflow: hidden;
    // 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: 100%;
      height: 20px;
      line-height: 20px;
      box-sizing: border-box;
      box-shadow: 0px 0px 3px 1px #dddddd;
      margin-bottom: 10px;
      > div {
        // flex: 1;
        text-align: center;
        font-size: 10px;

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