forked from verdnatura/salix-front
feat: define Sticky Button
This commit is contained in:
parent
152bd5ff08
commit
defd26fe91
|
@ -66,6 +66,7 @@ const route = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const quasar = useQuasar();
|
const quasar = useQuasar();
|
||||||
|
|
||||||
|
const filterPanel = ref(null);
|
||||||
const DEFAULT_MODE = 'card';
|
const DEFAULT_MODE = 'card';
|
||||||
const TABLE_MODE = 'table';
|
const TABLE_MODE = 'table';
|
||||||
const mode = ref(DEFAULT_MODE);
|
const mode = ref(DEFAULT_MODE);
|
||||||
|
@ -191,7 +192,16 @@ defineExpose({
|
||||||
show-if-above
|
show-if-above
|
||||||
>
|
>
|
||||||
<QScrollArea class="fit">
|
<QScrollArea class="fit">
|
||||||
|
<QBtn
|
||||||
|
class="q-mt-lg q-mr-xs q-mb-lg"
|
||||||
|
round
|
||||||
|
color="primary"
|
||||||
|
style="position: fixed; z-index: 1; right: 0; bottom: 0"
|
||||||
|
icon="search"
|
||||||
|
@click="filterPanel.search()"
|
||||||
|
></QBtn>
|
||||||
<VnFilterPanel
|
<VnFilterPanel
|
||||||
|
ref="filterPanel"
|
||||||
:data-key="$attrs['data-key']"
|
:data-key="$attrs['data-key']"
|
||||||
:search-button="true"
|
:search-button="true"
|
||||||
v-model="params"
|
v-model="params"
|
||||||
|
|
Loading…
Reference in New Issue