<template>
  <div class="home-header">
    <page-tags />
    <div class="user-area">
      <span class="user-name">系统管理员</span>
      <el-button type="text">注销</el-button>
    </div>
  </div>
</template>
<script>
import pageTags from './pageTags.vue'

export default {
  components: { pageTags },
  name: 'HomeHeader',
}
</script>
<style lang="scss" scoped>
.home-header {
  display: flex;
  overflow: hidden;
}

.page-tags {
  flex: 1;
  overflow: auto hidden;
}

.user-area {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 16px;

  .user-name {
    margin-right: 10px;
  }
}
</style>
