新增 ScrollingLyrics.vue 组件实现歌词滚动显示功能,包括: 1. 解析 LRC 格式歌词文本 2. 根据当前播放时间高亮对应歌词行 3. 支持歌词和间隔时间的处理 同时在 vite-env.d.ts 中新增 LyricsLine 和 GapLine 接口定义,并在 Playroom.vue 中集成歌词组件 |
||
---|---|---|
.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.