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

@@ -5,7 +5,8 @@
{block name="head"}
{site:grm page_code="pc_novel_chapter" diff="$Request.route.intChapterSort" num="100" g_key="arrGrm" /}
{site:grm page_code="h5_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" /}
@@ -129,6 +130,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<div class="content">
<h1 id="chaptername" class="chaptername">{$arrNovel.n_name}(第{$arrChapter.c_sort_num}页)</h1>
<div class="chapter-page-btn">
{$arrGrm[1]|raw}
<ul>
{if $arrChapter.c_sort_num == 1}
<li><a href='javascript:'>上一页</a></li>
@@ -146,11 +148,14 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
</ul>
</div>
{$arrGrm[2]|raw}
<div class="txt" id="txt">
{$arrGrm[3]|raw}
<script>document.writeln(qsbs.bb('{$arrChapter.c_content}'));</script>
{$arrGrm[4]|raw}
</div>
<div class="chapter-page-btn">
{$arrGrm[5]|raw}
<ul>
{if $arrChapter.c_sort_num == 1}
<li><a href='javascript:'>上一页</a></li>
@@ -166,6 +171,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
</li>
{/if}
</ul>
{$arrGrm[6]|raw}
</div>
</div>
@@ -175,7 +181,9 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
{novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="d_key" d_val="Novel"
p_val="page_data" cache_life="86400"}
<dl class="rec-focus-book">
<dt class="book-img"><a
<dt class="book-img">
{$arrGrm[$d_key+6]|raw}
<a
href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'><img
height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"