Skip to content

Commit

Permalink
Update video popup class (fix #3853)
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed Dec 29, 2022
1 parent 469bb6d commit 780d67b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions registry/lib/components/video/player/remove-popup/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择.
3 changes: 0 additions & 3 deletions registry/lib/components/video/player/remove-popup/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ export const component = defineComponentMetadata({
],
displayName: '删除视频弹窗',
tags: [componentsTags.video, componentsTags.style],
description: {
'zh-CN': '删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择.',
},
urlInclude: playerUrls,
options: {
votes: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
body {
&.remove-player-popup {
// https://www.bilibili.com/video/BV1V54y1b7yW/
&-combo-likes {
.bili-guide,
.bilibili-player-video-popup-three,
.bilibili-player-video-popup-three-animate,
.bilibili-player-video-popup-follow,
Expand All @@ -12,30 +14,38 @@ body {
display: none !important;
}
}
// https://www.bilibili.com/video/BV11h411k72c/
&-related-videos {
.bili-link,
.bilibili-player-video-link,
.bilibili-player-link,
.bpx-player-link {
display: none !important;
}
}
// https://www.bilibili.com/video/BV12Y4y1L7SR/
&-votes {
.bili-vote,
.bilibili-player-video-popup-vote,
.bpx-player-popup-dm-close,
.bpx-player-popup-dm-shrink,
.bpx-player-popup-vote {
display: none !important;
}
}
// https://www.bilibili.com/video/BV1V54y1b7yW/
&-rates {
.bili-score,
.bilibili-player-score,
.bpx-player-popup-dm-close,
.bpx-player-score-summary-wrap,
.bpx-player-score {
display: none !important;
}
}
// https://www.bilibili.com/video/BV1fe4y1b7NE/
&-reservations {
.bili-reserve,
.bpx-player-reserve {
display: none !important;
}
Expand Down

0 comments on commit 780d67b

Please sign in to comment.