mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-08 01:06:41 +08:00
fix(mobile): 修复移动端 TMDB 搜索图标不可见及弹窗交互问题 (#576)
This commit is contained in:
@@ -280,6 +280,7 @@ onMounted(() => {
|
|||||||
<VCol cols="12">
|
<VCol cols="12">
|
||||||
<VTextField
|
<VTextField
|
||||||
v-model="mediaId"
|
v-model="mediaId"
|
||||||
|
class="app-responsive-input--keep-append-action"
|
||||||
:label="mediaIdLabel"
|
:label="mediaIdLabel"
|
||||||
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
|
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
|
||||||
:rules="[numberValidator]"
|
:rules="[numberValidator]"
|
||||||
|
|||||||
@@ -232,6 +232,7 @@ onMounted(() => {
|
|||||||
<VCol cols="12">
|
<VCol cols="12">
|
||||||
<VTextField
|
<VTextField
|
||||||
v-model="mediaId"
|
v-model="mediaId"
|
||||||
|
class="app-responsive-input--keep-append-action"
|
||||||
:label="mediaIdLabel"
|
:label="mediaIdLabel"
|
||||||
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
|
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
|
||||||
:rules="[numberValidator]"
|
:rules="[numberValidator]"
|
||||||
|
|||||||
@@ -1451,6 +1451,7 @@ onUnmounted(() => {
|
|||||||
<VCol cols="12" md="4">
|
<VCol cols="12" md="4">
|
||||||
<VTextField
|
<VTextField
|
||||||
v-model="transferForm.media_id"
|
v-model="transferForm.media_id"
|
||||||
|
class="app-responsive-input--keep-append-action"
|
||||||
:disabled="transferForm.type_name === ''"
|
:disabled="transferForm.type_name === ''"
|
||||||
:label="mediaIdLabel"
|
:label="mediaIdLabel"
|
||||||
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
|
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
|
||||||
|
|||||||
@@ -147,6 +147,7 @@ watch(mediaSource, () => {
|
|||||||
<VCol cols="12" md="4">
|
<VCol cols="12" md="4">
|
||||||
<VTextField
|
<VTextField
|
||||||
v-model="mediaId"
|
v-model="mediaId"
|
||||||
|
class="app-responsive-input--keep-append-action"
|
||||||
:disabled="mediaType === ''"
|
:disabled="mediaType === ''"
|
||||||
:label="mediaIdLabel"
|
:label="mediaIdLabel"
|
||||||
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
|
:placeholder="t('dialog.reorganize.mediaIdPlaceholder')"
|
||||||
|
|||||||
@@ -105,29 +105,32 @@ onMounted(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VCard class="mx-auto" width="100%">
|
<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
|
<VTextField
|
||||||
ref="inputKeyword"
|
ref="inputKeyword"
|
||||||
v-model="keyword"
|
v-model="keyword"
|
||||||
:label="t('dialog.reorganize.mediaSearchInput')"
|
:mobile-layout="false"
|
||||||
single-line
|
single-line
|
||||||
:placeholder="t('dialog.reorganize.mediaSearchPlaceholder')"
|
:placeholder="t('dialog.reorganize.mediaSearchPlaceholder')"
|
||||||
variant="solo"
|
variant="solo"
|
||||||
prepend-inner-icon="mdi-magnify"
|
append-inner-icon="mdi-magnify"
|
||||||
flat
|
flat
|
||||||
class="mx-1"
|
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
@click:append-inner="searchMedias"
|
@click:append-inner="searchMedias"
|
||||||
@keydown.enter="searchMedias"
|
@keydown.enter="searchMedias"
|
||||||
/>
|
/>
|
||||||
</VToolbar>
|
</VCardText>
|
||||||
<VDialogCloseBtn
|
|
||||||
@click="
|
|
||||||
() => {
|
|
||||||
emit('close')
|
|
||||||
}
|
|
||||||
"
|
|
||||||
/>
|
|
||||||
<VDivider />
|
<VDivider />
|
||||||
<VList v-if="items.length > 0" lines="three">
|
<VList v-if="items.length > 0" lines="three">
|
||||||
<template v-for="(item, i) in items" :key="i">
|
<template v-for="(item, i) in items" :key="i">
|
||||||
|
|||||||
@@ -558,6 +558,12 @@ html[data-theme-radius='extra'] {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 少数字段的内嵌图标承担了唯一的交互入口(如按名称搜索媒体编号),
|
||||||
|
// 不是纯装饰,移动端也需要保留可点击。
|
||||||
|
.app-responsive-input--keep-append-action .app-responsive-input__native .v-field__append-inner {
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
.app-responsive-input--field .v-field,
|
.app-responsive-input--field .v-field,
|
||||||
.app-responsive-input--multiline .v-field {
|
.app-responsive-input--multiline .v-field {
|
||||||
border-radius: var(--app-control-radius) !important;
|
border-radius: var(--app-control-radius) !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user