mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-17 18:38:58 +08:00
✨ feat: 添加定时关闭功能,支持按时间、歌曲数和播放列表结束自动停止播放
This commit is contained in:
@@ -87,6 +87,9 @@
|
||||
</div>
|
||||
</n-popover>
|
||||
</div>
|
||||
|
||||
<!-- 定时关闭按钮 -->
|
||||
<SleepTimerPopover mode="mobile" />
|
||||
</template>
|
||||
|
||||
<!-- Mini模式 - 在musicFullVisible为false时显示 -->
|
||||
@@ -152,6 +155,7 @@ import { useThrottleFn } from '@vueuse/core';
|
||||
import { computed, ref, watch } from 'vue';
|
||||
|
||||
import SongItem from '@/components/common/SongItem.vue';
|
||||
import SleepTimerPopover from '@/components/player/SleepTimerPopover.vue';
|
||||
import { allTime, artistList, nowTime, playMusic, sound, textColors } from '@/hooks/MusicHook';
|
||||
import MusicFull from '@/layout/components/MusicFull.vue';
|
||||
import { audioService } from '@/services/audioService';
|
||||
|
||||
Reference in New Issue
Block a user