mirror of https://github.com/halo-dev/halo-admin
refactor: pagination component usage
Signed-off-by: Ryan Wang <i@ryanc.cc>pull/588/head
parent
86be841e28
commit
ddbca25307
|
@ -685,10 +685,8 @@ onMounted(() => {
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="flex items-center justify-end bg-white">
|
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||||
<div class="flex flex-1 items-center justify-end">
|
<VPagination :page="1" :size="10" :total="20" />
|
||||||
<VPagination :page="1" :size="10" :total="20" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
|
|
@ -137,10 +137,8 @@ const checkAll = ref(false);
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="flex items-center justify-end bg-white">
|
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||||
<div class="flex flex-1 items-center justify-end">
|
<VPagination :page="1" :size="10" :total="20" />
|
||||||
<VPagination :page="1" :size="10" :total="20" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
|
|
@ -334,10 +334,8 @@ onMounted(() => {
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="flex items-center justify-end bg-white">
|
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||||
<div class="flex flex-1 items-center justify-end">
|
<VPagination :page="1" :size="10" :total="20" />
|
||||||
<VPagination :page="1" :size="10" :total="20" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
|
|
@ -400,10 +400,8 @@ onMounted(() => {
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="flex items-center justify-end bg-white">
|
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||||
<div class="flex flex-1 items-center justify-end">
|
<VPagination :page="1" :size="10" :total="20" />
|
||||||
<VPagination :page="1" :size="10" :total="20" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
|
|
@ -383,10 +383,8 @@ onMounted(handleFetchPlugins);
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="flex items-center justify-end bg-white">
|
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||||
<div class="flex flex-1 items-center justify-end">
|
<VPagination :page="1" :size="10" :total="20" />
|
||||||
<VPagination :page="1" :size="10" :total="20" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
|
|
@ -210,10 +210,8 @@ onMounted(() => {
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="flex items-center justify-end bg-white">
|
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||||
<div class="flex flex-1 items-center justify-end">
|
<VPagination :page="1" :size="10" :total="20" />
|
||||||
<VPagination :page="1" :size="10" :total="20" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
|
|
@ -273,14 +273,12 @@ onMounted(() => {
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="flex items-center justify-end bg-white">
|
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||||
<div class="flex flex-1 items-center justify-end">
|
<VPagination
|
||||||
<VPagination
|
v-model:page="pagination.page"
|
||||||
v-model:page="pagination.page"
|
v-model:size="pagination.size"
|
||||||
v-model:size="pagination.size"
|
:total="pagination.total"
|
||||||
:total="pagination.total"
|
/>
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
|
Loading…
Reference in New Issue