From 26db6036a79290210a89494bd5998293998c5c5f Mon Sep 17 00:00:00 2001 From: Takagi <1103069291@qq.com> Date: Thu, 11 Apr 2024 15:50:10 +0800 Subject: [PATCH] refactor: post tag management page (#5593) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind improvement /area ui #### What this PR does / why we need it: 使用分页列表的形式重新展示文章标签页,移除原有的 grid 形式。 #### How to test it? 查看文章标签页面的分页列表功能显示是否正常。 完成增、删、改之后是否能够正常回显。 #### Which issue(s) this PR fixes: Fixes #5415 #### Does this PR introduce a user-facing change? ```release-note 使用分页列表的形式重构文章标签页 UI ``` --- .../modules/contents/posts/tags/TagList.vue | 263 ++++++++---------- .../posts/tags/components/TagListItem.vue | 98 +++++++ .../posts/tags/composables/use-post-tag.ts | 68 ++++- ui/src/locales/en.yaml | 2 + ui/src/locales/zh-CN.yaml | 2 + ui/src/locales/zh-TW.yaml | 2 + 6 files changed, 282 insertions(+), 153 deletions(-) create mode 100644 ui/console-src/modules/contents/posts/tags/components/TagListItem.vue diff --git a/ui/console-src/modules/contents/posts/tags/TagList.vue b/ui/console-src/modules/contents/posts/tags/TagList.vue index 3bc52c2ef9..3c04c2c8c0 100644 --- a/ui/console-src/modules/contents/posts/tags/TagList.vue +++ b/ui/console-src/modules/contents/posts/tags/TagList.vue @@ -1,63 +1,75 @@