master
qier222 4 years ago
parent 160737e736
commit 51d11e8316

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

@ -133,17 +133,17 @@
></vue-slider> ></vue-slider>
</div> </div>
</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> </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> </div>
</template> </template>
@ -402,6 +402,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding: 0 8px;
.button-icon { .button-icon {
margin: 0 8px; margin: 0 8px;
} }
@ -447,12 +448,12 @@ export default {
margin-left: 16px; 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> </style>

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

@ -136,7 +136,7 @@ export default {
return true; return true;
}, },
validateEmail() { 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 ( if (
this.email === "" || this.email === "" ||
this.password === "" || this.password === "" ||

@ -69,13 +69,17 @@ module.exports = {
}, },
mac: { mac: {
target: [ target: [
"dmg", {
target: "dmg",
arch: ["arm64", "x64"],
},
{ {
target: "zip", 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", category: "public.app-category.music",
darkModeSupport: true, darkModeSupport: true,
}, },

Loading…
Cancel
Save