This commit is contained in:
2023-03-10 16:34:52 +08:00
parent 4bad3fba83
commit bddca7dfd4
3 changed files with 24 additions and 1 deletions
+22
View File
@@ -55,6 +55,28 @@
</div>
{{end}}
<div class="w-full flex justify-center">
<div class="flex center">
<div class="text-xl md:text-2xl font-light text-red-400 hover:text-black">
{{if gt .prevPage 0}}
<a href="/?p={{.prevPage}}"><-上一页</a>
{{else}}
没有了
{{end}}
</div>
<div class="text-xl md:text-2xl font-light">
-{{.page}}-
</div>
<div class="text-xl md:text-2xl font-light text-red-400 hover:text-black">
{{if gt .nextPage 0}}
<a href="/?p={{.nextPage}}">下一页-></a>
{{else}}
没有了
{{end}}
</div>
</div>
</div>
</div>
</div>
<div class="h-6 bg-white">