<template>
  <div class="seeker-layout">
    <aside class="seeker-aside">
      <div class="aside-title">求职者中心</div>
      <el-menu router :default-active="$route.path">
        <el-menu-item index="/seeker/resume">我的简历</el-menu-item>
        <el-menu-item index="/seeker/applications">我的投递</el-menu-item>
        <el-menu-item index="/seeker/favorites">关注职位</el-menu-item>
        <el-menu-item index="/seeker/profile">账号设置</el-menu-item>
        <el-menu-item index="/home">返回主页</el-menu-item>
      </el-menu>
    </aside>
    <main class="seeker-main">
      <router-view />
    </main>
  </div>
</template>
<script setup></script>
<style scoped>
.seeker-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.seeker-aside {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #eee;
  overflow-y: auto;
}
.aside-title {
  padding: 20px;
  font-weight: bold;
  font-size: 16px;
}
.seeker-main {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f5f6fa;
}
</style>
