From e23faea2ba398d0f2a95ec7aec164fb78abd9e3e Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sat, 15 Jun 2024 13:32:11 +0800 Subject: [PATCH] chore: tweak --- .../components/Blog/{Blog.vue => VPBlog.vue} | 40 +++++++++---------- .../Blog/{Archives.vue => VPBlogArchives.vue} | 12 +++--- .../Blog/{BlogAside.vue => VPBlogAside.vue} | 14 +++---- .../{BlogExtract.vue => VPBlogExtract.vue} | 10 ++--- .../Blog/{BlogNav.vue => VPBlogNav.vue} | 14 +++---- .../{BlogProfile.vue => VPBlogProfile.vue} | 40 +++++++++---------- .../Blog/{Tags.vue => VPBlogTags.vue} | 14 +++---- .../Blog/{Pagination.vue => VPPagination.vue} | 8 ++-- .../Blog/{PostItem.vue => VPPostItem.vue} | 26 ++++++------ .../Blog/{PostList.vue => VPPostList.vue} | 12 +++--- ...{ShortPostList.vue => VPShortPostList.vue} | 14 +++---- theme/src/client/components/VPContent.vue | 4 +- 12 files changed, 104 insertions(+), 104 deletions(-) rename theme/src/client/components/Blog/{Blog.vue => VPBlog.vue} (73%) rename theme/src/client/components/Blog/{Archives.vue => VPBlogArchives.vue} (89%) rename theme/src/client/components/Blog/{BlogAside.vue => VPBlogAside.vue} (65%) rename theme/src/client/components/Blog/{BlogExtract.vue => VPBlogExtract.vue} (97%) rename theme/src/client/components/Blog/{BlogNav.vue => VPBlogNav.vue} (90%) rename theme/src/client/components/Blog/{BlogProfile.vue => VPBlogProfile.vue} (74%) rename theme/src/client/components/Blog/{Tags.vue => VPBlogTags.vue} (91%) rename theme/src/client/components/Blog/{Pagination.vue => VPPagination.vue} (95%) rename theme/src/client/components/Blog/{PostItem.vue => VPPostItem.vue} (91%) rename theme/src/client/components/Blog/{PostList.vue => VPPostList.vue} (82%) rename theme/src/client/components/Blog/{ShortPostList.vue => VPShortPostList.vue} (79%) diff --git a/theme/src/client/components/Blog/Blog.vue b/theme/src/client/components/Blog/VPBlog.vue similarity index 73% rename from theme/src/client/components/Blog/Blog.vue rename to theme/src/client/components/Blog/VPBlog.vue index b94c7783..c9a9055a 100644 --- a/theme/src/client/components/Blog/Blog.vue +++ b/theme/src/client/components/Blog/VPBlog.vue @@ -2,48 +2,48 @@ import { computed } from 'vue' import { useData } from '../../composables/data.js' import TransitionFadeSlideY from '../TransitionFadeSlideY.vue' -import PostList from './PostList.vue' -import Archives from './Archives.vue' -import BlogAside from './BlogAside.vue' -import BlogExtract from './BlogExtract.vue' -import Tags from './Tags.vue' -import BlogNav from './BlogNav.vue' +import VPPostList from './VPPostList.vue' +import VPBlogArchives from './VPBlogArchives.vue' +import VPBlogAside from './VPBlogAside.vue' +import VPBlogExtract from './VPBlogExtract.vue' +import VPBlogTags from './VPBlogTags.vue' +import VPBlogNav from './VPBlogNav.vue' const { theme, page } = useData() const com = { - PostList, - Tags, - Archives, + VPPostList, + VPBlogTags, + VPBlogArchives, } const type = computed(() => { const type = page.value.type if (type === 'blog-tags') - return 'Tags' + return 'VPBlogTags' if (type === 'blog-archives') - return 'Archives' - return 'PostList' + return 'VPBlogArchives' + return 'VPPostList' }) diff --git a/theme/src/client/components/Blog/Tags.vue b/theme/src/client/components/Blog/VPBlogTags.vue similarity index 91% rename from theme/src/client/components/Blog/Tags.vue rename to theme/src/client/components/Blog/VPBlogTags.vue index d0082939..28c713f6 100644 --- a/theme/src/client/components/Blog/Tags.vue +++ b/theme/src/client/components/Blog/VPBlogTags.vue @@ -1,13 +1,13 @@ diff --git a/theme/src/client/components/VPContent.vue b/theme/src/client/components/VPContent.vue index 6bb2e947..1a5a8c16 100644 --- a/theme/src/client/components/VPContent.vue +++ b/theme/src/client/components/VPContent.vue @@ -1,7 +1,7 @@