{if pageNum > 1}
| 1} onclick="pageletClick(-1)" {/if}>上一页 |
{/if}
|
{if pageNum > 6}
{if currentPage > 4}
... |
{if currentPage == pageNum - 1}
{if currentPage - 3 < 10}{/if}${currentPage - 3} |
{/if}
{if currentPage == pageNum}
{if currentPage - 4 < 10}{/if}${currentPage - 4} |
{if currentPage - 3 < 10}{/if}${currentPage - 3} |
{/if}
{if currentPage - 2 < 10}{/if}${currentPage - 2} |
{if currentPage - 1 < 10}{/if}${currentPage - 1} |
|
{elseif currentPage == 1}
2 |
3 |
4 |
5 |
{elseif currentPage == 2}
|
3 |
4 |
5 |
{elseif currentPage == 3}
2 |
|
4 |
5 |
{elseif currentPage == 4}
2 |
3 |
|
5 |
6 |
{/if}
{if currentPage < pageNum - 3 && currentPage > 4}
{if currentPage + 1 < 10}{/if}${currentPage+1} |
{if currentPage + 2 < 10}{/if}${currentPage+2} |
{/if}
{if currentPage < pageNum - 3}
... |
{/if}
{if currentPage == pageNum - 3}
{if currentPage + 1 < 10}{/if}${currentPage+1} |
{if currentPage + 2 < 10}{/if}${currentPage+2} |
{/if}
{if currentPage == pageNum - 2}
{if currentPage + 1 < 10}{/if}${currentPage+1} |
{/if}
{if currentPage!= pageNum}
{if pageNum < 10}{/if}${pageNum} |
{/if}
下一页 |
{elseif pageNum < 7 && pageNum > 1}
{for innerNum in $A($R(2,pageNum))}
|
{/for}
下一页 |
{/if}