Showcase refactor (#20)

* refactor: update voice.js

* refactor: update fallback.js

* refactor: update music.js

* refactor: update player.js

* refactor: misc changes

* feat: added background.js

* feat: added logo.js

* chore: update

* refactor: port all changes

* fix: fix WE issues

* fix: code cleanup
This commit is contained in:
Haoyu Xu
2025-01-08 21:33:01 +08:00
committed by GitHub
parent 245c95d758
commit 5780c04979
23 changed files with 2312 additions and 1499 deletions

View File

@@ -42,6 +42,7 @@ localization:
ui_video_title: <hr><h4>📝 Video</h4><hr>
ui_custom_video: Custom Video
ui_video_volume: Volume
ui_misc_title: <hr><h4>💡 Misc</h4><hr>
zh-chs:
ui_notice_title: <hr><h4>📝 通知</h4><hr>
ui_notice_set_fps: <span><b>在设置中设定FPS目标</b></span>
@@ -84,6 +85,7 @@ localization:
ui_video_title: <hr><h4>📹 视频</h4><hr>
ui_custom_video: 自定义视频
ui_video_volume: 音量
ui_misc_title: <hr><h4>💡 杂项</h4><hr>
properties:
- key: notice_title
value:
@@ -282,7 +284,7 @@ properties:
value: false
- key: custom_video
value:
text: ui_video_music
text: ui_custom_video
condition: video_title.value == true
type: file
fileType: video
@@ -296,20 +298,6 @@ properties:
fraction: false
max: 100
min: 0
- key: useStartAnimation
value:
text: ui_useStartAnimation_title
type: bool
value: true
- key: scale
value:
text: ui_scale
type: slider
value: 1
fraction: true
max: 10
min: 0
step: 0.1
- key: position
value:
text: ui_position_title
@@ -351,6 +339,23 @@ properties:
fraction: false
max: 100
min: -100
- key: misc_title
value:
text: ui_misc_title
- key: useStartAnimation
value:
text: ui_useStartAnimation_title
type: bool
value: true
- key: scale
value:
text: ui_scale
type: slider
value: 1
fraction: true
max: 10
min: 0
step: 0.1
- key: privacytitle
value:
text: ui_privacy_title