mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
feat(web): third 'play next' action on SongCard
Button sits between Play and Add to queue. Icon is mdi:playlist-play, title '下一首播放'. Emits 'playNext' for callers to wire up. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
44b0b5c31c
commit
ad4fb5d3c7
1 file changed
+4
@@ -18,6 +18,9 @@
|
|||||||
<button class="action-btn" @click.stop="$emit('play')" title="播放">
|
<button class="action-btn" @click.stop="$emit('play')" title="播放">
|
||||||
<Icon icon="mdi:play" />
|
<Icon icon="mdi:play" />
|
||||||
</button>
|
</button>
|
||||||
|
<button class="action-btn" @click.stop="$emit('playNext')" title="下一首播放">
|
||||||
|
<Icon icon="mdi:playlist-play" />
|
||||||
|
</button>
|
||||||
<button class="action-btn" @click.stop="$emit('add')" title="添加到队列">
|
<button class="action-btn" @click.stop="$emit('add')" title="添加到队列">
|
||||||
<Icon icon="mdi:playlist-plus" />
|
<Icon icon="mdi:playlist-plus" />
|
||||||
</button>
|
</button>
|
||||||
@@ -38,6 +41,7 @@ defineProps<{
|
|||||||
|
|
||||||
defineEmits<{
|
defineEmits<{
|
||||||
play: [];
|
play: [];
|
||||||
|
playNext: [];
|
||||||
add: [];
|
add: [];
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user