<!--峰煤监控系统-->
<template>
  <div class="peak-coal-monitoring">

    <div class="center-panel">

    </div>

    <div class="header-panel">
      <div class="header-content">
        <div class="_title">峰煤智慧监控应用系统</div>
      </div>
    </div>


    <div class="left-panel">
      <div class="atmospheric-module-module">
        <atmospheric-module />
      </div>
      <div class="pollution-information-module">
        <pollution-information/>
      </div>
      <div class="monitor-data-module">
        <monitor-data/>
      </div>
    </div>

    <div class="right-panel">
      <div class="energy-profile-module">
        <energy-profile/>
      </div>
      <div class="device-overview-module">
        <device-overview/>
      </div>
      <div class="alarm-overview-module">
        <alarm-overview/>
      </div>
    </div>


    <div class="footer-panel"></div>
  </div>
</template>

<script>
import AtmosphericModule from "@/components/peak-coal-monitoring/AtmosphericModule";
import PollutionInformation from "@/components/peak-coal-monitoring/PollutionInformation";
import MonitorData from "@/components/peak-coal-monitoring/MonitorData";
import EnergyProfile from "@/components/peak-coal-monitoring/EnergyProfile";
import DeviceOverview from "@/components/peak-coal-monitoring/DeviceOverview";
import AlarmOverview from "@/components/peak-coal-monitoring/AlarmOverview";
export default {
  name: "PeakCoalMonitoring",
  components: {AlarmOverview, DeviceOverview, EnergyProfile, MonitorData, PollutionInformation, AtmosphericModule}
}
</script>

<style>
body, html, #__nuxt, #__layout {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #09151F;
}

.list-enter-active, .list-leave-active {
  transition: all 0.5s;
}

.list-enter, .list-leave-to
  /* .list-leave-active for below version 2.1.8 */
{
  opacity: 0;
  transform: translateY(30px);
}
</style>

<style scoped lang="less">
@import "../../assets/styles/mixin";

.peak-coal-monitoring {
  width: 100%;
  height: 100%;
  position: relative;

  .header-panel {
    position: absolute;
    width: 100%;
    height: 160px;
    display: flex;
    flex-flow: row;
    justify-content: center;
    background: url("~/assets/peakCoalMonitoring/header/header-shadow.png") no-repeat;
    background-size: 100% 100%;

    .header-content {
      height: 360px;
      width: 100%;
      background: url("~/assets/peakCoalMonitoring/header/header-bg.png") no-repeat;
      background-size: 100% 100%;
      position: absolute;
      top: -123px;
      ._title{
        padding-top: 140px;
        width: 100%;
        height: 60px;
        font-family: AlimamaShuHeiTi-Bold;
        font-size: 32px;
        color: #D8F0FF;
        letter-spacing: 7.68px;
        text-align: center;
        text-shadow: 0 0 11px #000000;
        font-weight: 700;
      }
    }
  }

  .left-panel {
    width: 430px;
    position: absolute;
    left: 20px;
    height: 960px;
    top: 50%;
    transform: translateY(-50%);
    .flex-column;

    .atmospheric-module-module{
      height: 336px;
      width: 100%;
    }

    .pollution-information-module{
      height: 260px;
      width: 100%;
    }

    .monitor-data-module{
      flex: 1;
      height: 0;
      width: 100%;
    }
  }

  .right-panel {
    width: 430px;
    position: absolute;
    right: 20px;
    height: 960px;
    top: 50%;
    transform: translateY(-50%);
    .flex-column;
    .energy-profile-module{
      height: 336px;
      width: 100%;
    }
    .device-overview-module{
      height: 260px;
      width: 100%;
    }
    .alarm-overview-module{
      flex: 1;
      height: 0;
      width: 100%;
    }
  }

  .center-panel{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
  }

  .footer-panel{
    width: 100%;
    height: 50px;
    background: url("~/assets/peakCoalMonitoring/footer/footer-bg.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: -6px;
  }
}
</style>

