feature: 新增数字分页插件

This commit is contained in:
tangly1024
2022-01-04 16:19:20 +08:00
parent 7bfe188a7e
commit 0cbeb1d0d2
9 changed files with 181 additions and 25 deletions

View File

@@ -53,7 +53,7 @@ const BlogPostListScroll = ({ posts = [], tags, currentSearch, currentCategory,
if (!postsToShow || postsToShow.length === 0) {
return <BlogPostListEmpty currentSearch={currentSearch} />
} else {
return <div id='post-list-wrapper' className='mt-10' ref={targetRef}>
return <div id='container' className='mt-10' ref={targetRef}>
{/* 文章列表 */}
<div className='flex flex-wrap space-y-8 mx-5 md:mx-0'>