Update template/module/journey_leg.pug
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f3381bf8f0
commit
1f3db375a4
@ -16,8 +16,25 @@ div(v-for="(e, idx) in journey.data.main", :key="idx")
|
||||
:value="journey.date_sel() + ' (' + journey.sel_day + ')'"
|
||||
)
|
||||
.row
|
||||
.col-9.col-ssm-12
|
||||
.map-container(:class="{ 'col-9': !drawer_active, 'col-7': drawer_active }")
|
||||
include map.pug
|
||||
.drawer-container(:class="{ 'col-3': drawer_active, 'col-0': !drawer_active }")
|
||||
.row.text-center
|
||||
.input.text-dark(style="width: 100%")
|
||||
input(
|
||||
type="search"
|
||||
@input="search_active"
|
||||
placeholder="Search ... "
|
||||
)
|
||||
ul
|
||||
li(
|
||||
v-for="item in query.res"
|
||||
:key="item.id"
|
||||
@mouseover="drawer_hover_item(item)"
|
||||
@mouseleave="drawer_hover_item()"
|
||||
@click="drawer_click_item(item)" )
|
||||
| {{ item.name }}
|
||||
|
||||
.col-3.col-ssm-12
|
||||
.row.text-center
|
||||
div
|
||||
@ -42,7 +59,7 @@ div(v-for="(e, idx) in journey.data.main", :key="idx")
|
||||
open-direction="bottom",
|
||||
:options="query.res",
|
||||
:searchable="true",
|
||||
:loading="query.act && query.type=='hotel'",
|
||||
:loading="query.type=='hotel'",
|
||||
:internal-search="false",
|
||||
:clear-on-select="false",
|
||||
:options-limit="50",
|
||||
@ -62,7 +79,7 @@ div(v-for="(e, idx) in journey.data.main", :key="idx")
|
||||
:multiple="true",
|
||||
:options="query.res",
|
||||
:searchable="true",
|
||||
:loading="query.act && query.type == 'restaurant'",
|
||||
:loading="query.type == 'restaurant'",
|
||||
:internal-search="false",
|
||||
:clear-on-select="false",
|
||||
:options-limit="50",
|
||||
@ -82,7 +99,7 @@ div(v-for="(e, idx) in journey.data.main", :key="idx")
|
||||
:multiple="true",
|
||||
:options="query.res",
|
||||
:searchable="true",
|
||||
:loading="query.act && query.type=='place'",
|
||||
:loading="query.type=='place'",
|
||||
:internal-search="false",
|
||||
:clear-on-select="false",
|
||||
:options-limit="50",
|
Loading…
x
Reference in New Issue
Block a user