<template>
    <div class="index"> 
      <div class="index-left">
        <div class="index-left-top">
          
        </div>
        <div class="index-left-bottom">
          <div class="one-card-content">
              <div>
                <p>透水铺砖储水量</p>
                <font class="value">200</font>
                <font>m³</font>
              </div>
              <div>
                <p>透水铺砖表面温度</p>
                <font class="value">16.5</font>
                <font>℃</font>
              </div>
              <div>
                <p>热岛消减率</p>
                <font class="value">19.6</font>
                <font>%</font>
              </div>
              <div>
                <p>孔隙率</p>
                <font class="value">10</font>
                <font>%</font>
              </div>
            </div>
        </div>
      </div>
      <div class="index-right">
        <div class="one-card">
            <div class="one-card-content">
              <div>
                <p>透水铺装面积</p>
                <font class="value">500</font>
                <font>㎡</font>
              </div>
              <div>
                <p>入渗系统面积</p>
                <font class="value">437</font>
                <font>㎡</font>
              </div>
              <div>
                <p>透水系数</p>
                <font class="value">10</font>
                <font>mm/min</font>
              </div>
              <div>
                <p>入渗系数</p>
                <font class="value">1.3</font>
                <font>mm/min</font>
              </div>
              <div>
                <p>透水层厚度</p>
                <font class="value">300</font>
                <font>mm</font>
              </div>
              <div>
                <p>渗透量</p>
                <font class="value">362</font>
                <font>m³</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);
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        .index-left-top {
          width: 100%;
          height: 80%;
          // border: 1px solid red;
        }
        .index-left-bottom {
          height: 20%;
        }
        .one-card-content {
            width: 100%;
            height: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            align-items: center;

            >div {
              width: 24%;
              height: 80%;
              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;
            }
          }
      }
      
      .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;
          .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;
            }
          }
          h2 {
            padding: 20px;
            text-align: center;
          }
          
        }
      }
    }
    .value {
      font-size: 38px;
      color: #1baeae;
      font-weight: bold;
    }
  </style>