From b764d2a10e4325f08f1b65cd0aa445add79e499e Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Mon, 5 Feb 2024 15:40:57 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=8D=9A=E5=AE=A2?= =?UTF-8?q?=E6=96=87=E7=AB=A0=E5=88=97=E8=A1=A8=E9=A1=B5=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/src/client/components/Pagination.vue | 103 +++++++++++++++++++++ theme/src/client/components/PostList.vue | 70 +++----------- theme/src/client/composables/blog.ts | 50 +++++++++- 3 files changed, 163 insertions(+), 60 deletions(-) create mode 100644 theme/src/client/components/Pagination.vue diff --git a/theme/src/client/components/Pagination.vue b/theme/src/client/components/Pagination.vue new file mode 100644 index 00000000..cc76ca4e --- /dev/null +++ b/theme/src/client/components/Pagination.vue @@ -0,0 +1,103 @@ + + + + + diff --git a/theme/src/client/components/PostList.vue b/theme/src/client/components/PostList.vue index 63624459..d3b85fd3 100644 --- a/theme/src/client/components/PostList.vue +++ b/theme/src/client/components/PostList.vue @@ -1,12 +1,14 @@