pager.hbs 976 Bytes
{{# pager}}
    <div class="me-pager clearfix">
        {{#if hasCheckAll}}
            <input id="me-checkall" class="check-all" type="checkbox">
            全选
            <span id="me-del-checked" class="del-checked">删除</span>
        {{/if}}
        <div class="pull-right">
            <span>{{count}}条结果,{{curPage}}/{{totalPages}}</span>

            <div class="pager-html pager">
                {{# prePage}}
                    <a href="{{url}}" title="上一页"><span class="iconfont">&#xe60e;</span>上一页</a>
                {{/ prePage}}

                {{# pages}}
                    <a{{#if url}} href="{{url}}"{{/if}}{{#if cur}} class="cur"{{/if}}>{{num}}</a>
                {{/ pages}}
                
                {{# nextPage}}
                    <a href="{{url}}" title="下一页">下一页<span class="iconfont">&#xe60c;</span></a>
                {{/ nextPage}}
            </div>
        </div>
    </div>
{{/ pager}}