From c5747b6a3e3221e4280359078cddc2f10caa3a2c Mon Sep 17 00:00:00 2001 From: imsyy Date: Mon, 11 Dec 2023 14:29:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=99=A8=E6=A0=B7=E5=BC=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 1 - electron/main/startNcmServer.js | 2 +- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- src/components/Player/MainControl.vue | 14 +++++++++----- src/views/Artist/hot.vue | 10 +++++++++- src/views/List/album.vue | 7 ++++++- 7 files changed, 30 insertions(+), 14 deletions(-) diff --git a/components.d.ts b/components.d.ts index 66585432..07503227 100644 --- a/components.d.ts +++ b/components.d.ts @@ -8,7 +8,6 @@ export {} declare module 'vue' { export interface GlobalComponents { AddPlaylist: typeof import('./src/components/Modal/AddPlaylist.vue')['default'] - CloudMatch: typeof import('./src/components/Modal/CloudMatch.vue')['default'] CloudSongMatch: typeof import('./src/components/Modal/CloudSongMatch.vue')['default'] CommentList: typeof import('./src/components/List/CommentList.vue')['default'] CountDown: typeof import('./src/components/Player/CountDown.vue')['default'] diff --git a/electron/main/startNcmServer.js b/electron/main/startNcmServer.js index 554c60eb..2b8fc101 100644 --- a/electron/main/startNcmServer.js +++ b/electron/main/startNcmServer.js @@ -5,7 +5,7 @@ const netEaseApi = require("NeteaseCloudMusicApi"); * * @async * @param {Object} options - 服务器配置 - * @param {number} [options.port=12141] - 服务器端口 + * @param {number} [options.port=11451] - 服务器端口 * @param {string} [options.host="127.0.0.1"] - 服务器主机地址 * @returns {Promise} 返回一个 Promise,在 API 服务器成功启动后 resolve */ diff --git a/package.json b/package.json index d60999f2..faca566d 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@electron-toolkit/preload": "^2.0.0", "@electron-toolkit/utils": "^2.0.0", "@material/material-color-utilities": "^0.2.7", - "NeteaseCloudMusicApi": "^4.13.5", + "NeteaseCloudMusicApi": "^4.13.6", "axios": "^1.4.0", "colorthief": "^2.4.0", "electron-dl": "^3.5.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 317172cc..e657f502 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ dependencies: specifier: ^0.2.7 version: 0.2.7 NeteaseCloudMusicApi: - specifier: ^4.13.5 - version: 4.13.5 + specifier: ^4.13.6 + version: 4.13.6 axios: specifier: ^1.4.0 version: 1.4.0 @@ -1076,8 +1076,8 @@ packages: requiresBuild: true dev: true - /NeteaseCloudMusicApi@4.13.5: - resolution: {integrity: sha512-UjaZeODKHBpSm/L4oxS1l5C7WGddoIhvmQ1BPknMZx32SmJRGUtNUKYWIGmVuO9uemtobLfPOhI7owNAzn2Udg==} + /NeteaseCloudMusicApi@4.13.6: + resolution: {integrity: sha512-dK6vReOVYBhOuUSocex1M3FNfRnJJvGmTfCavqXkSFguS+PyyeP7D6JDmF0NVqMskwE7r1uT2yqrozDnBA/Syw==} engines: {node: '>=12'} hasBin: true dependencies: diff --git a/src/components/Player/MainControl.vue b/src/components/Player/MainControl.vue index 6e0e563e..60dfb7bd 100644 --- a/src/components/Player/MainControl.vue +++ b/src/components/Player/MainControl.vue @@ -780,11 +780,15 @@ watch( bottom: 0; } &.no-sider { - max-width: 1400px; - margin: 0 auto; - padding: 0 10vw; - @media (max-width: 1200px) { - padding: 0 5vw; + padding: 0; + .player { + width: auto; + max-width: 1400px; + margin: 0 auto; + padding: 0 10vw; + @media (max-width: 1200px) { + padding: 0 5vw; + } } } } diff --git a/src/views/Artist/hot.vue b/src/views/Artist/hot.vue index d7a60439..4df80c81 100644 --- a/src/views/Artist/hot.vue +++ b/src/views/Artist/hot.vue @@ -27,6 +27,7 @@