710b4ac0
Imshann
优化
|
1
|
<ul ng-class="'ant-pagination'+(size==='small'?' mini':'')">
|
0c33a548
Imshann
fix(pagination): ...
|
2
|
<li ng-if="showTotal()" class="ant-pagination-total-text">{{handleShowTotal()}}</li>
|
dd962f77
Imshann
优化
|
3
4
|
<li ng-class="'ant-pagination-prev'+(state.current===1?' ant-pagination-disabled':'')" ng-click="handlePrev()">
<button type="button" class="ant-pagination-item-link">
|
81f8a467
Imshann
调整组件前缀
|
5
|
<antd-icon type="LeftOutlined"></antd-icon>
|
dd962f77
Imshann
优化
|
6
|
</button>
|
3a3ecabe
Imshann
init
|
7
|
</li>
|
061629e7
Imshann
add
|
8
9
10
11
|
<li ng-repeat="(key, value) in state.pageNumList track by key" ng-class="''+getItemLinkClassName(value)" ng-click="handleClick(value)">
<a ng-if="value!=='prev'&&value!=='next'">{{value}}</a>
<a ng-if="value==='prev'||value==='next'" class="ant-pagination-item-link">
<div class="ant-pagination-item-container">
|
81f8a467
Imshann
调整组件前缀
|
12
13
|
<antd-icon ng-if="value==='prev'" type="DoubleLeftOutlined" class="ant-pagination-item-link-icon"></antd-icon>
<antd-icon ng-if="value==='next'" type="DoubleRightOutlined" class="ant-pagination-item-link-icon"></antd-icon>
|
061629e7
Imshann
add
|
14
15
16
|
<span class="ant-pagination-item-ellipsis">•••</span>
</div>
</a>
|
dd962f77
Imshann
优化
|
17
18
19
|
</li>
<li ng-class="'ant-pagination-next'+(state.current===state.pageNum?' ant-pagination-disabled':'')" ng-click="handleNext()">
<button type="button" class="ant-pagination-item-link">
|
81f8a467
Imshann
调整组件前缀
|
20
|
<antd-icon type="RightOutlined"></antd-icon>
|
dd962f77
Imshann
优化
|
21
|
</button>
|
3a3ecabe
Imshann
init
|
22
23
|
</li>
<li class="ant-pagination-options">
|
81f8a467
Imshann
调整组件前缀
|
24
25
26
27
28
29
|
<antd-select ng-if="showSizeChanger==='true'" class="ant-pagination-options-size-changer" size="{{size}}" value="{{state.defaultPageSize}}" get-popup-container="getPopupContainer" on-change="handleSelectChange(value)">
<antd-select-option value="10">10 条/页</antd-select-option>
<antd-select-option value="20">20 条/页</antd-select-option>
<antd-select-option value="50">50 条/页</antd-select-option>
<antd-select-option value="100">100 条/页</antd-select-option>
</antd-select>
|
dd962f77
Imshann
优化
|
30
|
<div ng-if="showQuickJumper==='true'" class="ant-pagination-options-quick-jumper">
|
1b6f912f
Imshann
优化
|
31
|
跳至<input type="text" ng-blur="handleBlur($event)" ng-keypress="onKeyPress($event)" />页
|
3a3ecabe
Imshann
init
|
32
33
34
|
</div>
</li>
</ul>
|