|
|
@ -175,20 +175,20 @@ |
|
|
{/php} |
|
|
{/php} |
|
|
{if condition="empty($preId)"} |
|
|
{if condition="empty($preId)"} |
|
|
<a class="nd-pager__item nd-pager__item--prev" href="javascript:;"> |
|
|
<a class="nd-pager__item nd-pager__item--prev" href="javascript:;"> |
|
|
<span class="nd-pager__label">上一篇:没有了</span> |
|
|
|
|
|
|
|
|
<span class="nd-pager__label" title="没有了">上一篇:没有了</span> |
|
|
</a> |
|
|
</a> |
|
|
{else /} |
|
|
{else /} |
|
|
<a class="nd-pager__item nd-pager__item--prev" href="{:hcUrl('Detail/index',['id'=>$preId,'cid'=>$preCid])}"> |
|
|
<a class="nd-pager__item nd-pager__item--prev" href="{:hcUrl('Detail/index',['id'=>$preId,'cid'=>$preCid])}"> |
|
|
<span class="nd-pager__label">上一篇:{$preTitle}</span> |
|
|
|
|
|
|
|
|
<span class="nd-pager__label" title="{$preTitle}">上一篇:{$preTitle}</span> |
|
|
</a> |
|
|
</a> |
|
|
{/if} |
|
|
{/if} |
|
|
{if condition="empty($nextId)"} |
|
|
{if condition="empty($nextId)"} |
|
|
<a class="nd-pager__item nd-pager__item--next" href="javascript:;"> |
|
|
<a class="nd-pager__item nd-pager__item--next" href="javascript:;"> |
|
|
<span class="nd-pager__label">下一篇:没有了</span> |
|
|
|
|
|
|
|
|
<span class="nd-pager__label" title="没有了">下一篇:没有了</span> |
|
|
</a> |
|
|
</a> |
|
|
{else /} |
|
|
{else /} |
|
|
<a class="nd-pager__item nd-pager__item--next" href="{:hcUrl('Detail/index',['id'=>$nextId,'cid'=>$nextCid])}"> |
|
|
<a class="nd-pager__item nd-pager__item--next" href="{:hcUrl('Detail/index',['id'=>$nextId,'cid'=>$nextCid])}"> |
|
|
<span class="nd-pager__label">下一篇:{$nextTitle}</span> |
|
|
|
|
|
|
|
|
<span class="nd-pager__label" title="{$nextTitle}">下一篇:{$nextTitle}</span> |
|
|
</a> |
|
|
</a> |
|
|
{/if} |
|
|
{/if} |
|
|
</nav> |
|
|
</nav> |
|
|
|