Skip to content

Commit

Permalink
update: video page right items
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Nov 4, 2024
1 parent 3cd9fde commit 6781e6c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 20 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 4.0.8

- 修复:播放页 调节播放器宽度 Firefox页面抖动bug
- 更新:播放页 右列功能适配页面变动

## 4.0.7

Expand Down
11 changes: 2 additions & 9 deletions src/modules/rules/video/groups/right.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ html[video-page-hide-right-container-section-height] {
.video-sections-content-list,
.video-pod__body {
height: fit-content !important;
max-height: 350px !important;
max-height: 370px !important;
}
}

// 隐藏 视频合集 自动连播
// 隐藏 视频合集 自动连播开关
html[video-page-hide-right-container-section-next-btn] {
.base-video-sections-v1 .next-button {
display: none !important;
Expand Down Expand Up @@ -159,13 +159,6 @@ html[video-page-hide-right-container-section-subscribe] {
}
}

// 隐藏 分P视频 自动连播
html[video-page-hide-right-container-multi-page-next-btn] {
#multi_page .next-button {
display: none !important;
}
}

// 恢复 分P视频 编号
html[video-page-hide-right-container-multi-page-add-counter] {
.video-pod__list.multip.list {
Expand Down
17 changes: 6 additions & 11 deletions src/modules/rules/video/groups/right.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const videoRightItems: Item[] = [
{
type: 'switch',
id: 'video-page-hide-right-container-reco-list-next-play-next-button',
name: '隐藏 自动连播按钮',
name: '隐藏 自动连播开关',
},
{
type: 'switch',
Expand All @@ -40,14 +40,14 @@ export const videoRightItems: Item[] = [
},
{
type: 'switch',
id: 'video-page-hide-right-container-section-height',
name: '优化 视频合集列表高度',
defaultEnable: true,
id: 'video-page-hide-right-container-section-next-btn',
name: '隐藏 视频合集 自动连播开关',
},
{
type: 'switch',
id: 'video-page-hide-right-container-section-next-btn',
name: '隐藏 视频合集 自动连播',
id: 'video-page-hide-right-container-section-height',
name: '优化 视频合集列表高度',
defaultEnable: true,
},
{
type: 'switch',
Expand All @@ -65,11 +65,6 @@ export const videoRightItems: Item[] = [
id: 'video-page-hide-right-container-section-subscribe',
name: '隐藏 视频合集 订阅合集',
},
{
type: 'switch',
id: 'video-page-hide-right-container-multi-page-next-btn',
name: '隐藏 分P视频 自动连播',
},
{
type: 'switch',
id: 'video-page-hide-right-container-multi-page-add-counter',
Expand Down

0 comments on commit 6781e6c

Please sign in to comment.