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