@ -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,18 +133,18 @@
></vue-slider>
</div>
<button-icon
class="lyrics-button"
title="Lyrics"
title="歌词"
style="margin-left: 12px"
@click.native.stop="toggleLyrics"
><svg-icon icon-class="arrow-up"
/></button-icon>
</template>
<script>
@ -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 {
// .lyrics-button {
position: fixed;
// position: fixed;
right: 18px;
// right: 18px;
.svg-icon {
// .svg-icon {
height: 20px;
// height: 20px;
width: 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: ["universal"]
],
// artifactName: "${productName}-${version}-${os}-${arch}.${ext}",
artifactName: "${productName}-${arch}.${ext}",
category: "public.app-category.music",
darkModeSupport: true,