mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 05:38:04 +00:00
feat: add see more mv button in artist page
This commit is contained in:
parent
453a378d42
commit
109098c1eb
6 changed files with 136 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue