<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: 10px;

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

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

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

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

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

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

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

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

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

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

  padding: 20px 10px;

  font-size: 12px;
}

</style>