debug
This commit is contained in:
33
code/app/home/view/kuangYu/pc/Public/allChapterPage.html
Normal file
33
code/app/home/view/kuangYu/pc/Public/allChapterPage.html
Normal file
@@ -0,0 +1,33 @@
|
||||
{if !empty($arrPaginator)}
|
||||
<div class="page_num">
|
||||
{volist name="arrPaginator" id="item"}
|
||||
{eq name="item.type" value="prev"}
|
||||
<a href="{$item.url ?: '#'}"
|
||||
class="z {$item.disabled ? 'disabled' : ''}">
|
||||
{$item.label}
|
||||
</a>
|
||||
{/eq}
|
||||
{/volist}
|
||||
|
||||
<select onchange="self.location.href=options[selectedIndex].value">
|
||||
{volist name="arrPaginator" id="item"}
|
||||
{eq name="item.type" value="page"}
|
||||
<?php $start = ($item['label'] - 1) * $intLimit + 1; ?>
|
||||
<?php $end = $item['label'] * $intLimit; ?>
|
||||
<option value="{$item.url}" {$item.current ? 'selected' : ''}>
|
||||
第{$start}-{$end}章
|
||||
</option>
|
||||
{/eq}
|
||||
{/volist}
|
||||
</select>
|
||||
|
||||
{volist name="arrPaginator" id="item"}
|
||||
{eq name="item.type" value="next"}
|
||||
<a href="{$item.url ?: '#'}"
|
||||
class="y {$item.disabled ? 'disabled' : ''}">
|
||||
{$item.label}
|
||||
</a>
|
||||
{/eq}
|
||||
{/volist}
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user