mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
15 lines
409 B
TypeScript
15 lines
409 B
TypeScript
import type { CustomNavbarItemInit } from '../custom-navbar-item'
|
|
|
|
const rankingUrl = 'https://www.bilibili.com/v/popular/rank/'
|
|
export const ranking: CustomNavbarItemInit = {
|
|
name: 'ranking',
|
|
displayName: '排行',
|
|
content: '排行',
|
|
|
|
href: `${rankingUrl}all`,
|
|
active: document.URL.startsWith(rankingUrl),
|
|
touch: true,
|
|
|
|
popupContent: () => import('./NavbarRanking.vue').then(m => m.default),
|
|
}
|