4.0 仿Youtube界面样式

This commit is contained in:
tangly1024
2021-10-11 17:14:52 +08:00
parent 3d02b0f6e2
commit 05d79a3db9
22 changed files with 391 additions and 300 deletions

View File

@@ -3,6 +3,13 @@ import { useLocale } from '@/lib/locale'
import Link from 'next/link'
import { useRouter } from 'next/router'
/**
* 翻页插件
* @param page 当前页码
* @param showNext 是否有下一页
* @returns {JSX.Element}
* @constructor
*/
const Pagination = ({ page, showNext }) => {
const locale = useLocale()
const router = useRouter()