-
-
-
{`L ${leftMeta.value || '-'} R ${rightMeta.value || '-'}`}
-
- L: {leftPreviewPath.value || t('tools.fancy.none')}
- R: {rightPreviewPath.value || t('tools.fancy.none')}
-
-
;
- };
-
- const renderIntro = () =>
-
{t('tools.fancy.introHint')}
- {!hasMusic.value &&
-
{t('tools.fancy.pickMusicFirst')}
}
-
-
-
{t('tools.fancy.preview')}
- {renderIntroPreview()}
-
- {!!introAudioSrc.value &&
-
;
-
- const renderCamouflage = () =>
-
{t('tools.fancy.camouflageHint')}
- {!hasMusic.value &&
-
{t('tools.fancy.pickMusicFirst')}
}
-
-
-
{t('tools.fancy.preview')}
- {camouflage.value.hasJacket
- ?
-

-
- :
{t('tools.fancy.noPreview')}
}
- {!!camouflage.value.jacketPath &&
-
- {t('tools.fancy.path')}: {camouflage.value.jacketPath}
-
}
-
-
-
-
{t('tools.fancy.camoName')}
-
-
-
-
{t('tools.fancy.camoArtist')}
-
-
-
-
{t('tools.fancy.camoNoteDesigner')}
-
-
-
- {t('tools.fancy.camoHideNoteDesigner')}
-
-
-
{t('tools.fancy.camoUnlockScore')}
-
- {t('tools.fancy.camoUnlockScoreHint')}
-
-
-
-
-
-
-
-
-
-
{t('tools.fancy.existing')} ({camouflageEntries.value.length})
-
- {camouflageEntries.value.length === 0
- ?
{t('tools.fancy.none')}
- : camouflageEntries.value.map(entry => {
- const realName = songName(entry.id!);
- const camoName = entry.name ?? '';
- // 标题优先显示真实曲名;伪装名相同就不重复显示
- const title = realName || camoName;
- const desc = [
- realName && camoName && camoName !== realName ? camoName : '',
- entry.artist ?? '',
- ].filter(Boolean).join(' / ');
- return entryRow(entry.id!, title, desc, removeCamouflage);
- })}
-
-
-
;
-
- const trigger = () => {
- show.value = true;
- };
-
- expose({ trigger });
-
- return () => (
-