<template>
  <div id="classinfo">
    <el-row>
      <el-col :span="24" class="style">
        <el-col :span="24" class="top">
          <topInfo></topInfo>
        </el-col>
        <el-col :span="24" class="main">
          <classInfo :info="info"></classInfo>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import topInfo from '@/layout/common/topInfo.vue';
import classInfo from '@/layout/common/classInfo.vue';

export default {
  name: 'classinfo',
  props: {},
  components: {
    topInfo, //头部信息
    classInfo, //班级信息
  },
  data: () => ({
    info: {
      termid: '1',
      batchid: '1',
      name: '1',
      headteacherid: '班主任',
      lyteacherid: '礼仪课教师',
      jslocationid: '教室地点',
      kbyslocationid: '开班地点',
      kzjhlocationid: '拓展训练地点',
      yclocationid: '用餐地点',
      lessonid: [
        {
          date: '2020-02-28',
          week: '五',
          subname: '拓展训练',
          teaname: '测试教师',
        },
        {
          date: '2020-02-28',
          week: '五',
          subname: '拓展训练',
          teaname: '测试教师',
        },
        {
          date: '2020-02-28',
          week: '五',
          subname: '拓展训练',
          teaname: '测试教师',
        },
        {
          date: '2020-02-28',
          week: '五',
          subname: '拓展训练',
          teaname: '测试教师',
        },
        {
          date: '2020-02-28',
          week: '五',
          subname: '拓展训练',
          teaname: '测试教师',
        },
      ],
    },
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.style {
  width: 100%;
  min-height: 667px;
  position: relative;
  background-color: #f9fafc;
}
.top {
  height: 46px;
  overflow: hidden;
}
.main {
  min-height: 570px;
}
</style>
