diff --git a/themes/heo/components/Footer.js b/themes/heo/components/Footer.js
index 749d6048..b673f010 100644
--- a/themes/heo/components/Footer.js
+++ b/themes/heo/components/Footer.js
@@ -30,8 +30,9 @@ const Footer = ({ title }) => {
-{/* 底部页面信息 */}
-
diff --git a/themes/heo/components/PaginationNumber.js b/themes/heo/components/PaginationNumber.js
index 85018130..e3e81fdf 100644
--- a/themes/heo/components/PaginationNumber.js
+++ b/themes/heo/components/PaginationNumber.js
@@ -16,6 +16,7 @@ const PaginationNumber = ({ page, totalPage }) => {
const { locale } = useGlobal()
const currentPage = +page
const showNext = page < totalPage
+ const showPrev = currentPage !== 1
const pagePrefix = router.asPath.split('?')[0].replace(/\/page\/[1-9]\d*/, '').replace(/\/$/, '')
const pages = generatePages(pagePrefix, page, currentPage, totalPage)
@@ -27,16 +28,18 @@ const PaginationNumber = ({ page, totalPage }) => {
}
/**
- * 调到指定页
- */
+ * 调到指定页
+ */
const jumpToPage = () => {
if (value) {
router.push(value === 1 ? `${pagePrefix}/` : `${pagePrefix}/page/${value}`)
}
}
- return (
-
+ return (<>
+
+ {/* pc端分页按钮 */}
+
{/* 上一页 */}
{
- )
+
+
+ {/* 上一页 */}
+
+ {locale.PAGINATION.PREV}
+
+
+ {showPrev && showNext &&
}
+
+ {/* 下一页 */}
+
+ {locale.PAGINATION.NEXT}
+
+
+ >)
}
/**