<template>
    <div class="index"> 
      <div class="index-left">
  
      </div>
      <div class="index-right">
        <div class="one-card">
            <div class="one-card-content">
              <div>
                <p>生物滞留区域面积</p>
                <font class="value">75</font>
                <font>㎡</font>
              </div>
              <div>
                <p>滞留系统液位</p>
                <font class="value">323</font>
                <font>mm</font>
              </div>
              <div>
                <p>渗透量</p>
                <font class="value">1356</font>
                <font>m³</font>
              </div>
              <div>
                <p>COD</p>
                <font class="value">19</font>
                <font>mg/L</font>
              </div>
              <div>
                <p>氨氮</p>
                <font class="value">8</font>
                <font>mg/L</font>
              </div>
              <div>
                <p>SS</p>
                <font class="value">9</font>
                <font>mg/L</font>
              </div>
            </div>
        </div>
      </div>
    </div>
  </template>
  
  <script>
  import Menus from "@/components/Menus.vue";
  import { onMounted, reactive, ref, toRefs, nextTick } from "vue";
  export default {
    name: 'index',
    components: {
      Menus
    },
    setup() {
      const state = reactive({
      })
    }
  }
  </script>
  <style lang="scss" scoped>
  .mt10 {
      margin-top: 10px;
    }
    .index {
      width: 100%;
      height:100%;
      display: flex;
      justify-content: space-between;
      .index-left {
        width: 74%;
        border: 1px solid rgb(179, 174, 174);
      }
      .index-right {
        width: 25%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        .one-card {
          width: 100%;
          height: 100%;
          box-shadow: 0 0 8px #99ACB0 inset;
          
          h2 {
            padding: 20px;
            text-align: center;
          }
          .one-card-content {
            width: 100%;
            height: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            align-items: center;

            >div {
              width: 40%;
              height: 30%;
              border: 1px solid rgb(197, 195, 195);
              display: flex;
              flex-direction: column;
              background:#d8e8f7;
              // align-items: center;
              justify-content: center;
              text-align: center;
              padding: 10px;
              border-radius: 10px;
              font-size: 20px;
              line-height: 45px;
            }
          }
        }
      }
    }
    .value {
      font-size: 38px;
      color: #1baeae;
      font-weight: bold;
    }
  </style>