master
qier222 4 years ago
parent 6b3c0383bc
commit fa02197254

@ -129,6 +129,7 @@ nav {
display: flex;
justify-content: center;
text-transform: uppercase;
user-select: none;
a {
-webkit-app-region: no-drag;
font-size: 18px;

@ -320,7 +320,7 @@ export default {
.progress-bar {
margin-top: -6px;
margin-bottom: -4px;
margin-bottom: -6px;
width: 100%;
}

@ -118,6 +118,7 @@ import {
followAArtist,
} from "@/api/artist";
import { playAList } from "@/utils/play";
import { isAccountLoggedIn } from "@/utils/auth";
import NProgress from "nprogress";
import ButtonTwoTone from "@/components/ButtonTwoTone.vue";
@ -193,6 +194,10 @@ export default {
playAList(trackIDs, this.artist.id, "artist", trackID);
},
followArtist() {
if (!isAccountLoggedIn()) {
this.showToast("此操作需要登录网易云账号");
return;
}
followAArtist({
id: this.artist.id,
t: this.artist.followed ? 0 : 1,

@ -44,7 +44,7 @@ export default {
this.loadMVs();
},
loadMVs() {
artistMv({ id: this.id, limit: 100, offset: this.mvs.length + 1 }).then(
artistMv({ id: this.id, limit: 100, offset: this.mvs.length }).then(
(data) => {
this.mvs.push(...data.mvs);
this.hasMore = data.hasMore;

Loading…
Cancel
Save