index.vue 1.36 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
<!--
 * @Author: your name
 * @Date: 2022-04-18 18:00:22
 * @LastEditTime: 2022-04-20 14:12:27
 * @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/statistic/overview/conponents/Left.vue
-->
<template>
  <div class="all-flex-h right-component">
    <div class="one">
      <One />
    </div>
    <div class="two">
      <Two />
    </div>
    <div class="three">
      <CharBoxC />
    </div>
    <div class="four">
      <CharBoxD />
    </div>
  </div>
</template>

<script>
import One from "./One";
import Two from "./Two";
import CharBoxC from "./CharBoxC";
import CharBoxD from "./CharBoxD";
export default {
  name: "",
  components: {
    One,
    Two,
    CharBoxC,
    CharBoxD,
  },
  data() {
    return {};
  },
  methods: {},
};
</script>
<style lang="scss" scoped>
.right-component {
  width: 99.8%;
  height: 100%;
  justify-content: space-between;
  > div {
    box-shadow: 2px 0px 10px 1px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin-bottom: 3px;
    &.one,
    &.two {
      height: 12.2%;
      min-height: 104px;
      // background-color: yellow;
    }
    &.three,
    &.four {
      // height: 37.3%;
      flex: 1;
      // background-color: blue;
    }
  }
}
</style>