From 01a3a7a5011fa4889e4eddaeca0b686c7544bccb Mon Sep 17 00:00:00 2001 From: alger Date: Sun, 18 May 2025 12:45:19 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=B7=BB=E5=8A=A0=E9=9F=B3?= =?UTF-8?q?=E4=B9=90=E5=B9=B3=E5=8F=B0=E9=93=BE=E6=8E=A5=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/lang/zh-CN/settings.ts | 2 +- src/renderer/components/Coffee.vue | 2 +- .../components/common/DonationList.vue | 27 +++---- src/renderer/layout/components/SearchBar.vue | 2 +- src/renderer/views/set/index.vue | 80 ++++++++++++------- 5 files changed, 66 insertions(+), 47 deletions(-) diff --git a/src/i18n/lang/zh-CN/settings.ts b/src/i18n/lang/zh-CN/settings.ts index 72a3e57..6731ab9 100644 --- a/src/i18n/lang/zh-CN/settings.ts +++ b/src/i18n/lang/zh-CN/settings.ts @@ -44,7 +44,7 @@ export default { }, playback: { quality: '音质设置', - qualityDesc: '选择音乐播放音质(VIP)', + qualityDesc: '选择音乐播放音质(网易云VIP)', qualityOptions: { standard: '标准', higher: '较高', diff --git a/src/renderer/components/Coffee.vue b/src/renderer/components/Coffee.vue index b0680f4..9e0463b 100644 --- a/src/renderer/components/Coffee.vue +++ b/src/renderer/components/Coffee.vue @@ -76,7 +76,7 @@ const copyQQ = () => { }; const toDonateList = () => { - window.open('http://donate.alger.fun', '_blank'); + window.open('http://donate.alger.fun/download', '_blank'); }; defineProps({ diff --git a/src/renderer/components/common/DonationList.vue b/src/renderer/components/common/DonationList.vue index 5956181..6fff1bd 100644 --- a/src/renderer/components/common/DonationList.vue +++ b/src/renderer/components/common/DonationList.vue @@ -4,6 +4,12 @@

{{ t('donation.description') }}

{{ t('donation.message') }}

+ + + {{ t('donation.toDonateList') }} +
@@ -16,15 +22,6 @@ {{ t('common.alipay') }}
- -
{{ donor.name }}
-
¥{{ donor.amount }}
+
{{ donor.date }}
@@ -172,7 +169,7 @@ const toggleExpand = () => { }; const toDonateList = () => { - window.open('http://donate.alger.fun', '_blank'); + window.open('http://donate.alger.fun/download', '_blank'); }; @@ -211,13 +208,9 @@ const toDonateList = () => { @apply rounded-lg p-2.5 transition-all duration-200 hover:shadow-md; @apply bg-light-100 dark:bg-gray-800/5 backdrop-blur-sm; @apply border border-gray-200 dark:border-gray-700/10; - @apply flex flex-col justify-between; + @apply flex flex-col; min-height: 100px; - &.no-message { - @apply justify-between; - } - .card-content { @apply flex items-start gap-2 mb-2; } @@ -327,7 +320,7 @@ const toDonateList = () => { } .qrcode-grid { - @apply flex justify-between items-center gap-4; + @apply flex justify-between items-center gap-4 flex-wrap; .qrcode-item { @apply flex flex-col items-center gap-2; diff --git a/src/renderer/layout/components/SearchBar.vue b/src/renderer/layout/components/SearchBar.vue index 57259be..d1b0e43 100644 --- a/src/renderer/layout/components/SearchBar.vue +++ b/src/renderer/layout/components/SearchBar.vue @@ -266,7 +266,7 @@ const selectItem = async (key: string) => { }; const toGithub = () => { - window.open('http://donate.alger.fun', '_blank'); + window.open('http://donate.alger.fun/download', '_blank'); }; const updateInfo = ref({ diff --git a/src/renderer/views/set/index.vue b/src/renderer/views/set/index.vue index 7850f64..bac84a5 100644 --- a/src/renderer/views/set/index.vue +++ b/src/renderer/views/set/index.vue @@ -40,7 +40,7 @@
-
+
{{ t('settings.basic.font') }}
{{ t('settings.basic.fontDesc') }}
@@ -103,9 +103,9 @@
- {{ setData.animationSpeed }}x -
- {{ setData.animationSpeed }}x +
+ +
@@ -128,28 +140,42 @@
{{ t('settings.sections.playback') }}
-
-
-
{{ t('settings.playback.quality') }}
-
{{ t('settings.playback.qualityDesc') }}
+
+
+
+
{{ t('settings.playback.quality') }}
+
+ {{ t('settings.playback.qualityDesc') }} +
+
+ +
+ +
+
大家还是需要支持正版,本软件只做开源探讨
+
各大音乐会员购买链接
+
-
-
{{ t('settings.playback.musicSources') }}
@@ -418,7 +444,7 @@
-
{{ t('settings.sections.donation') }}
+
{{ t('settings.sectio ns.donation') }}
@@ -499,7 +525,7 @@ import config from '../../../../package.json'; // 所有平台默认值 const ALL_PLATFORMS: Platform[] = ['migu', 'kugou', 'pyncmd', 'bilibili', 'kuwo']; -const platform = window.electron.ipcRenderer.sendSync('get-platform'); +const platform = window.electron ? window.electron.ipcRenderer.sendSync('get-platform') : 'web'; const settingsStore = useSettingsStore(); const userStore = useUserStore();