<template>
  <div class="select-course-wrapper">
    <div class="top-line"></div>
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="公共课程" name="first">
      </el-tab-pane>
      <el-tab-pane label="我的课程" name="second">
      </el-tab-pane>
    </el-tabs>
    <CourseSelect></CourseSelect>
    <div class="top-line" style="margin-top: 20px;"></div>
    <CourseList></CourseList>
  </div>
</template>
<script>
import CourseSelect from '@/components/education/custom/course-select'
import CourseList from '@/components/education/custom/course-list'
export default {
  data() {
    return {
      activeName: 'second'
    }
  },
  components: {
    CourseSelect,
    CourseList,
  },
  methods: {
    handleClick() {

    }
  },
}
</script>
<style lang="less" scoped>
  .select-course-wrapper {
    min-width: 1125px;
    .top-line {
      // width: 120%;
      height: 10px;
      background: rgb(240, 242, 245);
    }
  }
</style>
