<template>
  <div class="app-header">
    <div class="title">{{ title }}</div>
    <div class="tool">
      <nav class="nav">
        <router-link to="/">首页</router-link>
        <router-link to="/my">我的</router-link>
        <router-link to="/messages">通知</router-link>
      </nav>
    </div>
  </div>
</template>

<script>
export default {
  name: 'AppHeader',
  data() {
    return {
      title: '金融数字化营销职业技能培训'
    }
  }
}
</script>

<style lang="scss" >
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 30px;
  background-color: #fff;

  .title {
    font-size: 24px;
    color: #222;
  }

  .nav {
    font-size: 18px;
    color: #333;
    a {
      padding: 0 20px;
    }
  }
}
</style>
