export const tpl = `
<div class="cd-long-pagination">
    <div class="cd-btn cd-prev-page J_prevPage
    {{if current==1}}
    cd-disabled
    {{/if}}
    ">
        <span class="cd-icon"></span>
        <span>上一页</span>
    </div>
    
    {{each pageArr}}
        {{if $value != '...'}}
            <div class="cd-page cd-btn J_page
            {{if $value == current}}
            cd-current J_currentPage
            {{/if}}
            {{if $value == total}}
            J_totalPage
            {{/if}}
            ">{{$value}}</div>
        {{else}}
        <div class="d-ellipsis"></div> 
        {{/if}}
    {{/each}}
    <div class="cd-btn cd-next-page J_nextPage
    {{if current==total}}
    cd-disabled
    {{/if}}
    ">
        <span>下一页</span>
        <span class="cd-icon"></span>
    </div>
    <div class="cd-total-text">
        <span>共</span>
        <span class="d-total-page J_totalItem">{{totalItem}}</span>
        <span>条</span>
    </div>
    <span>到</span>
    <input class="cd-go-page J_pageNum" value="">
    <span>页</span>
    <div class="cd-btn cd-search J_search">查询</div>
    
</div>
`