🦄 reactor: 页面适配

This commit is contained in:
秋刀鱼 2024-11-07 17:28:35 +08:00
parent 8a645cf326
commit 08b4d5d652
4 changed files with 38 additions and 30 deletions

View File

@ -1823,7 +1823,7 @@ export class tools extends plugin {
}
// 一般这个情况是VIP歌曲 (如果没有url或者是国内,公用接口暂时不可用必须自建并且ck可用状态才能进行高质量解析)
if (!isCkExpired || url == null) {
url = await this.musicTempApi(e, title, "网易云音乐");
url = await this.musicTempApi(e, title, "网易云音乐", musicInfo);
} else {
// 拥有ck并且有效直接进行解析
let audioInfo = AudioLevel;

View File

@ -265,7 +265,7 @@ export function supportGuoba() {
},
{
field: "tools.isSendVocal",
label: "网易云开启发送音频",
label: "网易云开启发送音频",
bottomHelpMessage:
"默认开启,识别音乐之后是否转化群语音发送,关闭将获得一定的性能提升",
component: "Switch",

View File

@ -10,7 +10,6 @@ html {
margin: 0;
padding: 0;
width: 780px;
height: 370px;
font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
@ -44,6 +43,12 @@ html {
box-sizing: border-box;
}
.songinfobox {
width: 100%;
height: 100%;
padding: 30px 0px;
}
.info {
width: 100%;
height: 100%;
@ -54,7 +59,6 @@ html {
}
.cover {
margin-top: 28px;
width: 100%;
height: 135px;
display: flex;

View File

@ -17,11 +17,12 @@
</div>
<div class="infoBox">
<div class="info">
<div class="songinfobox">
<div class="cover">
<img src="{{ songInfo.cover }}" alt="">
</div>
<div class="songSize">
{{ songInfo.size }} MB
{{ songInfo.size }}
</div>
<div class="songName">
{{ songInfo.songName }}
@ -29,15 +30,18 @@
<div class="singerName">
{{ songInfo.singerName }}
</div>
{{if songInfo.musicType}}
<div class="typeBox">
<div class="typeList">
{{each songInfo.musicType typeName}}
<div class="typeNav">
{{ typeName }}
{{ typeName || '喵喵~'}}
</div>
{{ /each }}
</div>
</div>
{{/if}}
</div>
</div>
</div>
</body>