This commit is contained in:
make
2025-04-19 18:49:02 +08:00
parent 5bc9ecf9c8
commit 34f56d46d4
18 changed files with 285 additions and 155 deletions

View File

@@ -126,6 +126,10 @@
{/block}
{block name="main"}
{chapter:pagerexp page="$Request.route.intPage" page="1" limit="100" n_id="$Request.route.intNovelId" d_key="d_key" d_val="chapter"
cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="generateChapterPager" export_name="resData" /}
<h1 class="site-description ">{$arrNovel['n_name']}最新章节 - {$arrNovel['n_author']} - {$DomainModel->d_name}</h1>
<div class="block-box">
<div class="book-main">
@@ -178,14 +182,14 @@
{include file="public/allChapterPage" start="1"/}
<ul class="chapter-list">
{chapter:pager page="1" limit="100" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" p_val="page_data" cache_life="86400" button_num="100" sort_type="$Request.route.strOrder" func="generateChapterPager"}
{foreach $resData.data as $key=>$Chapter}
<li>
{$arrGrm[$d_key]|raw}
{$arrGrm[$key]|raw}
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'
title="{$arrNovel['n_name']} {$Chapter.c_name}">{$Chapter.c_name}</a>
</li>
{/chapter:pager}
{/foreach}
</ul>
{include file="public/allChapterPage" /}