mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
feat: 点击播放条左侧歌曲封面/信息打开歌词页面
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
d8c0911593
commit
90019e7424
1 file changed
+7
-2
@@ -24,13 +24,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="player-left">
|
||||
<RouterLink to="/lyrics" class="player-left">
|
||||
<CoverArt :url="currentSong.coverUrl" :size="40" />
|
||||
<div class="song-info">
|
||||
<div class="song-name">{{ currentSong.name }}</div>
|
||||
<div class="song-artist">{{ currentSong.artist }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</RouterLink>
|
||||
|
||||
<div class="player-center">
|
||||
<span class="time-display time-current">{{ formatTime(currentElapsed) }}</span>
|
||||
@@ -277,6 +277,11 @@ function cycleMode() {
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
width: 240px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
transition: opacity var(--transition-fast);
|
||||
&:hover { opacity: 0.8; }
|
||||
}
|
||||
|
||||
.song-info {
|
||||
|
||||
Reference in new issue
Block a user