diff --git a/src/App.vue b/src/App.vue index 60a9107..e1ed604 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,11 +11,14 @@ - + - + + + + + + + + + + + + + diff --git a/src/components/Player/index.vue b/src/components/Player/index.vue index b21ff06..f55182f 100644 --- a/src/components/Player/index.vue +++ b/src/components/Player/index.vue @@ -48,34 +48,14 @@ - - - - - - + @toggleLayout="toggleLayout" + :paused="paused" + /> - - - - - -
- {{ currentTimeAndDurationLabel }} -
-
+ + + + + + +
+ {{ currentTimeAndDurationLabel }} +
+
+
+ /> +
- + @@ -144,7 +128,7 @@ - + + /> @@ -165,18 +149,16 @@ import { mdiEjectOutline, mdiChevronDown } from '@mdi/js' import ControlButtons from './ControlButtons' import MusicInfo from './MusicInfo' +import CoverImage from './CoverImage' import PlayerBottomNav from './BottomNav' -// import TabPlaylist from './TabPlaylist' -// import TabDownload from './TabDownload' -// import TabMessage from './TabMessage' -// import TabLyric from './TabLyric' export default { components: { ControlButtons, MusicInfo, PlayerBottomNav, + CoverImage, TabPlaylist: () => import(/* webpackPrefetch: true */ './TabPlaylist'), TabDownload: () => import(/* webpackPrefetch: true */ './TabDownload'), TabMessage: () => import(/* webpackPrefetch: true */ './TabMessage'), @@ -326,23 +308,6 @@ export default { .full-height-player{ height:calc(100vh - 112px); } -.cover-round{ - // position: relative; - border-radius: 50%; -} -.cover-disk::after{ - content: ''; - position: absolute; - border-radius: 50%; - top: -2%; - left: -2%; - width: 104%; - height: 104%; - border: 20px solid black; -} -.cover-rotation{ - animation: rotation 15s infinite linear; -} .eject-button{ position: absolute; top: -17px; @@ -351,14 +316,5 @@ export default { .scrollY{ overflow:auto; height:calc(100vh - 160px); - -} -@keyframes rotation { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } } diff --git a/src/store/index.js b/src/store/index.js index 598d5b5..ac82005 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -47,7 +47,7 @@ export default new Vuex.Store({ setPlayListByTagName (state, tagName) { state.playLists = [] getPlayListByTagName(tagName).then(res => { - console.log(res) + // console.log(res) state.playLists = res }) }, diff --git a/src/views/TopPlayLists.vue b/src/views/TopPlayLists.vue index e916bcc..f9a3f85 100644 --- a/src/views/TopPlayLists.vue +++ b/src/views/TopPlayLists.vue @@ -10,7 +10,9 @@ - + + + @@ -18,7 +20,7 @@ - + + @@ -50,7 +53,7 @@ - + @@ -73,11 +76,8 @@ export default { }) }, mounted () { - console.log(this.$route) - const query = this.$route.query.tag if (query) { - console.log('tag search', query) this.$store.commit('setPlayListByTagName', query) } else { this.$store.commit('setPlayLists')