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