mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
17 lines
473 B
TypeScript
17 lines
473 B
TypeScript
import { getUID } from '@/core/utils'
|
|
import { CustomNavbarItemInit } from '../custom-navbar-item'
|
|
|
|
export const userInfo: CustomNavbarItemInit = {
|
|
name: 'userInfo',
|
|
displayName: '个人信息',
|
|
content: () => import('./UserFace.vue').then(m => m.default),
|
|
|
|
href: getUID() ? 'https://space.bilibili.com' : null,
|
|
touch: true,
|
|
|
|
popupContent: () => import('./UserInfoPopup.vue').then(m => m.default),
|
|
lazy: false,
|
|
noPopupPadding: true,
|
|
boundingWidth: 240,
|
|
}
|