# Pagination 分页
> 当数据量过多时，使用分页分解数据。

## 导入使用

```code[javascript]
import sePagination from "ss-universal-client-web/comp/data/su-pagination";
```

## 基本用法
:::demo
```html
<template>
    <div>{{page}}
        <su-pagination :page="page" :getPage="getPage" :little="true"></su-pagination>
        <su-pagination :page="page" :getPage="getPage"></su-pagination>
        <su-pagination :page="page" :getPage="getPage">
            <div slot="left">我是左侧数据</div>
        </su-pagination>
    </div>
</template>

<script>
export default {
    components: {
        sePagination
    },
    data () {
        return {
            page: {
                pageIndex: 1,
                pageSize: 10,
                pageCount: 100
            }
        }
    },
    methods:{
        getPage () {
            
        }
    }
}
</script>

```
:::

## Attributes

| 参数    | 说明                                                         | 类型     |
| ------- | ------------------------------------------------------------ | -------- |
| little    | 是否是简易模式 | Boolean  默认false   |
| page    | 分页配置(pageIndex：第几页，pageSize：每页多少条，pageCount：总数) | Object   |
| getPage | 页码变化时触发的函数                                         | Function |

## Slot

| Name | Description |
|------|--------|
| — | 描述 |
| left | 左侧 |
