mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Update options and descriptions (#4444)
This commit is contained in:
parent
5d664797f0
commit
aeb24b7653
@ -10,4 +10,4 @@
|
||||
- `热评`, `UP 主点赞` 等标记和点赞栏放在同一行.
|
||||
- `编辑框`: 将提示文本居上, 符合用户实际输入文字的位置, 并将发布按钮的字号略微调小.
|
||||
- `粉丝勋章`: 隐藏用户的粉丝勋章.
|
||||
- `活动横幅`: 隐藏评论区顶部的活动横幅
|
||||
- `小喇叭横幅`: 隐藏评论区顶部的小喇叭横幅
|
||||
|
||||
@ -35,7 +35,7 @@ export const component = wrapSwitchOptions({
|
||||
},
|
||||
eventBanner: {
|
||||
defaultValue: true,
|
||||
displayName: '活动横幅',
|
||||
displayName: '小喇叭横幅',
|
||||
},
|
||||
},
|
||||
})({
|
||||
|
||||
4
registry/lib/components/utils/remove-promotions/index.md
Normal file
4
registry/lib/components/utils/remove-promotions/index.md
Normal file
@ -0,0 +1,4 @@
|
||||
删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 \`占位文本\` 选项.
|
||||
|
||||
- \`占位文本\`: 删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.
|
||||
- \`保留活动横幅\`: 保留视频页面的活动横幅.
|
||||
@ -100,15 +100,6 @@ export const component = defineComponentMetadata({
|
||||
},
|
||||
],
|
||||
tags: [componentsTags.utils],
|
||||
description: {
|
||||
'zh-CN': `
|
||||
删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 \`占位文本\` 选项.
|
||||
|
||||
- \`占位文本\`: 删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.
|
||||
- \`保留活动横幅\`: 保留视频页面的活动横幅.
|
||||
- \`保留小喇叭\`: 保留视频页面的活动横幅下方评论区上方的黄色小喇叭通知以及动态的黄色小喇叭.
|
||||
`.trim(),
|
||||
},
|
||||
options: {
|
||||
showPlaceholder: {
|
||||
displayName: '占位文本',
|
||||
@ -122,9 +113,5 @@ export const component = defineComponentMetadata({
|
||||
displayName: '保留动态商品推荐',
|
||||
defaultValue: false,
|
||||
},
|
||||
preserveReplyNotice: {
|
||||
displayName: '保留小喇叭通知',
|
||||
defaultValue: true,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user