私人影库和小雅颜色区分

This commit is contained in:
mtvpls
2026-01-11 16:59:46 +08:00
parent 8a5114ef53
commit 6a9a208f8c
3 changed files with 5 additions and 3 deletions

View File

@@ -6941,7 +6941,9 @@ function PlayPageClient() {
<span>{doubanYear || detail?.year || videoYear}</span>
)}
{detail?.source_name && (
<span className='border border-gray-500/60 px-2 py-[1px] rounded'>
<span className={`border px-2 py-[1px] rounded ${
detail.source === 'xiaoya' ? 'border-blue-500' : detail.source === 'openlist' || detail.source === 'emby' || detail.source?.startsWith('emby_') ? 'border-yellow-500' : 'border-gray-500/60'
}`}>
{detail.source_name}
</span>
)}