2021-12-16 20:08:05 +08:00
|
|
|
<template>
|
2021-12-18 16:36:43 +08:00
|
|
|
<n-layout-header bordered class="go-header">
|
2021-12-16 20:08:05 +08:00
|
|
|
<header class="go-header-box">
|
2022-01-05 20:52:49 +08:00
|
|
|
<div>
|
2021-12-17 11:55:42 +08:00
|
|
|
<n-space>
|
|
|
|
<slot name="left"></slot>
|
|
|
|
</n-space>
|
2021-12-16 20:08:05 +08:00
|
|
|
</div>
|
2022-01-05 20:52:49 +08:00
|
|
|
<div>
|
|
|
|
<slot name="center"></slot>
|
|
|
|
</div>
|
|
|
|
<div>
|
2021-12-17 11:55:42 +08:00
|
|
|
<n-space>
|
2021-12-18 16:36:43 +08:00
|
|
|
<slot name="ri-left"> </slot>
|
|
|
|
<LangSelect />
|
|
|
|
<ThemeSelect />
|
2022-03-12 18:46:51 +08:00
|
|
|
<ThemeColorSelect />
|
2021-12-18 16:36:43 +08:00
|
|
|
<slot name="ri-right"> </slot>
|
2021-12-17 11:55:42 +08:00
|
|
|
</n-space>
|
2021-12-16 20:08:05 +08:00
|
|
|
</div>
|
|
|
|
</header>
|
2021-12-18 16:36:43 +08:00
|
|
|
</n-layout-header>
|
2021-12-16 20:08:05 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
import { ThemeSelect } from '@/components/ThemeSelect'
|
2021-12-17 11:55:42 +08:00
|
|
|
import { LangSelect } from '@/components/LangSelect'
|
2022-03-12 18:46:51 +08:00
|
|
|
import { ThemeColorSelect } from '@/components/ThemeColorSelect'
|
2021-12-16 20:08:05 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
@include go(header) {
|
|
|
|
&-box {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2021-12-18 16:36:43 +08:00
|
|
|
padding: 0 60px;
|
2021-12-16 20:08:05 +08:00
|
|
|
height: $--header-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|