|
|
@ -37,14 +37,15 @@ const consoleSubNav = [ |
|
|
{ label: '文章', to: '/me/posts', icon: 'i-lucide-file-text' }, |
|
|
{ label: '文章', to: '/me/posts', icon: 'i-lucide-file-text' }, |
|
|
{ label: '时光机', to: '/me/timeline', icon: 'i-lucide-history' }, |
|
|
{ label: '时光机', to: '/me/timeline', icon: 'i-lucide-history' }, |
|
|
{ label: 'RSS', to: '/me/rss', icon: 'i-lucide-rss' }, |
|
|
{ label: 'RSS', to: '/me/rss', icon: 'i-lucide-rss' }, |
|
|
|
|
|
{ label: '媒体', to: '/me/media', icon: 'i-lucide-images' }, |
|
|
] as const |
|
|
] as const |
|
|
|
|
|
|
|
|
/** 桌面端:下拉内仅四个子链接 */ |
|
|
/** 桌面端:下拉内仅五个子链接 */ |
|
|
const consoleDropdownItems = computed(() => [ |
|
|
const consoleDropdownItems = computed(() => [ |
|
|
consoleSubNav.map((i) => ({ label: i.label, icon: i.icon, to: i.to })), |
|
|
consoleSubNav.map((i) => ({ label: i.label, icon: i.icon, to: i.to })), |
|
|
]) |
|
|
]) |
|
|
|
|
|
|
|
|
/** 移动端汉堡菜单:首页、发现 + 「控制台」分组下四个子项 */ |
|
|
/** 移动端汉堡菜单:首页、发现 + 「控制台」分组下五个子项 */ |
|
|
const mobileMenuItems = computed(() => [ |
|
|
const mobileMenuItems = computed(() => [ |
|
|
[ |
|
|
[ |
|
|
{ label: homeNav.label, icon: homeNav.icon, to: homeNav.to }, |
|
|
{ label: homeNav.label, icon: homeNav.icon, to: homeNav.to }, |
|
|
|