diff --git a/src/App.vue b/src/App.vue index 7859cab..922b417 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,39 +8,37 @@ - - + diff --git a/src/components/MvRow.vue b/src/components/MvRow.vue index d855770..e80c9b5 100644 --- a/src/components/MvRow.vue +++ b/src/components/MvRow.vue @@ -51,7 +51,11 @@ export default { }, methods: { goToMv(id) { - this.$router.push({ path: "/mv/" + id }); + let query = {}; + if (this.$parent.player !== undefined) { + query = { autoplay: this.$parent.player.playing }; + } + this.$router.push({ path: "/mv/" + id, query }); }, getUrl(mv) { if (mv.cover !== undefined) return mv.cover; diff --git a/src/components/BottomBar.vue b/src/components/Player.vue similarity index 95% rename from src/components/BottomBar.vue rename to src/components/Player.vue index 8318acc..f0c62b7 100644 --- a/src/components/BottomBar.vue +++ b/src/components/Player.vue @@ -104,6 +104,7 @@