<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><span class="font26">4.00</span>m³</font>
            </div>
            <div>
              <p>节碳量</p>
              <font><span class="font26">0.67</span>kg</font>
            </div>
             <div>
              <p>原水箱液位：<span class="font26">0.39</span>m</p>
              <p>历史最高：<span class="font26">0.50</span>m</p>
              <p>历史最低：<span class="font26">0.24</span>m</p>
            </div>
            <div>
              <p>净水箱液位：<span class="font26">0.81</span>m</p>
              <p>历史最高：<span class="font26">1.63</span>m</p>
              <p>历史最低：<span class="font26">0.48</span>m</p>
            </div>
             <div>
              <p>UF产水</p>
              <p>瞬时流量：<span class="font26">0.00</span> m³/H</p>
              <p>累计流量：<span class="font26">4</span>m³</p>
            </div>
            <div>
              <p>自来水前端</p>
              <p>瞬时流量：<span class="font26">0.00</span> m³/H</p>
              <p>累计流量：<span class="font26">4</span>m³</p>
            </div>
            <div >
              <p>供水</p>
              <p>瞬时流量：<span class="font26">0.00</span> m³/H</p>
              <p>累计流量：<span class="font26">4</span>m³</p>
            </div>
            <div >
              <p>自来水后端</p>
              <p>瞬时流量：<span class="font26">0.00</span> m³/H</p>
              <p>累计流量：<span class="font26">4</span>m³</p>
            </div>
            <div>
              <p>原水水质</p>
              <p>余氯：<span class="font26">0.00</span> mg/L</p>
              <p>浊度：<span class="font26">1.63</span> mg/L</p>
              <p>氨氮：<span class="font26">1.41</span> mg/L</p>
              <p>COD：<span class="font26">4.80</span> mg/L</p>
            </div>
            <div>
              <p>净水水质</p>
              <p>余氯：<span class="font26">-0.73</span> mg/L</p>
              <p>浊度：<span class="font26">3.56</span> mg/L</p>
              <p>氨氮：<span class="font26">41.89</span> mg/L</p>
              <p>COD：<span class="font26">3.53</span> mg/L</p>
            </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: 69%;
    border: 1px solid rgb(179, 174, 174);
  }
  .index-right {
    width: 30%;
    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: 46%;
              // height: 22%;
              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: 40px;
              margin: 10px 0;
            }
          }
        }
  }
}
</style>