debug
This commit is contained in:
36
code/app/home/view/xiongMao/public/allChapterPage.html
Normal file
36
code/app/home/view/xiongMao/public/allChapterPage.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{if !empty($resData.p_data.pager)}
|
||||
<div class="page_num">
|
||||
{volist name="$resData.p_data.pager" id="item"}
|
||||
{eq name="item.type" value="prev"}
|
||||
{$arrGrm[$key]|raw}
|
||||
<a href="{$item.url ?: '#'}"
|
||||
class="z {$item.disabled ? 'disabled' : ''}">
|
||||
{$item.label}
|
||||
</a>
|
||||
{/eq}
|
||||
{/volist}
|
||||
|
||||
<select onchange="self.location.href=options[selectedIndex].value">
|
||||
{volist name="$resData.p_data.pager" id="item"}
|
||||
{eq name="item.type" value="page"}
|
||||
<?php $intLimit = $resData['p_data']['limit']; ?>
|
||||
<?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="$resData.p_data.pager" id="item"}
|
||||
{eq name="item.type" value="next"}
|
||||
{$arrGrm[$key]|raw}
|
||||
<a href="{$item.url ?: '#'}"
|
||||
class="y {$item.disabled ? 'disabled' : ''}">
|
||||
{$item.label}
|
||||
</a>
|
||||
{/eq}
|
||||
{/volist}
|
||||
</div>
|
||||
{/if}
|
||||
6
code/app/home/view/xiongMao/public/novelListRank.html
Normal file
6
code/app/home/view/xiongMao/public/novelListRank.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<li class="s2">
|
||||
<h5 class="tit">
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name ?? ''}</a>
|
||||
</h5> <i class="num"><em>{$key}</em></i>
|
||||
</li>
|
||||
12
code/app/home/view/xiongMao/public/novelListS.html
Normal file
12
code/app/home/view/xiongMao/public/novelListS.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<li>
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img class="lazy lazyload-img" data-encrypted="false" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读" />
|
||||
<h3>{$Novel.n_name ?? ''}</h3>
|
||||
<em>
|
||||
<aria>作者:</aria>{$Novel.n_author ?? ''}
|
||||
</em>
|
||||
</a>
|
||||
</li>
|
||||
Reference in New Issue
Block a user