feat(header): add search component (#49)

This commit is contained in:
ppxb
2025-02-21 10:17:19 +08:00
committed by GitHub
parent a0c36abe1f
commit 21d0b1e3fb
2 changed files with 345 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
<template>
<a-row justify="end" align="center">
<a-space size="medium">
<!-- 搜索 -->
<Search />
<!-- 项目配置 -->
<a-tooltip content="项目配置" position="bl">
<a-button size="mini" class="gi_hover_btn" @click="SettingDrawerRef?.open">
@@ -74,6 +76,7 @@ import { useFullscreen } from '@vueuse/core'
import { onMounted, ref } from 'vue'
import Message from './Message.vue'
import SettingDrawer from './SettingDrawer.vue'
import Search from './Search.vue'
import { getUnreadMessageCount } from '@/apis'
import { useUserStore } from '@/stores'
import { getToken } from '@/utils/auth'