From e924fcca2be6dfb54e40cae881bd00ab15710eb1 Mon Sep 17 00:00:00 2001 From: youzi <2410633923@qq.com> Date: Thu, 1 Jan 2026 16:43:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=8D=9A=E5=AE=A2?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E5=92=8C=E5=88=86=E9=A1=B5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为博客页面添加分类筛选功能,支持按分类查看文章 实现分页功能,优化文章列表展示 调整页面布局和样式,增加交互效果 --- components.d.ts | 1 + index.html | 4 +- src/Index.vue | 1 + src/api/blog/index.ts | 10 ++++- src/components/menuH.vue | 8 ++-- src/icon/arti.svg | 1 + src/views/blog/[bid].vue | 1 - src/views/blog/index.vue | 84 +++++++++++++++++++++++++++++++++++----- 8 files changed, 91 insertions(+), 19 deletions(-) create mode 100644 src/icon/arti.svg diff --git a/components.d.ts b/components.d.ts index 2943af7..4623e93 100644 --- a/components.d.ts +++ b/components.d.ts @@ -37,6 +37,7 @@ declare module 'vue' { NMessageProvider: typeof import('naive-ui')['NMessageProvider'] NModal: typeof import('naive-ui')['NModal'] NModalProvider: typeof import('naive-ui')['NModalProvider'] + NPagination: typeof import('naive-ui')['NPagination'] NScrollbar: typeof import('naive-ui')['NScrollbar'] NSelect: typeof import('naive-ui')['NSelect'] NTabPane: typeof import('naive-ui')['NTabPane'] diff --git a/index.html b/index.html index d8a592c..7438810 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - + 柚子の网站 @@ -17,8 +17,6 @@ \ No newline at end of file