<template>
  <div style="width: 100%;height: 100%;">
    <div class="content">
      <el-container style="height: 100%;">
        <el-aside class="leftaside">
          <div class="left-1">
            <ex-design />
          </div>
          <div class="left-2">
            <agent-model />
          </div>
          <div class="left-3">
            <op-algorithm />
          </div>
          <div class="left-4">
            <op-run />
          </div>
        </el-aside>
        <el-main></el-main>
        <el-aside class="rightaside">
          <div class="right-1">
            <op-problem />
          </div>
          <div class="right-2">
            <analyze-work />
          </div>
        </el-aside>
      </el-container>
    </div>
    <div class="footer">
      <info-log />
    </div>
  </div>
</template>

<script setup>
import infoLog from './footer/infoLog.vue';
import exDesign from './leftaside/exDesign.vue';
import agentModel from './leftaside/agentModel.vue';
import opAlgorithm from './leftaside/opAlgorithm.vue';
import opRun from './leftaside/opRun.vue';
import analyzeWork from './rightaside/analyzeWork.vue';
import opProblem from './rightaside/opProblem.vue';

</script>

<style scoped>
.content {
  width: 100%;
  height: 80%;

  .leftaside {
    width: 25%;
    height: 100%;
    padding-left: 40px;

    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: auto;
  }

  .rightaside {
    width: 25%;
    height: 100%;
    padding-right: 40px;

    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: auto;
  }
}

.leftaside {
  .left-1 {
    width: 100%;
    height: 25%;
  }

  .left-2 {
    width: 100%;
    height: 25%;
  }

  .left-3 {
    width: 100%;
    height: 30%;
  }

  .left-4 {
    width: 100%;
    height: 20%;
  }
}

.rightaside {
  .right-1 {
    width: 100%;
    height: 70%;
  }

  .right-2 {
    width: 100%;
    height: 30%;
  }
}

.footer {
  width: 100%;
  height: 20%;

  padding: 20px 40px;
}

</style>