Update options and descriptions (#4444)

This commit is contained in:
the1812 2023-09-27 19:37:54 +08:00
parent 5d664797f0
commit aeb24b7653
4 changed files with 6 additions and 15 deletions

View File

@ -10,4 +10,4 @@
- `热评`, `UP 主点赞` 等标记和点赞栏放在同一行.
- `编辑框`: 将提示文本居上, 符合用户实际输入文字的位置, 并将发布按钮的字号略微调小.
- `粉丝勋章`: 隐藏用户的粉丝勋章.
- `活动横幅`: 隐藏评论区顶部的活动横幅
- `小喇叭横幅`: 隐藏评论区顶部的小喇叭横幅

View File

@ -35,7 +35,7 @@ export const component = wrapSwitchOptions({
},
eventBanner: {
defaultValue: true,
displayName: '活动横幅',
displayName: '小喇叭横幅',
},
},
})({

View File

@ -0,0 +1,4 @@
删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 \`占位文本\` 选项.
- \`占位文本\`: 删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.
- \`保留活动横幅\`: 保留视频页面的活动横幅.

View File

@ -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,
},
},
})