diff --git a/src/tailwind.css b/src/tailwind.css index bd6213e..d0015d1 100644 --- a/src/tailwind.css +++ b/src/tailwind.css @@ -1,3 +1,9 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; + +@layer utilities { + .primary-color { + color: var(--n-color); + } +} \ No newline at end of file diff --git a/src/views/common/SongCtrl.vue b/src/views/common/SongCtrl.vue index fcd6b9e..fdf29ec 100644 --- a/src/views/common/SongCtrl.vue +++ b/src/views/common/SongCtrl.vue @@ -123,13 +123,13 @@ const play = async (id, im = true) => { }; const pause = (e) => { - console.log('点击暂停',e); + // console.log('点击暂停',e); audioEl.value.pause(); playing.value = false; }; const resume = async (e) => { - console.log('点击恢复播放',e); + // console.log('点击恢复播放',e); if (audioEl.value.readyState) { //如果暂停过了10分钟,需要再次载入歌曲 // console.log(Date.now() - lastPause); @@ -161,7 +161,7 @@ const favorite = () => { }; const removeCurrentSong = (e) => { - console.log('从播放列表中删除',e); + // console.log('从播放列表中删除',e); if(e?.pointerId!=-1) pubsub.publish("zp.removeCurrPlayingSong", { id: store.state.settings.songId, diff --git a/src/views/discover/Recommend.vue b/src/views/discover/Recommend.vue index f348410..58f3f69 100644 --- a/src/views/discover/Recommend.vue +++ b/src/views/discover/Recommend.vue @@ -87,9 +87,54 @@ + +