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,11 +685,9 @@ onMounted(() => {
|
|||
</ul>
|
||||
|
||||
<template #footer>
|
||||
<div class="flex items-center justify-end bg-white">
|
||||
<div class="flex flex-1 items-center justify-end">
|
||||
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||
<VPagination :page="1" :size="10" :total="20" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</VCard>
|
||||
</div>
|
||||
|
|
|
@ -137,11 +137,9 @@ const checkAll = ref(false);
|
|||
</ul>
|
||||
|
||||
<template #footer>
|
||||
<div class="flex items-center justify-end bg-white">
|
||||
<div class="flex flex-1 items-center justify-end">
|
||||
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||
<VPagination :page="1" :size="10" :total="20" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</VCard>
|
||||
</div>
|
||||
|
|
|
@ -334,11 +334,9 @@ onMounted(() => {
|
|||
</ul>
|
||||
|
||||
<template #footer>
|
||||
<div class="flex items-center justify-end bg-white">
|
||||
<div class="flex flex-1 items-center justify-end">
|
||||
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||
<VPagination :page="1" :size="10" :total="20" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</VCard>
|
||||
</div>
|
||||
|
|
|
@ -400,11 +400,9 @@ onMounted(() => {
|
|||
</ul>
|
||||
|
||||
<template #footer>
|
||||
<div class="flex items-center justify-end bg-white">
|
||||
<div class="flex flex-1 items-center justify-end">
|
||||
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||
<VPagination :page="1" :size="10" :total="20" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</VCard>
|
||||
</div>
|
||||
|
|
|
@ -383,11 +383,9 @@ onMounted(handleFetchPlugins);
|
|||
</ul>
|
||||
|
||||
<template #footer>
|
||||
<div class="flex items-center justify-end bg-white">
|
||||
<div class="flex flex-1 items-center justify-end">
|
||||
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||
<VPagination :page="1" :size="10" :total="20" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</VCard>
|
||||
</div>
|
||||
|
|
|
@ -210,11 +210,9 @@ onMounted(() => {
|
|||
</ul>
|
||||
|
||||
<template #footer>
|
||||
<div class="flex items-center justify-end bg-white">
|
||||
<div class="flex flex-1 items-center justify-end">
|
||||
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||
<VPagination :page="1" :size="10" :total="20" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</VCard>
|
||||
</div>
|
||||
|
|
|
@ -273,15 +273,13 @@ onMounted(() => {
|
|||
</ul>
|
||||
|
||||
<template #footer>
|
||||
<div class="flex items-center justify-end bg-white">
|
||||
<div class="flex flex-1 items-center justify-end">
|
||||
<div class="bg-white sm:flex sm:items-center sm:justify-end">
|
||||
<VPagination
|
||||
v-model:page="pagination.page"
|
||||
v-model:size="pagination.size"
|
||||
:total="pagination.total"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</VCard>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue