Commit 4017fe4b authored by hetech's avatar hetech Committed by GitHub

Pagination: update doc (#12685)

parent 3cf277c6
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
### 基础用法 ### 基础用法
:::demo 设置`layout`,表示需要显示的内容,用逗号分隔,布局元素会依次显示。`prev`表示上一页,`next`为下一页,`pager`表示页码列表,除此以外还提供了`jumper``total``size`和特殊的布局符号`->``->`后的元素会靠右显示,`jumper`表示跳页元素,`total`表示显示页码总数,`size`用于设置每页显示的页码数量。 :::demo 设置`layout`,表示需要显示的内容,用逗号分隔,布局元素会依次显示。`prev`表示上一页,`next`为下一页,`pager`表示页码列表,除此以外还提供了`jumper``total``size`和特殊的布局符号`->``->`后的元素会靠右显示,`jumper`表示跳页元素,`total`表示总条目数,`size`用于设置每页显示的页码数量。
```html ```html
<div class="block"> <div class="block">
<span class="demonstration">页数较少时的效果</span> <span class="demonstration">页数较少时的效果</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment