-
+
-
@@ -87,7 +85,7 @@ const appStore = useAppStore()
>
diff --git a/src/layouts/components/header/Breadcrumb.vue b/src/layouts/components/header/Breadcrumb.vue
index 9aeb217..cd5264e 100644
--- a/src/layouts/components/header/Breadcrumb.vue
+++ b/src/layouts/components/header/Breadcrumb.vue
@@ -1,13 +1,16 @@
-
+
{
class="flex-center gap-2 cursor-pointer split"
@click="router.push(item.path)"
>
-
+
{{ item.meta.title }}
diff --git a/src/layouts/components/header/Github.vue b/src/layouts/components/header/Github.vue
deleted file mode 100644
index 38bd14b..0000000
--- a/src/layouts/components/header/Github.vue
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
- Github
-
-
-
-
diff --git a/src/layouts/components/header/Search.vue b/src/layouts/components/header/Search.vue
index 7d89c41..3db11e2 100644
--- a/src/layouts/components/header/Search.vue
+++ b/src/layouts/components/header/Search.vue
@@ -1,23 +1,58 @@
-
-
-
-
-
-
- 搜索
-
+
diff --git a/src/layouts/components/header/Setting.vue b/src/layouts/components/header/Setting.vue
index e00ead5..9c51419 100644
--- a/src/layouts/components/header/Setting.vue
+++ b/src/layouts/components/header/Setting.vue
@@ -8,98 +8,116 @@ const drawerActive = ref(false)
function openSetting() {
drawerActive.value = !drawerActive.value
}
+const transitionSelectorOptions = [
+ {
+ label: '无',
+ value: '',
+ },
+ {
+ label: '侧滑',
+ value: 'fade-slide',
+ },
+ {
+ label: '下滑',
+ value: 'fade-bottom',
+ },
+ {
+ label: '收缩',
+ value: 'fade-scale',
+ },
+ {
+ label: '扩张',
+ value: 'zoom-fade',
+ },
+ {
+ label: '坍缩',
+ value: 'zoom-out',
+ },
+ {
+ label: '柔和',
+ value: 'fade',
+ },
+]
-
+
-
-
- 主题设置
-
+
+
+
+ 主题设置
深色模式
-
+
色弱模式
-
+
灰色模式
-
+
+
+ 主题色
+
-
- 界面显示
-
-
- LOGO显示
-
-
-
- 多页签
-
-
-
- 面包屑
-
-
-
- 固定头部和多页签
-
+
+ 切换动效
+
侧边栏反转色
-
+
头部反转色
-
+
+
+
+ 界面显示
+
+ LOGO显示
+
+
+
+ 多页签
+
+
+
+ 面包屑
+
+
+
+ 面包屑图标
+
+
+
+ 固定头部和多页签
+
水印
-
+
+
+
+
+ 重置设置
+
+
diff --git a/src/layouts/components/header/UserCenter.vue b/src/layouts/components/header/UserCenter.vue
index 67268b2..d1f9ceb 100644
--- a/src/layouts/components/header/UserCenter.vue
+++ b/src/layouts/components/header/UserCenter.vue
@@ -16,6 +16,20 @@ const options = [
type: 'divider',
key: 'd1',
},
+ {
+ label: 'Github',
+ key: 'guthub',
+ icon: renderIcon('icon-park-outline:github'),
+ },
+ {
+ label: 'gitee',
+ key: 'gitee',
+ icon: renderIcon('simple-icons:gitee'),
+ },
+ {
+ type: 'divider',
+ key: 'd1',
+ },
{
label: '退出登录',
key: 'loginOut',
@@ -36,6 +50,12 @@ function handleSelect(key: string | number) {
}
if (key === 'userCenter')
router.push('/userCenter')
+
+ if (key === 'guthub')
+ window.open('https://github.com/chansee97/nova-admin')
+
+ if (key === 'gitee')
+ window.open('https://gitee.com/chansee97/nova-admin')
}
diff --git a/src/layouts/components/index.ts b/src/layouts/components/index.ts
index 1e04131..b3ff631 100644
--- a/src/layouts/components/index.ts
+++ b/src/layouts/components/index.ts
@@ -8,7 +8,6 @@ import CollapaseButton from './header/CollapaseButton.vue'
import FullScreen from './header/FullScreen.vue'
import DarkMode from './header/DarkMode.vue'
import Setting from './header/Setting.vue'
-import Github from './header/Github.vue'
import Notices from './header/Notices.vue'
import UserCenter from './header/UserCenter.vue'
import Search from './header/Search.vue'
@@ -30,7 +29,6 @@ export {
FullScreen,
DarkMode,
Setting,
- Github,
Notices,
UserCenter,
Search,
diff --git a/src/layouts/components/tab/TabBar.vue b/src/layouts/components/tab/TabBar.vue
index 8d1f885..9c8ef8d 100644
--- a/src/layouts/components/tab/TabBar.vue
+++ b/src/layouts/components/tab/TabBar.vue
@@ -1,6 +1,5 @@