master
qier222 4 years ago
parent 160737e736
commit 51d11e8316

@ -178,6 +178,10 @@ a {
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: rgba(128, 128, 128, 0.38);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
background: var(--color-secondary-bg);
}

@ -133,17 +133,17 @@
></vue-slider>
</div>
</div>
<button-icon
class="lyrics-button"
title="歌词"
style="margin-left: 12px"
@click.native.stop="toggleLyrics"
><svg-icon icon-class="arrow-up"
/></button-icon>
</div>
</div>
</div>
<button-icon
class="lyrics-button"
title="Lyrics"
style="margin-left: 12px"
@click.native.stop="toggleLyrics"
><svg-icon icon-class="arrow-up"
/></button-icon>
</div>
</template>
@ -402,6 +402,7 @@ export default {
display: flex;
justify-content: center;
align-items: center;
padding: 0 8px;
.button-icon {
margin: 0 8px;
}
@ -447,12 +448,12 @@ export default {
margin-left: 16px;
}
.lyrics-button {
position: fixed;
right: 18px;
.svg-icon {
height: 20px;
width: 20px;
}
}
// .lyrics-button {
// position: fixed;
// right: 18px;
// .svg-icon {
// height: 20px;
// width: 20px;
// }
// }
</style>

@ -277,7 +277,7 @@ export default class {
_nextTrackCallback() {
this._scrobble(true);
if (this.repeatMode === "one") {
this._howler.play();
this._replaceCurrentTrack(this._currentTrack.id);
} else {
this.playNextTrack();
}

@ -136,7 +136,7 @@ export default {
return true;
},
validateEmail() {
const emailReg = /^[A-Za-z0-9]+([_][A-Za-z0-9]+)*@([A-Za-z0-9]+\.)+[A-Za-z]{2,6}$/;
const emailReg = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
if (
this.email === "" ||
this.password === "" ||

@ -69,13 +69,17 @@ module.exports = {
},
mac: {
target: [
"dmg",
{
target: "dmg",
arch: ["arm64", "x64"],
},
{
target: "zip",
// arch: ["x64", "arm64"],
arch: ["arm64", "x64"],
// arch: ["universal"]
},
],
// artifactName: "${productName}-${version}-${os}-${arch}.${ext}",
artifactName: "${productName}-${arch}.${ext}",
category: "public.app-category.music",
darkModeSupport: true,
},

Loading…
Cancel
Save