This commit is contained in:
make
2025-04-20 16:55:49 +08:00
parent 34f56d46d4
commit d1b6e5100e
13 changed files with 148 additions and 43 deletions

View File

@@ -4,7 +4,9 @@
{block name="description"}{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}{/block}
{block name="head"}
{site:grm page_code="pc_novel_chapter" diff="$Request.route.intChapterSort" num="100" g_key="arrGrm" /}
{site:grm page_code="pc_novel_chapter" diff="$Request.url" num="20" g_key="arrGrm" /}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{chapter:info n_id="$Request.route.intNovelId" c_sort_num="$Request.route.intChapterSort"
c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
@@ -79,6 +81,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
{block name="main"}
<div class="container biqunaicc">
{$arrGrm[1]|raw}
<div class="row row-detail">
<div class="layout layout-col1">
<h2 class="layout-tit xs-hidden">
@@ -87,6 +90,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
&gt;
{$arrNovel.n_name}(第{$arrChapter.c_sort_num}页)
</h2>
{$arrGrm[2]|raw}
<div class="word_read">
<h3>{$arrNovel.n_name}(第{$arrChapter['c_sort_num']}页)</h3>
<div class="read_btn">
@@ -107,9 +111,9 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.next_chapter.c_sort_num" c_page="$arrChapter.next_chapter.c_page"/}'>下一页</a>
{/if}
</div>
{$arrGrm[3]|raw}
<script>document.writeln(qsbs.bb('{$arrChapter.c_content}'));</script>
{$arrGrm[4]|raw}
<p>请勿开启浏览器阅读模式,否则将导致章节内容缺失及无法阅读下一页。</p>
<p>相邻推荐:
@@ -125,6 +129,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
{/volist}
</p>
{$arrGrm[5]|raw}
<div class="read_btn">
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
<a id="j_chapterPrev" href="javascript:void(0);">上一页</a>
@@ -143,6 +148,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.next_chapter.c_sort_num" c_page="$arrChapter.next_chapter.c_page"/}'>下一页</a>
{/if}
</div>
{$arrGrm[6]|raw}
</div>
</div>
</div>
@@ -154,6 +160,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
p_val="page_data" cache_life="86400"}
<div class="item">
<div class="image">
{$arrGrm[$d_key+6]|raw}
<a href='{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>
<img style="min-height:120px;" class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"