feat: add see more mv button in artist page

This commit is contained in:
qier222 2020-10-29 21:13:42 +08:00
parent 453a378d42
commit 109098c1eb
6 changed files with 136 additions and 10 deletions

View file

@ -51,9 +51,11 @@ export default {
this.$router.push({ path: "/mv/" + id, query });
},
getUrl(mv) {
if (mv.cover !== undefined) return mv.cover;
if (mv.imgurl16v9 !== undefined) return mv.imgurl16v9;
if (mv.coverUrl !== undefined) return mv.coverUrl;
if (mv.cover !== undefined) return mv.cover.replace(/^http:/, "https:");
if (mv.imgurl16v9 !== undefined)
return mv.imgurl16v9.replace(/^http:/, "https:");
if (mv.coverUrl !== undefined)
return mv.coverUrl.replace(/^http:/, "https:");
},
getID(mv) {
if (mv.id !== undefined) return mv.id;