2018-03-05 11:06:44 +00:00
|
|
|
<script>
|
2019-01-12 03:33:27 +00:00
|
|
|
import VcPagination from '../index';
|
|
|
|
import '../assets/index.less';
|
2018-03-05 11:06:44 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
data () {
|
2019-01-12 03:33:27 +00:00
|
|
|
return {};
|
2018-03-05 11:06:44 +00:00
|
|
|
},
|
|
|
|
render () {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<VcPagination
|
|
|
|
showTotal={(total) => `Total ${total} items`}
|
|
|
|
total={455}
|
|
|
|
/>
|
|
|
|
<VcPagination
|
|
|
|
showTotal={(total, range) => `${range[0]} - ${range[1]} of ${total} items`}
|
|
|
|
total={455}
|
|
|
|
/>
|
|
|
|
</div>
|
2019-01-12 03:33:27 +00:00
|
|
|
);
|
2018-03-05 11:06:44 +00:00
|
|
|
},
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2018-03-05 11:06:44 +00:00
|
|
|
</script>
|