|
|
@@ -2,11 +2,10 @@
|
|
|
import useSettingsStore from '@/store/modules/settings'
|
|
|
import useUserStore from '@/store/modules/user'
|
|
|
import eventBus from '@/utils/eventBus'
|
|
|
-// import ColorScheme from './ColorScheme/index.vue'
|
|
|
-// import Fullscreen from './Fullscreen/index.vue'
|
|
|
-// import NavSearch from './NavSearch/index.vue'
|
|
|
-// import PageReload from './PageReload/index.vue'
|
|
|
-import {Bell} from "@element-plus/icons-vue"
|
|
|
+import ColorScheme from './ColorScheme/index.vue'
|
|
|
+import Fullscreen from './Fullscreen/index.vue'
|
|
|
+import NavSearch from './NavSearch/index.vue'
|
|
|
+import PageReload from './PageReload/index.vue'
|
|
|
import {useRouter} from "vue-router"
|
|
|
defineOptions({
|
|
|
name: 'Tools',
|
|
|
@@ -27,13 +26,16 @@ watch(() => userStore.avatar, () => {
|
|
|
|
|
|
<template>
|
|
|
<div class="flex items-center">
|
|
|
- <el-icon @click="router.push({
|
|
|
- path:'/content/notice',
|
|
|
- })"><Bell /></el-icon>
|
|
|
<!-- <NavSearch v-if="settingsStore.settings.toolbar.navSearch" /> -->
|
|
|
- <!-- <Fullscreen v-if="settingsStore.settings.toolbar.fullscreen" /> -->
|
|
|
- <!-- <PageReload v-if="settingsStore.settings.toolbar.pageReload" /> -->
|
|
|
- <!-- <ColorScheme v-if="settingsStore.settings.toolbar.colorScheme" /> -->
|
|
|
+ <Fullscreen v-if="settingsStore.settings.toolbar.fullscreen" />
|
|
|
+ <PageReload v-if="settingsStore.settings.toolbar.pageReload" />
|
|
|
+ <ColorScheme v-if="settingsStore.settings.toolbar.colorScheme" />
|
|
|
+
|
|
|
+ <span class="flex-center cursor-pointer px-2 py-1">
|
|
|
+ <SvgIcon @click="router.push({
|
|
|
+ path:'/content/notice',
|
|
|
+ })" name="i-ion:notifications" />
|
|
|
+ </span>
|
|
|
<HDropdownMenu
|
|
|
:items="[
|
|
|
[
|