fix: remove tags from search cards, keep only in detail modal

- Removed card-tags display from search result cards
- Tags now only visible in scene detail modal
This commit is contained in:
2026-10-27 15:17:45 +08:00
parent ece3747a98
commit a58ac8165c

View File

@@ -154,9 +154,6 @@
<div v-if="r._isPerson" class="card-text card-person-stats">{{ r.text_content }}</div> <div v-if="r._isPerson" class="card-text card-person-stats">{{ r.text_content }}</div>
<div v-if="r.vlm_description_localized && !r._isPerson" class="card-text">{{ r.vlm_description_localized.slice(0, 120) }}</div> <div v-if="r.vlm_description_localized && !r._isPerson" class="card-text">{{ r.vlm_description_localized.slice(0, 120) }}</div>
<div v-else-if="r.text_content && !r._isPerson && !r.vlm_description_localized" class="card-text" v-html="highlightMatch(r.text_content.slice(0, 120), r.search_query)"></div> <div v-else-if="r.text_content && !r._isPerson && !r.vlm_description_localized" class="card-text" v-html="highlightMatch(r.text_content.slice(0, 120), r.search_query)"></div>
<div v-if="r.vlm_tags && r.vlm_tags.length" class="card-tags">
<span v-for="(tag, i) in r.vlm_tags.slice(0, 5)" :key="i" class="card-tag">{{ tag.local || tag.en }}</span>
</div>
<div class="card-meta"> <div class="card-meta">
<span v-if="!r.ocr_frames && r.start_frame" class="card-frame">F{{ r.start_frame }}–{{ r.end_frame }}</span> <span v-if="!r.ocr_frames && r.start_frame" class="card-frame">F{{ r.start_frame }}–{{ r.end_frame }}</span>
<span v-if="r.start_time != null" class="card-time">({{ formatTime(r.start_time) }}–{{ formatTime(r.end_time) }})</span> <span v-if="r.start_time != null" class="card-time">({{ formatTime(r.start_time) }}–{{ formatTime(r.end_time) }})</span>