diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index e5ee3658..2be5bba6 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -19,6 +19,6 @@ jobs: token: ${{ secrets.RELEASE_TOKEN }} release-type: node package-name: release-please-action - release-as: 0.14.2 + release-as: 0.14.3 signoff: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>' changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"i18n","section":"I18n","hidden":false},{"type":"style","section":"Style Changes","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"contributor","section":"New Contributors","hidden":false},{"type":"notice","section":"Notices","hidden":false}]' diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue index 007aa951..70c74f3b 100644 --- a/src/components/TopBar/TopBar.vue +++ b/src/components/TopBar/TopBar.vue @@ -143,6 +143,9 @@ function handleScroll() { scrollTop.value = document.documentElement.scrollTop } + if (scrollTop.value === 0) + toggleTopBarVisible(true) + if (settings.value.autoHideTopBar && !hoveringTopBar.value && scrollTop.value !== 0) { if (scrollTop.value > oldScrollTop.value) toggleTopBarVisible(false) diff --git a/src/contentScripts/index.ts b/src/contentScripts/index.ts index 70207ab8..9e596714 100644 --- a/src/contentScripts/index.ts +++ b/src/contentScripts/index.ts @@ -56,7 +56,7 @@ function isSupportedPages() { // notifications page || /https?:\/\/message.bilibili.com\.*/.test(currentUrl) // bilibili channel page b站分区页面 - || /https?:\/\/www.bilibili.com\/v\/.*/.test(currentUrl) + || /https?:\/\/www.bilibili.com\/v\/(?!popular).*/.test(currentUrl) // anime page & chinese anime page || /https?:\/\/www.bilibili.com\/(anime|guochuang).*/.test(currentUrl) // channel page e.g. tv shows, movie, variety shows, mooc page diff --git a/src/contentScripts/views/Favorites/Favorites.vue b/src/contentScripts/views/Favorites/Favorites.vue index ef64d152..476c230d 100644 --- a/src/contentScripts/views/Favorites/Favorites.vue +++ b/src/contentScripts/views/Favorites/Favorites.vue @@ -115,10 +115,7 @@ async function getFavoriteResources( if (Array.isArray(res.data.medias) && res.data.medias.length > 0) favoriteResources.push(...res.data.medias) - if ( - res.data.medias === null - || (res.data.medias.length < 20 && favoriteResources.length > 0) - ) + if (!res.data.medias) noMoreContent.value = true } } @@ -158,7 +155,7 @@ function handleUnfavorite(favoriteResource: FavoriteResource) { csrf: getCSRF(), }).then((res) => { if (res.code === 0) - favoriteResources.splice(favoriteResources.indexOf(favoriteResource), 1) + favoriteResources.splice(favoriteResources.indexOf(favoriteResource as FavoriteItem), 1) }) } diff --git a/src/styles/adaptedStyles/homePage.scss b/src/styles/adaptedStyles/homePage.scss index 6babbd5a..82a80d9f 100644 --- a/src/styles/adaptedStyles/homePage.scss +++ b/src/styles/adaptedStyles/homePage.scss @@ -9,7 +9,7 @@ // box-shadow: none; // z-index: 60; // } - + // .header-channel-fixed { // background-color: var(--bew-elevated-2); // backdrop-filter: var(--bew-filter-glass); @@ -34,6 +34,11 @@ // filter: var(--bew-filter-icon-glow); // } + .bili-live-card .bili-live-card__info--living img, + .single-card.floor-card .living > img { + filter: var(--bew-filter-icon-glow); + } + &.dark { .floor-card .floor-title { color: var(--bew-text-1); @@ -43,4 +48,4 @@ background-color: var(--bew-content-solid-1); } } -} \ No newline at end of file +}