<script setup>

</script>


<template>
  <ul class="app-header-nav">
    <li class="home">
      <RouterLink to="/">首页</RouterLink>
    </li>
    <li class="home">
      <RouterLink to="textBook">同步教材</RouterLink>
    </li>
    <li class="home">
      <RouterLink to="subject">专题资源</RouterLink>
    </li>
  </ul>
</template>


<style lang="scss">
.app-header-nav {
  margin-top: 120px;
  margin-bottom: 40px;
  width: 1000px;
  display: flex;

  li {
    margin-right: 40px;
    width: 120px;
    text-align: center;

    a,
    .router-link-active {
      font-size: 16px;
      line-height: 40px;
      height: 40px;
      display: inline-block;
      color: #fff;
      background-color: #025B7F;
      width: 120px;
      border-radius: 5px;

      &:hover {
        background-color: #4094AC;
      }
    }

    .active,
    .router-link-exact-active {
      background-color: #4094AC;
    }
  }
}
</style>