添加vue3-lazyload组件
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
>
|
||||
<div class="c2-list">
|
||||
<div class="play-btn">
|
||||
<img :src="song.album.blurPicUrl" />
|
||||
<img v-lazy="song.album.blurPicUrl" />
|
||||
<n-button
|
||||
text
|
||||
class="start-play-bg"
|
||||
@@ -244,12 +244,12 @@ getBanner(0)
|
||||
|
||||
//#region 最新音乐
|
||||
let topSongs = ref([]);
|
||||
// topSongs.value = store.getters.cache('topSongs')
|
||||
if(store.getters.cache('topSongs'))
|
||||
{
|
||||
topSongs.value = store.getters.cache('topSongs')
|
||||
console.log('载入Caches');
|
||||
}
|
||||
topSongs.value = store.getters.cache('topSongs')
|
||||
// if(store.getters.cache('topSongs'))
|
||||
// {
|
||||
// topSongs.value = store.getters.cache('topSongs')
|
||||
// console.log('载入Caches');
|
||||
// }
|
||||
//最新音乐
|
||||
getTopSong()
|
||||
.then((res) => {
|
||||
@@ -404,6 +404,7 @@ getPersonalizedMV()
|
||||
|
||||
img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user