This commit is contained in:
Rinne 2025-04-28 03:03:17 +08:00
parent fb1b2c0cfb
commit 435e1a88ad
2 changed files with 6 additions and 10 deletions

View File

@ -118,17 +118,19 @@ export default Vue.extend({
// usernametag
const userTagIds: number[] = this.followingMap.get(card.username)
if (!userTagIds.some(item => this.selectedGroupIds.includes(item))) {
card.element.classList.add('pattern-block')
card.element.classList.add('hide-feed')
} else {
card.element.classList.remove('pattern-block')
card.element.classList.remove('hide-feed')
}
},
},
})
</script>
<style scoped lang="scss">
@import './blocker';
<style lang="scss">
.hide-feed {
display: none !important;
}
.group-filter-panel {
background-color: white;

View File

@ -1,6 +0,0 @@
@mixin pattern-block {
.bili-dyn-list__item.pattern-block,
.feed-card .card.pattern-block {
display: none !important;
}
}