From fc2276812106ba9a13b31482f6e0af0356e77dac Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Wed, 15 Mar 2023 09:52:57 +0800 Subject: [PATCH] hexo animate --- themes/hexo/components/BlogPostCard.js | 6 ++++++ themes/hexo/components/BlogPostCardInfo.js | 12 ++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/themes/hexo/components/BlogPostCard.js b/themes/hexo/components/BlogPostCard.js index 1f02e323..52cfa885 100644 --- a/themes/hexo/components/BlogPostCard.js +++ b/themes/hexo/components/BlogPostCard.js @@ -11,9 +11,15 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => { post.page_cover = siteInfo?.pageCover } const showPageCover = CONFIG_HEXO.POST_LIST_COVER && post?.page_cover + const delay = (index % 2) * 200 return (
{ - const delay = (index % 2) * 200 +export const BlogPostCardInfo = ({ post, showPreview, showPageCover, showSummary }) => { + return
- return
- {/* 标题 */}