diff --git a/apps/music/frontend/src/views/EditView.vue b/apps/music/frontend/src/views/EditView.vue index 559a3f2..4995f54 100644 --- a/apps/music/frontend/src/views/EditView.vue +++ b/apps/music/frontend/src/views/EditView.vue @@ -99,15 +99,16 @@

添加附件

一次可选多个文件。video / audio / pdf / image 自动识别。 - 图片需要选 角色(吉他谱 / 简谱 / 五线谱),其它类型角色无效。 + 图片需要选 角色(和弦谱 / 简谱 / 五线谱),其它类型角色无效。

@@ -336,7 +337,13 @@ function kindLabel(k) { return ({ audio: '音频', video: '视频', pdf: 'PDF', image: '图片' })[k] || k } function roleLabel(r) { - return ({ chord: '吉他谱', numbered: '简谱', staff: '五线谱' })[r] || r + return ({ + chord: '和弦谱', + chord_letters: '和弦谱', + chord_functional: '简谱', + numbered: '简谱', + staff: '五线谱', + })[r] || r } function fmtSize(b) { if (b < 1024) return b + ' B' diff --git a/apps/music/frontend/src/views/PlayerView.vue b/apps/music/frontend/src/views/PlayerView.vue index e7d621e..025645d 100644 --- a/apps/music/frontend/src/views/PlayerView.vue +++ b/apps/music/frontend/src/views/PlayerView.vue @@ -146,8 +146,8 @@ class="auto-fetch" >

- 从 yopu.co 抓 弹唱谱(字母 G/Em/C) - 从 yopu.co 抓 功能谱(数字 1/4/5/6m) + 从 yopu.co 抓 和弦谱(字母 G/Em/C + 六线谱) + 从 yopu.co 抓 简谱(数字 1/4/5/6m 级数)

正在抓取,约 30-60s… @@ -161,15 +161,15 @@ @click="startChordFetch(modeForTab(activeTab))" > - 🎸 自动抓取{{ activeTab === 'chord' ? '弹唱谱' : '功能谱' }} + 🎸 自动抓取{{ activeTab === 'chord' ? '和弦谱' : '简谱' }}

- -
+ +
a.kind === 'image' && set.has(a.role), ) @@ -542,10 +543,8 @@ const tabs = computed(() => { if (!selected.value) return [] const list = [] if (selected.value.lyrics) list.push({ key: 'lyrics', label: '歌词', count: 0 }) - list.push({ key: 'chord', label: '吉他谱', count: chordTabAttachments('chord').length }) - list.push({ key: 'functional', label: '功能谱', count: chordTabAttachments('functional').length }) - const num = roleAttachments('numbered').length - if (num) list.push({ key: 'numbered', label: '简谱', count: num }) + list.push({ key: 'chord', label: '和弦谱', count: chordTabAttachments('chord').length }) + list.push({ key: 'functional', label: '简谱', count: chordTabAttachments('functional').length }) const staff = roleAttachments('staff').length if (staff) list.push({ key: 'staff', label: '五线谱', count: staff }) if (pdfAttachments.value.length) list.push({ key: 'pdf', label: '乐谱 PDF', count: pdfAttachments.value.length })