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 quasar = useQuasar();
|
||||
|
||||
const filterPanel = ref(null);
|
||||
const DEFAULT_MODE = 'card';
|
||||
const TABLE_MODE = 'table';
|
||||
const mode = ref(DEFAULT_MODE);
|
||||
|
@ -191,7 +192,16 @@ defineExpose({
|
|||
show-if-above
|
||||
>
|
||||
<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
|
||||
ref="filterPanel"
|
||||
:data-key="$attrs['data-key']"
|
||||
:search-button="true"
|
||||
v-model="params"
|
||||
|
|
Loading…
Reference in New Issue