<script setup lang="ts">
const CoursePlayerVideo = defineAsyncComponent(() => import('../components/CoursePlayerVideo.vue'))
const CoursePlayerChapter = defineAsyncComponent(() => import('../components/CoursePlayerChapter.vue'))
</script>

<template>
  <div class="course-player">
    <div class="course-player-main">
      <CoursePlayerVideo />
      <el-tabs>
        <el-tab-pane label="课件"> </el-tab-pane>
        <el-tab-pane label="教案" lazy> </el-tab-pane>
        <el-tab-pane label="作业" lazy> </el-tab-pane>
        <el-tab-pane label="资料" lazy> </el-tab-pane>
        <el-tab-pane label="考试/测验" lazy></el-tab-pane>
        <el-tab-pane label="直播" lazy></el-tab-pane>
      </el-tabs>
    </div>
    <div class="course-player-aside">
      <CoursePlayerChapter />
    </div>
  </div>
</template>

<style lang="scss" scoped>
.course-player {
  display: flex;
}
.course-player-main {
  flex: 1;
}
</style>
