mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
110 lines
2.4 KiB
TypeScript
110 lines
2.4 KiB
TypeScript
import { styledComponentEntry } from '@/components/styled-component'
|
|
import { newSwitchComponentWrapper } from '@/components/switch-options'
|
|
import { liveUrls } from '@/core/utils/urls'
|
|
|
|
export const component = newSwitchComponentWrapper({
|
|
name: 'simplifyOptions',
|
|
dimAt: 'checked',
|
|
switchProps: {
|
|
checkedIcon: 'mdi-eye-off-outline',
|
|
notCheckedIcon: 'mdi-eye-outline',
|
|
},
|
|
switches: {
|
|
vip: {
|
|
defaultValue: true,
|
|
displayName: '老爷图标',
|
|
},
|
|
enterPrompt: {
|
|
defaultValue: true,
|
|
displayName: '入场通知',
|
|
},
|
|
fansMedal: {
|
|
defaultValue: true,
|
|
displayName: '粉丝勋章',
|
|
},
|
|
title: {
|
|
defaultValue: true,
|
|
displayName: '活动头衔',
|
|
},
|
|
guard: {
|
|
defaultValue: true,
|
|
displayName: '舰长图标',
|
|
},
|
|
systemMessage: {
|
|
defaultValue: true,
|
|
displayName: '全区广播',
|
|
},
|
|
welcomeMessage: {
|
|
defaultValue: true,
|
|
displayName: '欢迎信息',
|
|
},
|
|
giftMessage: {
|
|
defaultValue: true,
|
|
displayName: '礼物弹幕',
|
|
},
|
|
emoticons: {
|
|
defaultValue: true,
|
|
displayName: '表情特效',
|
|
},
|
|
guardPurchase: {
|
|
defaultValue: true,
|
|
displayName: '上舰提示',
|
|
},
|
|
giftPanel: {
|
|
defaultValue: true,
|
|
displayName: '付费礼物',
|
|
},
|
|
headerPanel: {
|
|
defaultValue: false,
|
|
displayName: '标题栏活动',
|
|
},
|
|
userEffect: {
|
|
defaultValue: true,
|
|
displayName: '入场特效',
|
|
},
|
|
kanban: {
|
|
defaultValue: true,
|
|
displayName: '看板娘',
|
|
},
|
|
eventsBanner: {
|
|
defaultValue: false,
|
|
displayName: '活动横幅',
|
|
},
|
|
rankList: {
|
|
defaultValue: false,
|
|
displayName: '排行榜',
|
|
},
|
|
popup: {
|
|
defaultValue: false,
|
|
displayName: '抽奖提示',
|
|
},
|
|
pk: {
|
|
defaultValue: false,
|
|
displayName: 'PK浮窗',
|
|
},
|
|
topRank: {
|
|
defaultValue: false,
|
|
displayName: '高能榜提示',
|
|
},
|
|
skin: {
|
|
defaultValue: false,
|
|
displayName: '房间皮肤',
|
|
},
|
|
},
|
|
})({
|
|
name: 'simplifyLiveroom',
|
|
displayName: '简化直播间',
|
|
entry: styledComponentEntry(
|
|
() => import('./live.scss'),
|
|
async () => {
|
|
const { setupSkinSimplify } = await import('./skin')
|
|
setupSkinSimplify()
|
|
},
|
|
),
|
|
description: {
|
|
'zh-CN': '隐藏直播间中各种不需要的内容.',
|
|
},
|
|
tags: [componentsTags.live, componentsTags.style],
|
|
urlInclude: liveUrls,
|
|
})
|