fix(mobile): 修复移动端 TMDB 搜索图标不可见及弹窗交互问题 (#576)

This commit is contained in:
zangse
2026-07-23 06:05:36 +08:00
committed by GitHub
parent b4be18e71f
commit 80519e6839
6 changed files with 25 additions and 12 deletions
@@ -280,6 +280,7 @@ onMounted(() => {
<VCol cols="12">
<VTextField
v-model="mediaId"
class="app-responsive-input--keep-append-action"
:label="mediaIdLabel"
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
:rules="[numberValidator]"
@@ -232,6 +232,7 @@ onMounted(() => {
<VCol cols="12">
<VTextField
v-model="mediaId"
class="app-responsive-input--keep-append-action"
:label="mediaIdLabel"
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
:rules="[numberValidator]"
@@ -1451,6 +1451,7 @@ onUnmounted(() => {
<VCol cols="12" md="4">
<VTextField
v-model="transferForm.media_id"
class="app-responsive-input--keep-append-action"
:disabled="transferForm.type_name === ''"
:label="mediaIdLabel"
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
+1
View File
@@ -147,6 +147,7 @@ watch(mediaSource, () => {
<VCol cols="12" md="4">
<VTextField
v-model="mediaId"
class="app-responsive-input--keep-append-action"
:disabled="mediaType === ''"
:label="mediaIdLabel"
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
+15 -12
View File
@@ -105,29 +105,32 @@ onMounted(() => {
<template>
<VCard class="mx-auto" width="100%">
<VToolbar flat class="p-0">
<VCardTitle class="d-flex align-center justify-space-between">
<span>{{ t('dialog.reorganize.mediaSearchInput') }}</span>
<VDialogCloseBtn
inner-class="static"
@click="
() => {
emit('close')
}
"
/>
</VCardTitle>
<VCardText class="pt-0">
<VTextField
ref="inputKeyword"
v-model="keyword"
:label="t('dialog.reorganize.mediaSearchInput')"
:mobile-layout="false"
single-line
:placeholder="t('dialog.reorganize.mediaSearchPlaceholder')"
variant="solo"
prepend-inner-icon="mdi-magnify"
append-inner-icon="mdi-magnify"
flat
class="mx-1"
:loading="loading"
@click:append-inner="searchMedias"
@keydown.enter="searchMedias"
/>
</VToolbar>
<VDialogCloseBtn
@click="
() => {
emit('close')
}
"
/>
</VCardText>
<VDivider />
<VList v-if="items.length > 0" lines="three">
<template v-for="(item, i) in items" :key="i">