mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
@@ -691,7 +691,7 @@ defineExpose({
|
||||
>
|
||||
<ALink
|
||||
:class="{ 'white-icon': forceWhiteIcon }"
|
||||
href="https://www.bilibili.com/watchlater/#/list"
|
||||
href="https://www.bilibili.com/watchlater/list"
|
||||
:title="$t('topbar.watch_later')"
|
||||
type="topBar"
|
||||
>
|
||||
|
||||
@@ -43,6 +43,7 @@ function isSupportedPages(): boolean {
|
||||
|| /https?:\/\/(?:www\.)?bilibili\.com\/bangumi\/play\/.*/.test(currentUrl)
|
||||
// watch later playlist
|
||||
|| /https?:\/\/(?:www\.)?bilibili\.com\/list\/watchlater.*/.test(currentUrl)
|
||||
|| /https?:\/\/(?:www\.)?bilibili\.com\/watchlater\/list.*/.test(currentUrl)
|
||||
// favorite playlist
|
||||
|| /https?:\/\/(?:www\.)?bilibili\.com\/list\/ml.*/.test(currentUrl)
|
||||
// search page
|
||||
|
||||
@@ -39,7 +39,10 @@ async function setupStyles() {
|
||||
}
|
||||
|
||||
// watch later page 稍候再看页
|
||||
else if (/https?:\/\/(?:www\.)?bilibili\.com\/watchlater\/#\/list.*/.test(currentUrl)) {
|
||||
else if (
|
||||
/https?:\/\/(?:www\.)?bilibili\.com\/watchlater\/list.*/.test(currentUrl)
|
||||
|| /https?:\/\/(?:www\.)?bilibili\.com\/watchlater\/#\/list.*/.test(currentUrl)
|
||||
) {
|
||||
await import('./pages/watchLaterPage.scss')
|
||||
document.documentElement.classList.add('watchLaterPage')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user