<template>
  <div id="data-view">
    <dv-full-screen-container>
      <div class="main-header">
        <div class="mh-left"></div>
        <div class="mh-middle">荆州洗衣机数据可视化平台</div>
        <div class="mh-right">

        </div>
      </div>

      <dv-border-box-7 class="main-container">
        <div class="left-chart-container">
          <dv-border-box-8 class="rmctc-left-container">

            <Left-Chart-1 />
            <Left-Chart-2 />
            <Left-Chart-4 />
          </dv-border-box-8>

        </div>

        <div class="center-main-container">
          <div class="rmc-top-container">
            <dv-border-box-8 class="rmctc-left-container">

              <Center-Cmp />

            </dv-border-box-8>
          </div>

          <dv-border-box-8 class="rmc-bottom-container">

            <BarChart />

          </dv-border-box-8>
        </div>

        <div class="right-main-container">
          <div class="right-top-container">

            <div class="rmctc-right-container">
              <dv-border-box-8 class="rmctc-chart-1">

                <Right-Chart-1/>

              </dv-border-box-8>

              <dv-border-box-8 class="rmctc-chart-2" :reverse="true">

                <Right-Chart-3 />

              </dv-border-box-8>

            </div>
          </div>
        </div>
      </dv-border-box-7>

    </dv-full-screen-container>
  </div>
</template>

<script>
import LeftChart1 from './LeftChart1'
import LeftChart2 from './LeftChart2'
import LeftChart4 from './LeftChart4'
import CenterCmp from './CenterCmp'
import RightChart1 from './RightChart1'
import RightChart2 from './RightChart2'
import BarChart from './BarChart'
import RightChart3 from '@/components/datav/RightChart3'

export default {
  name: 'DataView',
  components: {
    LeftChart1,
    LeftChart2,
    LeftChart4,
    CenterCmp,
    RightChart1,
    RightChart2,
    RightChart3,
    BarChart
  },
  data () {
    return {}
  }

}
</script>

<style lang="less">
#data-view {
  width: 100%;
  height: 100%;
  background-color: #030409;
  color: #fff;

  #dv-full-screen-container {
    background-image: url('./img/bg3.png');
    background-size: 100% 100%;
    box-shadow: 0 0 3px blue;
    display: flex;
    flex-direction: column;
  }

  .main-header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    .mh-left {
      font-size: 20px;
      color: rgb(1,134,187);

      a:visited {
        color: rgb(1,134,187);
      }
    }

    .mh-middle {
      font-size: 30px;
    }

    .mh-left, .mh-right {
      width: 450px;
    }
  }

  .main-container {
    height: calc(~"100% - 100px");

    .border-box-content {
      padding: 0px;
      box-sizing: content-box;
      display: flex;
    }
  }

  .left-chart-container {
    padding: 10px;
    width: 30%;
    box-sizing: inherit;

    .border-box-content {
      flex-direction: column;
    }
  }

  .center-main-container {
    width: 40%;
    padding: 10px;
    box-sizing: inherit;

    .border-box-content {
      flex-direction: column;
    }
  }
  .right-main-container {
    width: 30%;
    padding: 10px;
    box-sizing: inherit;

    .border-box-content {
      flex-direction: column;
    }
  }

  .left-top-container {
    height: 65%;
    display: flex;
  }

  .left-bottom-container {
    width: 100%;
    height: 35%;
    display: flex;
  }
  .rmc-top-container {
    height: 65%;
    display: flex;
  }

  .rmc-bottom-container {
    width: 100%;
    height: 35%;
    display: flex;
  }

  .right-top-container {
    height: 100%;
    display: flex;
  }

  .rmctc-left-container {
    width: 100%;
  }

  .rmctc-right-container {
    width: 100%;
  }
  .rmctc-chart-1 {
    height: 40%;
  }
  .rmctc-chart-2 {
    height: 60%;
  }
}
</style>
