mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
18 lines
459 B
TypeScript
18 lines
459 B
TypeScript
import type { CustomNavbarItemInit } from '../custom-navbar-item'
|
|
|
|
const href = 'https://www.bilibili.com/account/history'
|
|
export const history: CustomNavbarItemInit = {
|
|
name: 'history',
|
|
displayName: '历史',
|
|
content: '历史',
|
|
|
|
href,
|
|
touch: true,
|
|
active: document.URL.replace(/\?.*$/, '') === href,
|
|
loginRequired: true,
|
|
|
|
boundingWidth: 400,
|
|
noPopupPadding: true,
|
|
popupContent: () => import('./NavbarHistory.vue').then(m => m.default),
|
|
}
|