mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Merge pull request #4306 from TimmyOVO/preview-features
feat: 添加简化全屏直播时的底部礼物栏功能
This commit is contained in:
commit
86aa6a5101
@ -0,0 +1,7 @@
|
||||
#full-screen-interactive-wrap {
|
||||
display: none !important
|
||||
}
|
||||
|
||||
#fullscreen-danmaku-vm .fullscreen-danmaku {
|
||||
bottom: 5px !important
|
||||
}
|
||||
21
registry/lib/components/live/hide-gift-fullscreen/index.ts
Normal file
21
registry/lib/components/live/hide-gift-fullscreen/index.ts
Normal file
@ -0,0 +1,21 @@
|
||||
import { defineComponentMetadata } from '@/components/define'
|
||||
import { liveUrls } from '@/core/utils/urls'
|
||||
|
||||
export const component = defineComponentMetadata({
|
||||
name: 'hide-fullscreen-gift-bar',
|
||||
displayName: '全屏直播礼物简化',
|
||||
description: '移除全屏观看直播时的底部礼物栏',
|
||||
author: {
|
||||
name: 'TimmyOVO',
|
||||
link: 'https://github.com/TimmyOVO',
|
||||
},
|
||||
instantStyles: [
|
||||
{
|
||||
name: 'hide-fullscreen-gift',
|
||||
style: () => import('./hide-full-screen-gift.css'),
|
||||
},
|
||||
],
|
||||
entry: none,
|
||||
tags: [componentsTags.live, componentsTags.style],
|
||||
urlInclude: liveUrls,
|
||||
})
|
||||
Loading…
Reference in New Issue
Block a user