mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 08:46:40 +08:00
fix: show subtitle search in site resources
This commit is contained in:
@@ -561,33 +561,6 @@ onMounted(() => {
|
|||||||
{{ subscribe.type }}
|
{{ subscribe.type }}
|
||||||
</VListItemSubtitle>
|
</VListItemSubtitle>
|
||||||
</VListItem>
|
</VListItem>
|
||||||
|
|
||||||
<VListItem density="comfortable" link @click="searchSubtitle" class="search-result-item mx-2 my-1">
|
|
||||||
<template #prepend>
|
|
||||||
<div class="result-icon-wrapper">
|
|
||||||
<VIcon icon="mdi-subtitles-outline" size="small" color="medium-emphasis" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<VListItemTitle class="font-weight-medium text-body-2">{{
|
|
||||||
t('dialog.searchBar.searchSubtitlesInSites')
|
|
||||||
}}</VListItemTitle>
|
|
||||||
<VListItemSubtitle class="text-caption text-medium-emphasis">
|
|
||||||
{{ t('common.search') }} <span class="primary-text font-weight-medium">{{ searchWord }}</span>
|
|
||||||
{{ t('dialog.searchBar.relatedSubtitles') }}
|
|
||||||
</VListItemSubtitle>
|
|
||||||
<template #append>
|
|
||||||
<VBtn
|
|
||||||
v-if="hasManagePermission"
|
|
||||||
size="x-small"
|
|
||||||
variant="tonal"
|
|
||||||
color="primary"
|
|
||||||
rounded="pill"
|
|
||||||
@click.stop="openSiteDialog('subtitle')"
|
|
||||||
>
|
|
||||||
{{ t('dialog.searchBar.selectSites') }}
|
|
||||||
</VBtn>
|
|
||||||
</template>
|
|
||||||
</VListItem>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- 匹配的菜单/功能 -->
|
<!-- 匹配的菜单/功能 -->
|
||||||
@@ -679,6 +652,33 @@ onMounted(() => {
|
|||||||
</VBtn>
|
</VBtn>
|
||||||
</template>
|
</template>
|
||||||
</VListItem>
|
</VListItem>
|
||||||
|
|
||||||
|
<VListItem density="comfortable" link @click="searchSubtitle" class="search-result-item mx-2 my-1">
|
||||||
|
<template #prepend>
|
||||||
|
<div class="result-icon-wrapper">
|
||||||
|
<VIcon icon="mdi-subtitles-outline" size="small" color="medium-emphasis" />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<VListItemTitle class="font-weight-medium text-body-2">{{
|
||||||
|
t('dialog.searchBar.searchSubtitlesInSites')
|
||||||
|
}}</VListItemTitle>
|
||||||
|
<VListItemSubtitle class="text-caption text-medium-emphasis">
|
||||||
|
{{ t('common.search') }} <span class="primary-text font-weight-medium">{{ searchWord }}</span>
|
||||||
|
{{ t('dialog.searchBar.relatedSubtitles') }}
|
||||||
|
</VListItemSubtitle>
|
||||||
|
<template #append>
|
||||||
|
<VBtn
|
||||||
|
v-if="hasManagePermission"
|
||||||
|
size="x-small"
|
||||||
|
variant="tonal"
|
||||||
|
color="primary"
|
||||||
|
rounded="pill"
|
||||||
|
@click.stop="openSiteDialog('subtitle')"
|
||||||
|
>
|
||||||
|
{{ t('dialog.searchBar.selectSites') }}
|
||||||
|
</VBtn>
|
||||||
|
</template>
|
||||||
|
</VListItem>
|
||||||
</template>
|
</template>
|
||||||
</VList>
|
</VList>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user