feat: implement sound settings management in App and SettingsModal components

- Added sound settings functionality, allowing users to enable or disable sound effects.
- Integrated sound initialization and synchronization with user settings in App.vue.
- Updated SettingsModal.vue to include a dedicated sound settings card with toggle functionality.
- Enhanced sound management in useSound.ts to support initialization and synchronization with settings store.
This commit is contained in:
AdingApkgg
2026-01-20 10:08:08 +08:00
parent 8d4d5a2fa9
commit c323ea1fd9
5 changed files with 163 additions and 118 deletions

31
src/data/api.json Normal file
View File

@@ -0,0 +1,31 @@
{
"servers": [
{
"key": "cfapi",
"label": "Cloudflare",
"url": "https://cf.api.searchgal.homes"
},
{
"key": "api",
"label": "香港 雨云",
"url": "https://api.searchgal.homes"
},
{
"key": "gzapi",
"label": "广州 腾讯云",
"url": "https://gz.api.searchgal.homes"
},
{
"key": "jpapi",
"label": "东京 ClawCloud",
"url": "https://jp.api.searchgal.homes"
},
{
"key": "deapi",
"label": "法兰克福 ClawCloud",
"url": "https://de.api.searchgal.homes"
}
],
"deployUrl": "https://github.com/Moe-Sakura/Wrangler-API",
"contributeUrl": "https://github.com/Moe-Sakura/frontend/edit/dev/src/data/api.json"
}