mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
17 lines
434 B
TypeScript
17 lines
434 B
TypeScript
import type { CustomNavbarItemInit } from '../custom-navbar-item'
|
|
|
|
const messagesUrl = 'https://message.bilibili.com/'
|
|
export const messages: CustomNavbarItemInit = {
|
|
name: 'messages',
|
|
displayName: '消息',
|
|
content: '消息',
|
|
|
|
href: messagesUrl,
|
|
active: document.URL.startsWith(messagesUrl),
|
|
loginRequired: true,
|
|
touch: true,
|
|
|
|
popupContent: () => import('./NavbarMessages.vue').then(m => m.default),
|
|
lazy: false,
|
|
}
|