wip
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir
2025-02-28 01:43:32 +01:00
parent 1960036980
commit 7af6d04dd1
6 changed files with 128 additions and 114 deletions

View File

@@ -1,10 +1,12 @@
.row.text-center
.row
.input.text-dark(style="width: 100%")
input(
type="search"
@input="search_active"
placeholder="Search ... "
style="width:85%;"
)
.spinner(v-if="query.load")
ul
li(
v-for="item in query.res"

View File

@@ -1,45 +1,45 @@
div
div
.row.text-center
div
label Hotel
multiselect#ajax(
v-model="journey.leg_get().hotel",
label="sname",
track-by="place_id",
placeholder="Type to search",
open-direction="bottom",
:options="query.res",
:searchable="true",
:loading="query.type=='hotel'",
:internal-search="false",
:clear-on-select="false",
:options-limit="50",
:limit="1",
:max-height="600",
@search-change="search_hotel"
)
.row.text-center
div
label Restoration
multiselect#ajax(
v-model="journey.leg_get().places.restaurants",
label="sname",
track-by="place_id",
placeholder="Type to search",
open-direction="bottom",
:multiple="true",
:options="query.res",
:searchable="true",
:loading="query.type == 'restaurant'",
:internal-search="false",
:clear-on-select="false",
:options-limit="50",
:limit="10",
:max-height="600",
@search-change="search_restaurant"
)
.row.text-center
//- .row.text-center
//- div
//- label Hotel
//- multiselect#ajax(
//- v-model="journey.leg_get().hotel",
//- label="sname",
//- track-by="place_id",
//- placeholder="Type to search",
//- open-direction="bottom",
//- :options="query.res",
//- :searchable="true",
//- :loading="query.type=='hotel'",
//- :internal-search="false",
//- :clear-on-select="false",
//- :options-limit="50",
//- :limit="1",
//- :max-height="600",
//- @search-change="search_hotel"
//- )
//- .row.text-center
//- div
//- label Restoration
//- multiselect#ajax(
//- v-model="journey.leg_get().places.restaurants",
//- label="sname",
//- track-by="place_id",
//- placeholder="Type to search",
//- open-direction="bottom",
//- :multiple="true",
//- :options="query.res",
//- :searchable="true",
//- :loading="query.type == 'restaurant'",
//- :internal-search="false",
//- :clear-on-select="false",
//- :options-limit="50",
//- :limit="10",
//- :max-height="600",
//- @search-change="search_restaurant"
//- )
//- .row.text-center
div
label Activities
multiselect#ajax(