From 40a1c2740d6b9e961d542a6c189b8179291dfb6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=8C=E1=85=B5=E1=86=AB=E1=84=80?=
=?UTF-8?q?=E1=85=B5?= <>
Date: Tue, 26 Nov 2024 15:08:22 +0900
Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=ED=8E=98?=
=?UTF-8?q?=EC=9D=B4=EC=A7=95=20=EC=B2=98=EB=A6=AC=20=EC=B6=94=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
nuxt/components/data/Pagenation.vue | 41 -------
nuxt/components/data/pagination.vue | 163 ++++++++++++++++++++++++++++
nuxt/types/data/pagination.ts | 9 +-
3 files changed, 168 insertions(+), 45 deletions(-)
delete mode 100644 nuxt/components/data/Pagenation.vue
create mode 100644 nuxt/components/data/pagination.vue
diff --git a/nuxt/components/data/Pagenation.vue b/nuxt/components/data/Pagenation.vue
deleted file mode 100644
index 7a5b687..0000000
--- a/nuxt/components/data/Pagenation.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
diff --git a/nuxt/components/data/pagination.vue b/nuxt/components/data/pagination.vue
new file mode 100644
index 0000000..e9df403
--- /dev/null
+++ b/nuxt/components/data/pagination.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+ 건/페이지 (총 {{ totalElements }}건)
+
+
+
+
+
+
+ movePage(pageNo)"
+ >{{ pageNo }}
+
+
+
+
+
+
+
+
diff --git a/nuxt/types/data/pagination.ts b/nuxt/types/data/pagination.ts
index 8f146f6..e28eb29 100644
--- a/nuxt/types/data/pagination.ts
+++ b/nuxt/types/data/pagination.ts
@@ -1,6 +1,7 @@
export type PaginationType = {
- totalItems: number;
- itemsPerPage: number;
- visiblePages: number;
- centerAlign?: boolean;
+ page: number;
+ size: number;
+ totalElements: number;
+ showPaginationCount: number;
};
+