mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-07 12:17:32 +08:00
feat: add stitle and stype, optimize prefer choose
This commit is contained in:
@@ -201,7 +201,15 @@ function SearchPageClient() {
|
||||
? aggregatedResults.map(([mapKey, group]) => {
|
||||
return (
|
||||
<div key={`agg-${mapKey}`} className='w-full'>
|
||||
<VideoCard from='search' items={group} />
|
||||
<VideoCard
|
||||
from='search'
|
||||
items={group}
|
||||
query={
|
||||
searchQuery.trim() !== group[0].title
|
||||
? searchQuery.trim()
|
||||
: ''
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
})
|
||||
@@ -218,6 +226,11 @@ function SearchPageClient() {
|
||||
source={item.source}
|
||||
source_name={item.source_name}
|
||||
douban_id={item.douban_id?.toString()}
|
||||
query={
|
||||
searchQuery.trim() !== item.title
|
||||
? searchQuery.trim()
|
||||
: ''
|
||||
}
|
||||
from='search'
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user