实现播放队列的随机播放模式,包括: 1. 在 store 中添加 shuffleList 和 playMode 状态 2. 修改播放器组件以支持随机播放时的歌曲切换 3. 更新播放界面以显示随机播放队列 4. 添加随机播放按钮交互逻辑 当开启随机播放时,会生成随机播放列表并保持当前播放歌曲不变,关闭时可恢复原播放顺序。 |
||
---|---|---|
.vscode | ||
public | ||
src | ||
.gitignore | ||
biome.json | ||
index.html | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.