[新增]显示页码总数,方便用户跳转时知道最大值,可以输入到最大值

This commit is contained in:
castle 2021-12-27 16:49:50 +08:00
parent 45c2d4d53e
commit 7934cdea12

View File

@ -1,6 +1,6 @@
<template>
<div class="layui-box layui-laypage layui-laypage-default">
<span v-if="showCount" class="layui-laypage-count"> {{ total }} </span>
<span v-if="showCount" class="layui-laypage-count"> {{ total }} {{ maxPage }}</span>
<a
href="javascript:;"
class="layui-laypage-prev"