2017-03-17 18:56:30 +08:00
|
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
|
|
exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<ul
|
|
|
|
|
class="ant-pagination "
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="true"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class="ant-pagination-disabled ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="3"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-5"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<ul
|
|
|
|
|
class="ant-pagination "
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="3"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2016-12-26 18:24:00 +08:00
|
|
|
|
class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-jump-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="向后 5 页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-50"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="50"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
50
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
2017-09-06 19:39:46 +08:00
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-options"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-options-size-changer ant-select ant-select-enabled"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-expanded="false"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
|
|
|
|
ant-select-selection--single"
|
|
|
|
|
role="combobox"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-select-selection__rendered"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection-selected-value"
|
|
|
|
|
style="display:block;opacity:1;"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="10 条/页"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
10 条/页
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
|
|
|
|
style="user-select:none;-webkit-user-select:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<b />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-09-06 19:39:46 +08:00
|
|
|
|
</li>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</ul>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<ul
|
|
|
|
|
class="ant-pagination "
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="3"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-5"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`renders ./components/pagination/demo/itemRender.md correctly 1`] = `
|
|
|
|
|
<ul
|
|
|
|
|
class="ant-pagination "
|
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
|
|
|
|
<li
|
|
|
|
|
aria-disabled="true"
|
|
|
|
|
class="ant-pagination-disabled ant-pagination-prev"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
|
|
|
|
<a>
|
|
|
|
|
Previous
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
title="1"
|
|
|
|
|
>
|
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
title="2"
|
|
|
|
|
>
|
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
title="3"
|
|
|
|
|
>
|
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
title="4"
|
|
|
|
|
>
|
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
title="5"
|
|
|
|
|
>
|
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-jump-next"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
title="向后 5 页"
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-50"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
title="50"
|
|
|
|
|
>
|
|
|
|
|
<a>
|
|
|
|
|
50
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
aria-disabled="false"
|
|
|
|
|
class=" ant-pagination-next"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
|
|
|
|
<a>
|
|
|
|
|
Next
|
|
|
|
|
</a>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<ul
|
|
|
|
|
class="ant-pagination "
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="3"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2016-12-26 18:24:00 +08:00
|
|
|
|
class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-jump-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="向后 5 页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-50"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="50"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
50
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
2017-09-06 19:39:46 +08:00
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-options"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-options-quick-jumper"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
跳至
|
|
|
|
|
<input
|
|
|
|
|
type="text"
|
2017-06-23 14:35:05 +08:00
|
|
|
|
value=""
|
2017-03-17 18:56:30 +08:00
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
页
|
|
|
|
|
</div>
|
2017-09-06 19:39:46 +08:00
|
|
|
|
</li>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</ul>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div>
|
|
|
|
|
<ul
|
2017-03-17 15:23:25 +08:00
|
|
|
|
class="ant-pagination mini"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="true"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class="ant-pagination-disabled ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="3"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-5"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<ul
|
2017-03-17 15:23:25 +08:00
|
|
|
|
class="ant-pagination mini"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="true"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class="ant-pagination-disabled ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="3"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-5"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
2017-09-06 19:39:46 +08:00
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-options"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-select-sm ant-pagination-options-size-changer ant-select ant-select-enabled"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-expanded="false"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
|
|
|
|
ant-select-selection--single"
|
|
|
|
|
role="combobox"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-select-selection__rendered"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection-selected-value"
|
|
|
|
|
style="display:block;opacity:1;"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="10 条/页"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
10 条/页
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
|
|
|
|
style="user-select:none;-webkit-user-select:none;"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<b />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-options-quick-jumper"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
跳至
|
|
|
|
|
<input
|
|
|
|
|
type="text"
|
2017-06-23 14:35:05 +08:00
|
|
|
|
value=""
|
2017-03-17 18:56:30 +08:00
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
页
|
|
|
|
|
</div>
|
2017-09-06 19:39:46 +08:00
|
|
|
|
</li>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</ul>
|
|
|
|
|
<ul
|
2017-03-17 15:23:25 +08:00
|
|
|
|
class="ant-pagination mini"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2017-06-23 14:35:05 +08:00
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-total-text"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
Total 50 items
|
2017-06-23 14:35:05 +08:00
|
|
|
|
</li>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="true"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class="ant-pagination-disabled ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="3"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-5"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<ul
|
|
|
|
|
class="ant-pagination "
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2017-02-18 18:12:38 +08:00
|
|
|
|
class=" ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-02-18 18:12:38 +08:00
|
|
|
|
class="ant-pagination-item ant-pagination-item-1"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-02-18 18:12:38 +08:00
|
|
|
|
class="ant-pagination-jump-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="向前 5 页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2017-02-18 18:12:38 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4 ant-pagination-item-after-jump-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
2017-02-18 18:12:38 +08:00
|
|
|
|
4
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-02-18 18:12:38 +08:00
|
|
|
|
class="ant-pagination-item ant-pagination-item-5"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
2017-02-18 18:12:38 +08:00
|
|
|
|
5
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-02-18 18:12:38 +08:00
|
|
|
|
class="ant-pagination-item ant-pagination-item-6 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="6"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
2017-02-18 18:12:38 +08:00
|
|
|
|
6
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-02-18 18:12:38 +08:00
|
|
|
|
class="ant-pagination-item ant-pagination-item-7"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="7"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
2017-02-18 18:12:38 +08:00
|
|
|
|
7
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-8 ant-pagination-item-before-jump-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="8"
|
|
|
|
|
>
|
2017-02-18 18:12:38 +08:00
|
|
|
|
<a>
|
|
|
|
|
8
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-jump-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="向后 5 页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-50"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="50"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
50
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<ul
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination ant-pagination-simple "
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-09-06 21:42:51 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
2017-01-08 16:59:34 +08:00
|
|
|
|
<li
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class="ant-pagination-simple-pager"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2/5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<input
|
2017-06-02 21:55:04 +08:00
|
|
|
|
size="3"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value="2"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-slash"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
/
|
|
|
|
|
</span>
|
|
|
|
|
5
|
2017-01-08 16:59:34 +08:00
|
|
|
|
</li>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-09-06 21:42:51 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div>
|
|
|
|
|
<ul
|
|
|
|
|
class="ant-pagination "
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2017-06-23 14:35:05 +08:00
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-total-text"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
Total 85 items
|
2017-06-23 14:35:05 +08:00
|
|
|
|
</li>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="true"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class="ant-pagination-disabled ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="3"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-5"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<br />
|
|
|
|
|
<ul
|
|
|
|
|
class="ant-pagination "
|
2017-03-17 18:56:30 +08:00
|
|
|
|
unselectable="unselectable"
|
|
|
|
|
>
|
2017-06-23 14:35:05 +08:00
|
|
|
|
<li
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-pagination-total-text"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
1-20 of 85 items
|
2017-06-23 14:35:05 +08:00
|
|
|
|
</li>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="true"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class="ant-pagination-disabled ant-pagination-prev"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="上一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="1"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
1
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-2"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="2"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
2
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-3"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="3"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
3
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-4"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="4"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
4
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-pagination-item ant-pagination-item-5"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="5"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a>
|
|
|
|
|
5
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
2017-05-17 11:11:01 +08:00
|
|
|
|
aria-disabled="false"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
class=" ant-pagination-next"
|
2017-06-01 10:44:00 +08:00
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
title="下一页"
|
|
|
|
|
>
|
2017-08-30 14:02:49 +08:00
|
|
|
|
<a
|
|
|
|
|
class="ant-pagination-item-link"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|