This commit is contained in:
make
2025-04-27 21:31:33 +08:00
parent cb071b0cfd
commit ff8b838f6f
20 changed files with 511 additions and 34 deletions

View File

@@ -135,13 +135,16 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<div class="chapter-page-btn">
{$arrGrm[1]|raw}
<ul>
{if $arrChapter.c_sort_num == 1}
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
<li><a href='javascript:'>上一页</a></li>
{elseif $arrChapter['pre_chapter'] && $arrChapter['pre_chapter']['c_sort_num']}
{/if}
{if $arrChapter.pre_chapter && $arrChapter.pre_chapter.c_sort_num}
<li><a
href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.pre_chapter.c_sort_num" c_page="$arrChapter.pre_chapter.c_page"/}'>上一页</a>
</li>
{/if}
<li class="mulu"><a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}'>章节目录</a></li>
{if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num}
<li><a
@@ -160,13 +163,16 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<div class="chapter-page-btn">
{$arrGrm[5]|raw}
<ul>
{if $arrChapter.c_sort_num == 1}
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
<li><a href='javascript:'>上一页</a></li>
{elseif $arrChapter['pre_chapter'] && $arrChapter['pre_chapter']['c_sort_num']}
{/if}
{if $arrChapter.pre_chapter && $arrChapter.pre_chapter.c_sort_num}
<li><a
href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.pre_chapter.c_sort_num" c_page="$arrChapter.pre_chapter.c_page"/}'>上一页</a>
</li>
{/if}
<li class="mulu"><a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}'>章节目录</a></li>
{if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num}
<li><a