mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 08:06:43 +08:00
fix searchbar size
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
// 搜索词
|
// 搜索词
|
||||||
const searchWord = ref<string>('')
|
const searchWord = ref(null)
|
||||||
|
|
||||||
// 搜索弹窗
|
// 搜索弹窗
|
||||||
const searchDialog = ref(false)
|
const searchDialog = ref(false)
|
||||||
@@ -76,16 +76,16 @@ function openSearchDialog() {
|
|||||||
</VDialog>
|
</VDialog>
|
||||||
</div>
|
</div>
|
||||||
<!-- 👉 Search Icon -->
|
<!-- 👉 Search Icon -->
|
||||||
<IconBtn class="d-lg-none" @click="openSearchDialog">
|
<IconBtn class="d-md-none" @click="openSearchDialog">
|
||||||
<VIcon icon="mdi-magnify" />
|
<VIcon icon="mdi-magnify" />
|
||||||
</IconBtn>
|
</IconBtn>
|
||||||
<!-- 👉 Search Textfield -->
|
<!-- 👉 Search Textfield -->
|
||||||
<span class="w-1/5">
|
<span class="w-full me-3">
|
||||||
<VCombobox
|
<VCombobox
|
||||||
key="search_navbar"
|
key="search_navbar"
|
||||||
v-model="searchWord"
|
v-model="searchWord"
|
||||||
:items="searchHintList"
|
:items="searchHintList"
|
||||||
class="d-none d-lg-block text-disabled search-box"
|
class="d-none d-md-block text-disabled search-box"
|
||||||
density="compact"
|
density="compact"
|
||||||
variant="solo"
|
variant="solo"
|
||||||
:prepend-inner-icon="searchType == 'person' ? 'mdi-account' : 'mdi-movie'"
|
:prepend-inner-icon="searchType == 'person' ? 'mdi-account' : 'mdi-movie'"
|
||||||
|
|||||||
Reference in New Issue
Block a user