fix: bugs

This commit is contained in:
qier222 2021-01-20 14:02:03 +08:00
parent 3822b498a1
commit b2f758f0c4
11 changed files with 40 additions and 67 deletions

View file

@ -198,9 +198,6 @@ export default {
...mapMutations(["appendTrackToPlayerList"]),
...mapActions(["playFirstTrackOnList", "playTrackOnListByID", "showToast"]),
playAlbumByID(id, trackID = "first") {
if (this.tracks.find((t) => t.playable !== false) === undefined) {
return;
}
this.$store.state.player.playAlbumByID(id, trackID);
},
likeAlbum(toast = false) {

View file

@ -106,9 +106,9 @@
<div class="section-title">相似歌手</div>
<CoverRow
type="artist"
:columnNumber="7"
:columnNumber="6"
gap="36px 28px"
:items="similarArtists.slice(0, 14)"
:items="similarArtists.slice(0, 12)"
/>
</div>
</div>

View file

@ -118,7 +118,7 @@ export default {
this.player = new Plyr(this.$refs.videoPlayer, videoOptions);
this.player.volume = this.$store.state.player.volume;
this.player.on("playing", () => {
this.$store.state.howler.pause();
this.$store.state.player.pause();
});
this.getData(this.$route.params.id);
console.log("网易云你这mv音频码率也太糊了吧🙄");