This commit is contained in:
make
2025-04-22 14:31:25 +08:00
parent 683424b63e
commit 3280e769ba
37 changed files with 1173 additions and 350 deletions

View File

@@ -56,7 +56,7 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
{block name="logo-html"}
<h1 class="logo">
<a href="/">{$DomainModel->d_name}-{$Request.route.strGender}{$Request.route.strCategory}{$Request.route.strStatus}免费阅读</a>
<a href="/">{$DomainModel->d_name}-{site:getval code="strNovelSex" /}{site:getval code="strNovelCategoryName" /}{site:getval code="strNovelStatus" /}免费阅读</a>
</h1>
{/block}

View File

@@ -2,7 +2,7 @@
{block name="get-data"}
{if $Request.route.intNovelId}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="$Request.route.intForgeId" /}
{else}
{novel:info n_id="$DomainModel->info_id" n_key="arrNovel" n_forge_id="0" /}
{/if}
@@ -191,7 +191,9 @@
</p>
<p class="xianglingtuijian">相邻推荐:
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
{if $key < 100}
{$arrGrm[$key+20]|raw}
{/if}
<a
href='{site:nnurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" n_fid="$ForgeNovel.n_forge_id"/}'>{$ForgeNovel.n_forge_title}</a>
{/volist}
@@ -210,9 +212,11 @@
</div>
<div class="attentions">
<ul class="clearfix">
{chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="86400"}
{chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"}
<li>
{$arrGrm[$key]|raw}
{if $key < 100}
{$arrGrm[$key+20]|raw}
{/if}
<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>