fix playlist img to https

This commit is contained in:
tatoMa 2020-03-16 10:45:48 +11:00
parent 0b8bceccd3
commit d8d035a177
3 changed files with 5 additions and 10 deletions

View file

@ -16,6 +16,7 @@ https://github.com/Binaryify/NeteaseCloudMusicApi
- [ ] large image adaptive loading
- [ ] download music function
- [ ] music progress slider click and jump to time function
- [x] fix Chrome security policy don't allow instantiate AudioContext before load audio source
- [x] fix music url request 403 error (by adding referrer head into index page)
- [x] reduce the bundle size and loading size(to homepage 440k total)
- [x] material icon tree-shaking (Reduce 300K after build the bundle)

View file

@ -209,15 +209,7 @@
@switchTab = "switchTab"
@toggleLayout = "toggleLayout"
/>
<!-- <WaveEffect
v-if="!paused && breakpoint"
:layout = "layout"
></WaveEffect> -->
<!-- <WaveEffectLarge
v-if="!paused && !breakpoint"
:layout = "layout"
></WaveEffectLarge> -->
<!-- </v-col> -->
</v-footer>
</template>

View file

@ -16,7 +16,7 @@
<v-img
class="white--text align-end"
height="35vh"
:src="getPlayListById.coverImgUrl"
:src="httpToHttps(getPlayListById.coverImgUrl)"
>
</v-img>
<v-card-title>{{getPlayListById.name}}</v-card-title>
@ -64,6 +64,7 @@
import loading from '../components/Loading'
import MusicItem from '../components/MusicItem'
import { mapGetters } from 'vuex'
import { httpToHttps } from '../utils/helper'
import { mdiStar, mdiPlayCircleOutline } from '@mdi/js'
export default {
name: 'PlayListDetails',
@ -74,6 +75,7 @@ export default {
data () {
return {
// item: -1,
httpToHttps,
mdiStar,
mdiPlayCircleOutline,
id: '',