{if condition="$__PAGING__.record_total gt 0"}
{if condition="$__PAGING__.page_current gt 1"}
- 首页
- 上一页
{else/}
- 首页
- 上一页
{/if}
{maccms:foreach name="$__PAGING__.page_num" id="num"}
{if condition="$__PAGING__.page_current eq $num"}
- {$num}
- {$num}/{$__PAGING__.page_total}
{else/}
- {$num}
{/if}
{/maccms:foreach}
{if condition="$__PAGING__.page_current lt $__PAGING__.page_total-4"}
- ...
{/if}
{if condition="$__PAGING__.page_current lt $__PAGING__.page_total"}
- 下一页
- 尾页
{else/}
- 下一页
- 尾页
{/if}
{/if}