Update search index file.

This commit is contained in:
mustafa-rezae 2025-05-08 18:12:34 +03:30
parent 9fd2e58067
commit b6a742d177

View File

@ -567,14 +567,19 @@ const SearchList = defineAsyncComponent(
class="search-box-container flex justify-center" class="search-box-container flex justify-center"
:class="[route.name == 'hadithaSearch' ? 'py-6' : 'pb-16']" :class="[route.name == 'hadithaSearch' ? 'py-6' : 'pb-16']"
> >
<div class="haditha-search-root-wrapper search-page flex flex-col md:flex-row"> <div
class="haditha-search-root-wrapper search-page flex flex-col md:flex-row"
>
<div <div
class="haditha-search-root grow-1" class="haditha-search-root grow-1"
:class="{ 'no-backdrop': route.query.f_aik?.length }" :class="{ 'no-backdrop': route.query.f_aik?.length }"
> >
<!-- وقتی کاربر در صفحه نمایش بر روی مشابه کلیک میکند و به صفحه جستجو وارد میشود. --> <!-- وقتی کاربر در صفحه نمایش بر روی مشابه کلیک میکند و به صفحه جستجو وارد میشود. -->
<!-- v-if="route.query.f_aik?.length" --> <!-- v-if="route.query.f_aik?.length" -->
<div v-if="route.query.f_aik?.length" class="prev-search-item flex items-center"> <div
v-if="route.query.f_aik?.length"
class="prev-search-item flex items-center"
>
<!-- <span class="total">۴۷ مشابه </span> --> <!-- <span class="total">۴۷ مشابه </span> -->
<span class="text me-auto"> <span class="text me-auto">
{{ route.query.f_aik }} {{ route.query.f_aik }}
@ -621,19 +626,25 @@ const SearchList = defineAsyncComponent(
</div> </div>
<!-- 'similar-mode': route.query.f_aik?.length, --> <!-- 'similar-mode': route.query.f_aik?.length, -->
<UButton <UButton
class="my-trailing-button" v-if="searchTerm.length"
:class="{ class="my-trailing-button close-mode"
'close-mode': searchTerm.length, @click.prevent="resetForm"
}" icon="i-lucide-x"
@click.prevent="onSearchButtonClick"
:icon="searchButtonIcon"
> >
<!-- <UIcon name="i-lucide-search" /> --> <!-- <UIcon name="i-lucide-search" /> -->
</UButton> </UButton>
<UButton
v-else
class="my-trailing-button"
icon="i-haditha-search"
>
<!-- @click.prevent="onSearchButtonClick" -->
<!-- <UIcon name="i-lucide-search" /> -->
</UButton>
<!-- </client-only> --> <!-- </client-only> -->
</div> </div>
<div <div
class="search-filter flex items-center my-3 justify-between" class="search-filter flex items-center justify-between"
v-if="loadedItems" v-if="loadedItems"
> >
<div class="flex items-center space-x-2"> <div class="flex items-center space-x-2">
@ -1008,7 +1019,7 @@ const SearchList = defineAsyncComponent(
.haditha-search-root-wrapper { .haditha-search-root-wrapper {
max-width: 1200px; max-width: 1200px;
width: 100%; width: 100%;
margin: 0 1em; /* margin: 0 1em; */
.haditha-search-root { .haditha-search-root {
position: relative; position: relative;