实现三种循环播放模式:关闭、全部循环和单曲循环。修改播放逻辑以支持不同模式: - 关闭模式:播放到队列末尾时停止 - 全部循环:播放到队列末尾时从头开始 - 单曲循环:当前歌曲播放结束后自动重播 新增单曲循环图标组件,并优化播放控制按钮的UI交互。 |
||
---|---|---|
.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.