UnisKB/ui/src/layout/layout-header/SystemHeader.vue

36 lines
1.0 KiB
Vue
Raw Normal View History

2025-05-28 11:03:28 +00:00
·
<template>
<div class="app-top-bar-container border-b flex-center">
2025-05-29 10:41:44 +00:00
<div class="logo mt-4">
2025-05-28 11:03:28 +00:00
<LogoFull />
</div>
2025-05-29 10:41:44 +00:00
2025-06-23 11:37:38 +00:00
<div class="flex-between w-full align-center">
2025-05-29 10:41:44 +00:00
<h4><el-divider class="ml-16 mr-16" direction="vertical" />{{ $t('views.system.title') }}</h4>
2025-06-23 11:37:38 +00:00
<div class="flex align-center mr-8">
<TopAbout class="mt-4"></TopAbout>
<el-divider class="ml-8 mr-8" direction="vertical" />
<el-button link @click="router.push({ path: '/' })">
2025-06-26 08:36:08 +00:00
<AppIcon class="mr-8" iconName="app-workspace" style="font-size: 16px"></AppIcon>
2025-06-23 11:37:38 +00:00
{{ '返回工作空间' }}</el-button
>
2025-05-29 10:41:44 +00:00
</div>
2025-05-28 11:03:28 +00:00
</div>
<Avatar></Avatar>
</div>
</template>
<script setup lang="ts">
import Avatar from './avatar/index.vue'
import TopAbout from './top-about/index.vue'
import { useRouter } from 'vue-router'
const router = useRouter()
</script>
<style lang="scss" scoped>
.app-top-bar-container {
height: var(--app-header-height);
box-sizing: border-box;
padding: var(--app-header-padding);
}
</style>