From ffdae36f0dddb44c5392ef4d7851da9b75b28a76 Mon Sep 17 00:00:00 2001 From: liulei Date: Wed, 4 May 2022 12:09:54 +0800 Subject: [PATCH] dashboard: all transaction support pagination --- dashboard/src/components.d.ts | 1 + .../GlobalTransactions/AllTransactions.vue | 61 ++++++++++++++----- 2 files changed, 46 insertions(+), 16 deletions(-) diff --git a/dashboard/src/components.d.ts b/dashboard/src/components.d.ts index a9be5ca..1c6807f 100644 --- a/dashboard/src/components.d.ts +++ b/dashboard/src/components.d.ts @@ -7,6 +7,7 @@ declare module '@vue/runtime-core' { export interface GlobalComponents { ABreadcrumb: typeof import('ant-design-vue/es')['Breadcrumb'] ABreadcrumbItem: typeof import('ant-design-vue/es')['BreadcrumbItem'] + AButton: typeof import('ant-design-vue/es')['Button'] ALayout: typeof import('ant-design-vue/es')['Layout'] ALayoutContent: typeof import('ant-design-vue/es')['LayoutContent'] ALayoutHeader: typeof import('ant-design-vue/es')['LayoutHeader'] diff --git a/dashboard/src/views/Dashboard/GlobalTransactions/AllTransactions.vue b/dashboard/src/views/Dashboard/GlobalTransactions/AllTransactions.vue index 3f63328..7f70c4d 100644 --- a/dashboard/src/views/Dashboard/GlobalTransactions/AllTransactions.vue +++ b/dashboard/src/views/Dashboard/GlobalTransactions/AllTransactions.vue @@ -1,6 +1,6 @@ @@ -101,4 +124,10 @@ const handleTableChange = (pag: {current:number, pageSize: number}) => { ::v-deep .ant-pagination-item { display: none; } +.pager .ant-btn-text { + font-weight: 500; +}1 +.pager .ant-btn { + padding: 6px; +}