diff --git a/components.d.ts b/components.d.ts index cfe17c3..11a6d09 100644 --- a/components.d.ts +++ b/components.d.ts @@ -61,8 +61,11 @@ declare module 'vue' { NDrawerContent: typeof import('naive-ui')['NDrawerContent'] NDropdown: typeof import('naive-ui')['NDropdown'] NDynamicTags: typeof import('naive-ui')['NDynamicTags'] + NEllipsis: typeof import('naive-ui')['NEllipsis'] NEmpty: typeof import('naive-ui')['NEmpty'] NFlex: typeof import('naive-ui')['NFlex'] + NFloatButton: typeof import('naive-ui')['NFloatButton'] + NFloatButtonGroup: typeof import('naive-ui')['NFloatButtonGroup'] NForm: typeof import('naive-ui')['NForm'] NFormItem: typeof import('naive-ui')['NFormItem'] NFormItemGi: typeof import('naive-ui')['NFormItemGi'] @@ -70,6 +73,7 @@ declare module 'vue' { NGlobalStyle: typeof import('naive-ui')['NGlobalStyle'] NGrid: typeof import('naive-ui')['NGrid'] NH1: typeof import('naive-ui')['NH1'] + NH2: typeof import('naive-ui')['NH2'] NH3: typeof import('naive-ui')['NH3'] NIcon: typeof import('naive-ui')['NIcon'] NImage: typeof import('naive-ui')['NImage'] @@ -100,6 +104,7 @@ declare module 'vue' { NSelect: typeof import('naive-ui')['NSelect'] NSkeleton: typeof import('naive-ui')['NSkeleton'] NSlider: typeof import('naive-ui')['NSlider'] + NSpin: typeof import('naive-ui')['NSpin'] NSwitch: typeof import('naive-ui')['NSwitch'] NTabPane: typeof import('naive-ui')['NTabPane'] NTabs: typeof import('naive-ui')['NTabs'] diff --git a/package.json b/package.json index d8b3904..62fe5e7 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@electron-toolkit/utils": "^4.0.0", "@imsyy/color-utils": "^1.0.2", "@material/material-color-utilities": "^0.3.0", - "@neteasecloudmusicapienhanced/api": "^4.29.15", + "@neteasecloudmusicapienhanced/api": "^4.29.16", "@pixi/app": "^7.4.3", "@pixi/core": "^7.4.3", "@pixi/display": "^7.4.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index da316ff..902225c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,8 +34,8 @@ importers: specifier: ^0.3.0 version: 0.3.0 '@neteasecloudmusicapienhanced/api': - specifier: ^4.29.15 - version: 4.29.15 + specifier: ^4.29.16 + version: 4.29.16 '@pixi/app': specifier: ^7.4.3 version: 7.4.3(@pixi/core@7.4.3)(@pixi/display@7.4.3(@pixi/core@7.4.3)) @@ -967,8 +967,8 @@ packages: '@material/material-color-utilities@0.3.0': resolution: {integrity: sha512-ztmtTd6xwnuh2/xu+Vb01btgV8SQWYCaK56CkRK8gEkWe5TuDyBcYJ0wgkMRn+2VcE9KUmhvkz+N9GHrqw/C0g==} - '@neteasecloudmusicapienhanced/api@4.29.15': - resolution: {integrity: sha512-/dw0ON90NDXJnULEyKzGEvKjjkJyHYb9fJgKa1dxsN5AIN/tXNAu4AV2vMJcPGfA/NV7iRnLDEPS8ocJCbCU2w==} + '@neteasecloudmusicapienhanced/api@4.29.16': + resolution: {integrity: sha512-ml6cTErjJ/fn+E0wvlNGGoW74rDj3mfogO85xySuTCuX/Mdhuayv+pPtoSm5YDM6j26hHmS8+rV2ma4o16pUiw==} engines: {node: '>=12'} hasBin: true @@ -5331,7 +5331,7 @@ snapshots: '@material/material-color-utilities@0.3.0': {} - '@neteasecloudmusicapienhanced/api@4.29.15': + '@neteasecloudmusicapienhanced/api@4.29.16': dependencies: '@unblockneteasemusic/server': 0.28.0 axios: 1.13.2 diff --git a/src/components/Player/MainLyric.vue b/src/components/Player/MainLyric.vue index 63cc6a1..4d64ce8 100644 --- a/src/components/Player/MainLyric.vue +++ b/src/components/Player/MainLyric.vue @@ -58,7 +58,10 @@ ]" :style="{ filter: settingStore.lyricsBlur - ? `blur(${Math.min(Math.abs(statusStore.lyricIndex - index) * 1.8, 10)}px)` + ? (playSeek >= item.time && playSeek < item.endTime) || + statusStore.lyricIndex === index + ? 'blur(0)' + : `blur(${Math.min(Math.abs(statusStore.lyricIndex - index) * 1.8, 10)}px)` : 'blur(0)', }" @click="jumpSeek(item.time)" diff --git a/src/components/Setting/LyricsSetting.vue b/src/components/Setting/LyricsSetting.vue index 6a4e123..de0d045 100644 --- a/src/components/Setting/LyricsSetting.vue +++ b/src/components/Setting/LyricsSetting.vue @@ -287,7 +287,10 @@