<template>
  <div class="classWrap">
    <div class="left">
      <el-table :data='leftList'
                :header-cell-style="{background:'#EDEEF0',color:'#444'}">
        <el-table-column label="
                  乐团声部"
                         align='center'>
        </el-table-column>
        <el-table-column label="计划招生"
                         align='center'>
        </el-table-column>
        <el-table-column label="已报名"
                         align='center'>
        </el-table-column>
      </el-table>
    </div>
    <div class="center">
      <el-table :data='centertList'
                :header-cell-style="{background:'#EDEEF0',color:'#444'}">
        <el-table-column label="
                  班级名称"
                         align='center'>
        </el-table-column>
        <el-table-column label="声部"
                         align='center'>
        </el-table-column>
        <el-table-column label="班级人数"
                         align='center'>
        </el-table-column>
        <el-table-column label="操作"
                         align='center'>
        </el-table-column>
      </el-table>
      <div class="centerInfo">
        <p>当前班级总数（个）：30</p>
        <div class="btnWrap">
          <div class="setBtn">设置单技课班</div>
          <div class="okBtn">确定</div>
        </div>
      </div>
    </div>
    <div class="right">
      <el-table :data='centertList'
                :header-cell-style="{background:'#EDEEF0',color:'#444'}">
        <el-table-column label="
                  合奏班"
                         align='center'>
        </el-table-column>
        <el-table-column label="班级组成"
                         align='center'>
        </el-table-column>
        <el-table-column label="操作"
                         align='center'>
        </el-table-column>
      </el-table>
    </div>
  </div>
</template>
<script>
export default {
  data () {
    return {
      leftList: [],
      centertList: [],
      rightList: []
    }
  }
}
</script>
<style lang="scss">
.classWrap {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  .left {
    width: 275px;
    background-color: #fff;
    height: 80vh;
    overflow: auto;
  }
  .center {
    // background-color: #fff;
    width: 400px;
    margin-left: 12px;
    .centerInfo {
      background-color: #fff;
      color: #444;
      padding: 15px;
      .btnWrap {
        margin-top: 38px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        .setBtn {
          width: 120px;
          height: 40px;
          background: rgba(68, 68, 68, 1);
          border-radius: 4px;
          color: #fff;
          line-height: 40px;
          text-align: center;
          cursor: pointer;
        }
        .okBtn {
          width: 120px;
          height: 40px;
          background: rgba(249, 114, 21, 1);
          border-radius: 4px;
          color: #fff;
          line-height: 40px;
          text-align: center;
          cursor: pointer;
        }
      }
    }
  }
  .right {
    flex-grow: 1;
    margin-left: 12px;
  }
}
</style>