example 微调

This commit is contained in:
tangly1024
2022-04-29 15:25:21 +08:00
parent b45500a6ad
commit 5b6b924885
7 changed files with 22 additions and 16 deletions

View File

@@ -34,14 +34,13 @@ export const ArticleInfo = (props) => {
{locale.COMMON.LAST_EDITED_TIME}: {post.lastEditedTime}
</span>
<span className='mr-2'>|</span>
</>)}
<span className="hidden busuanzi_container_page_pv font-light mr-2">
<span className="hidden busuanzi_container_page_pv font-light mr-2">
<i className='mr-1 fas fa-eye' />
&nbsp;
<span className="mr-2 busuanzi_value_page_pv" />
</span>
</>)}
</div>
</section>

View File

@@ -39,6 +39,14 @@ export const BlogList = (props) => {
<p className="text-gray-700 leading-normal">
{p.summary}
</p>
{/* 搜索结果 */}
{p.results && (
<p className="mt-4 text-gray-700 dark:text-gray-300 text-sm font-light leading-7">
{p.results.map(r => (
<span key={r}>{r}</span>
))}
</p>
)}
</article>
))}