mirror of
https://github.com/fankes/komari-theme-purcarte.git
synced 2025-10-18 19:39:22 +08:00
feat: 尝试支持配置视频背景
This commit is contained in:
@@ -20,6 +20,27 @@
|
||||
"default": "/assets/Moonlit-Scenery.webp",
|
||||
"help": "目前仅支持单张背景图片(eg: https://test.com/1.png)"
|
||||
},
|
||||
{
|
||||
"key": "enableVedioBackground",
|
||||
"name": "启用视频背景",
|
||||
"type": "switch",
|
||||
"default": false,
|
||||
"help": "启用后将使用视频作为背景"
|
||||
},
|
||||
{
|
||||
"key": "vedioBackgroundUrl",
|
||||
"name": "视频背景链接",
|
||||
"type": "string",
|
||||
"default": "/assets/Mortis_1080p30fps2Mbps.mp4",
|
||||
"help": "视频背景链接(eg: https://test.com/1.mp4),建议使用无声视频,且视频文件较大时可能会影响加载速度"
|
||||
},
|
||||
{
|
||||
"key": "enableBlur",
|
||||
"name": "启用磨砂玻璃效果",
|
||||
"type": "switch",
|
||||
"default": true,
|
||||
"help": "启用后将使主要容器拥有磨砂玻璃效果"
|
||||
},
|
||||
{
|
||||
"key": "blurValue",
|
||||
"name": "磨砂玻璃模糊值",
|
||||
|
Reference in New Issue
Block a user