Merge pull request #4348 from CrunchyShark944/preview-features

直播间简化支持隐藏荣耀等级勋章
This commit is contained in:
Grant Howard 2023-07-27 23:16:33 +08:00 committed by GitHub
commit e30a8adbba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,10 @@ export const component = newSwitchComponentWrapper({
defaultValue: true,
displayName: '入场通知',
},
wealthMedal: {
defaultValue: true,
displayName: '荣耀等级勋章',
},
fansMedal: {
defaultValue: true,
displayName: '粉丝勋章',

View File

@ -3,6 +3,7 @@ $prefix: 'simplifyLiveroom-switch';
.#{$prefix} {
&-vip .vip-icon,
&-wealthMedal .wealth-medal-ctnr,
&-fansMedal .fans-medal-item-ctnr,
&-title .title-label,
&-userLevel .user-level-icon,
@ -247,6 +248,9 @@ $prefix: 'simplifyLiveroom-switch';
border-radius: 0 !important;
background-color: transparent !important;
}
.wealth-medal-ctnr.medal-guard {
display: none !important;
}
.fans-medal-item.medal-guard {
margin-left: 0 !important;
}