This commit is contained in:
make
2025-04-28 17:11:06 +08:00
parent 2958d293d1
commit 4676ae1f16
60 changed files with 369 additions and 181 deletions

View File

@@ -115,7 +115,9 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
<li>
<span class="s1">[{$Novel.n_category}]</span>
<span class="s2">
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' data-toggle="tooltip"
data-placement="right" title="{$Novel.n_name}">
{$Novel.n_name}

View File

@@ -192,7 +192,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
<ul class="chapter-list">
{foreach $resData.data as $key=>$Chapter}
<li>
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|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>

View File

@@ -70,7 +70,9 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
{foreach $resData.data as $key=>$Novel}
<dl class="rec-focus-book">
<dt class="book-img">
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href='{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>
<img height="100" width="80" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"

View File

@@ -83,10 +83,10 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
<div class="container">
<div class="row row-section">
<div class="layout layout-col3">
{novel:list count="6" sort_type="tuijian" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="86400"}
{novel:list count="6" sort_type="tuijian" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
<div class="item">
<div class="image">
{$arrGrm[$d_key]|raw}
{$arrGrm[$key]|raw}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<img style="min-height:120px;" class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"
@@ -142,12 +142,14 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
<div class="layout layout2 layout-col1 fr">
<h2 class="layout-tit">最新入库小说</h2>
<ul class="txt-list txt-list-row3">
{novel:list count="30" sort_type="news" d_key="d_key" d_val="Novel" p_val="page_data"
{novel:list count="30" sort_type="news" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
<li>
<span class="s1">[{$Novel->n_category ?? ''}</span>
<span class="s2">
{$arrGrm[$d_key+6]|raw}
{if !empty($arrGrm[$key+36])}
{$arrGrm[$key+36]|raw}
{/if}
<a
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
<span class="s5"><a
@@ -163,7 +165,10 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
<li>
<span class="s1">[{$Novel->n_category ?? ''}</span>
<span class="s2">
{if !empty($arrGrm[$key+36])}
{$arrGrm[$key+36]|raw}
{/if}
<a
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
<span class="s3"><a

View File

@@ -170,7 +170,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
<ul class="section-list fix ycxsid">
{foreach $resData.data as $key=>$Chapter}
<li>
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a
href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>
{$Chapter.c_name}
@@ -189,11 +191,14 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
<h2 class="layout-tit">已完结热门小说推荐</h2>
<div class="layout layout-col3">
{novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="d_key" d_val="Novel"
{novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="key" d_val="Novel"
cache_life="86400"}
<div class="item">
<div class="image">
{$arrGrm[$d_key+110]|raw}
{if !empty($arrGrm[$key+110])}
{$arrGrm[$key+110]|raw}
{/if}
<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 ?? ''}"

View File

@@ -170,12 +170,15 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<h2 class="layout-tit">已完结热门小说推荐</h2>
<div class="layout layout-col3">read_btn
{novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="d_key" d_val="Novel"
{novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="key" d_val="Novel"
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" /}'>
{if !empty($arrGrm[$key+6])}
{$arrGrm[$key+6]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>
<img style="min-height:120px;" class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
@@ -183,8 +186,8 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
</div>
<dl>
<dt><span>{$Novel.n_author}</span><a
href='{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>{$Novel.n_name}</a></dt>
<dd style="height:90px"><a href='{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'
href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>{$Novel.n_name}</a></dt>
<dd style="height:90px"><a href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'
style="color: #555">{$Novel.n_description}</a>
</dd>
</dl>

View File

@@ -160,9 +160,11 @@
<div class="layout layout-col1">
<h2 class="layout-tit">《{$arrNovel.n_name}》最新章节</h2>
<ul class="section-list fix">
{chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="86400"}
{chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"}
<li>
{$arrGrm[$d_key]|raw}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a
href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>{$Chapter.c_name}</a>
</li>
@@ -170,9 +172,11 @@
</ul>
<h2 class="layout-tit">《{$arrNovel.n_name}》章节列表</h2>
<ul class="fix section-list">
{chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="86400"}
{chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"}
<li>
{$arrGrm[$d_key+10]|raw}
{if !empty($arrGrm[$key+10])}
{$arrGrm[$key+10]|raw}
{/if}
<a
href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>{$Chapter.c_name}</a>
</li>
@@ -187,10 +191,12 @@
<h2 class="layout-tit">已完结热门小说推荐</h2>
<div class="layout layout-col3">
{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"}
{novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
<div class="item">
<div class="image">
{$arrGrm[$d_key+110]|raw}
{if !empty($arrGrm[$key+110])}
{$arrGrm[$key+110]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>
<img style="min-height:120px;" class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"

View File

@@ -72,7 +72,9 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
{foreach $resData.data as $key=>$Novel}
<div class="item">
<div class="image">
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>
<img style="min-height:120px;" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"

View File

@@ -4,7 +4,9 @@
<div class="page_num">
{volist name="$resData.p_data.pager" id="item"}
{eq name="item.type" value="prev"}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href="{$item.url ?: '#'}"
class="z {$item.disabled ? 'disabled' : ''}">
{$item.label}
@@ -27,7 +29,9 @@
{volist name="$resData.p_data.pager" id="item"}
{eq name="item.type" value="next"}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href="{$item.url ?: '#'}"
class="y {$item.disabled ? 'disabled' : ''}">
{$item.label}

View File

@@ -50,7 +50,7 @@
<p>{$DomainModel->d_domain}</p>
</div>
<div class="header_search">
<form target="_blank" style="margin:0;padding:0;" action="{$strPcPath}{$strSearchIndexUrlTemp}" method="get">
<form style="margin:0;padding:0;" action="{$strPcPath}{$strSearchIndexUrlTemp}" method="get">
<!-- <input type="hidden" name="searchtype" value="all"> -->
<input class="search" id="bdcsMain" name="keyword" type="text" maxlength="30" value="可搜书名和作者,请您少字也别输错字。"
title="请正确输入"

View File

@@ -46,8 +46,8 @@
<div class="box">
<h2 class="title">人气推荐</h2>
<ul class="cover">
{novel:list count="8" sort_type="tuijian" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="86400"}
{include file="public/novelListS" start="9"/}
{novel:list count="8" sort_type="tuijian" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
{include file="public/novelListS" start="0"/}
{/novel:list}
</ul>
</div>
@@ -60,18 +60,18 @@
<ul class="vlist">
{novel:ranklist count="9" sort_type="daily" d_key="key" d_val="Novel" cache_life="86400"}
{include file="public/rankNovelList" start="9"/}
{include file="public/rankNovelList" start="10"/}
{/novel:ranklist}
</ul>
</div>
<div class="box">
<h2 class="title">书友推荐</h2>
{novel:list count="1" sort_type="tuijian" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
{include file="public/topNovelList" start="9"/}
{include file="public/topNovelList" start="19"/}
{/novel:list}
<ul class="vlist">
{novel:list count="9" sort_type="tuijian" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
{include file="public/rankNovelList" start="9"/}
{include file="public/rankNovelList" start="20"/}
{/novel:list}
</ul>
</div>
@@ -79,7 +79,7 @@
<h2 class="title">最近入库</h2>
<ul class="vlist">
{novel:list count="15" sort_type="news" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
{include file="public/newsNovelList" start="9"/}
{include file="public/newsNovelList" start="29"/}
{/novel:list}
</ul>
</div>
@@ -87,7 +87,7 @@
<h2 class="title">最近更新</h2>
<ul class="vlist">
{novel:list count="15" sort_type="update" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
{include file="public/newsNovelList" start="9"/}
{include file="public/newsNovelList" start="45"/}
{/novel:list}
</ul>
</div>

View File

@@ -174,7 +174,9 @@ cache_life="86400" button_num="5" sort_type="$Request.route.strOrder" func="gene
<ul class="vlist">
{foreach $resData.data as $key=>$Chapter}
<li>
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|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><span></span>
</li>

View File

@@ -89,9 +89,12 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
<div id="main">
<div id="hotcontent">
<div class="ll">
{novel:list count="6" sort_type="tuijian" n_category="$Request.route.strCategory" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="86400"}
{novel:list count="6" sort_type="tuijian" n_category="$Request.route.strCategory" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
<div class="item">
<div class="image">
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<img class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"
@@ -124,11 +127,13 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
<li>
<span class="s1">[{$Novel->n_category ?? ''}]</span>
<span class="s2">
{$arrGrm[$d_key+20]|raw}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' target="_blank">{$Novel->n_name}</a>
{if !empty($arrGrm[$key+20])}
{$arrGrm[$key+20]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' >{$Novel->n_name}</a>
</span>
<span class="s3">
<a href='{$strPcPath}{site:lcpurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin" /}' target="_blank">
<a href='{$strPcPath}{site:lcpurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin" /}' >
{$Novel->n_latest_chapter_name ?? ''}
</a>
</span>
@@ -141,11 +146,13 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
<div class="r">
<h2>最新入库</h2>
<ul>
{novel:list count="50" sort_type="news" d_key="d_key" d_val="Novel" p_val="page_data"
{novel:list count="50" sort_type="news" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
<li>
<span class="s2">
{$arrGrm[$d_key+20]|raw}
{if !empty($arrGrm[$key+20])}
{$arrGrm[$key+20]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>
</span>
<span class="s5">{$Novel->n_author}</span>

View File

@@ -136,7 +136,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
{foreach $resData.data as $key=>$Chapter}
<dd>
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>
{$Chapter.c_name}</a>
</dd>
@@ -172,6 +174,23 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
</div>
</div>
<script>
const strNovelId = `{$arrNovel.n_id}`;
const arrNovel = {
'n_id': `{$arrNovel['n_id']}`,
'n_name_pinyin': `{$arrNovel['n_name_pinyin']}`,
'n_cover_path': `{$arrNovel['n_cover_path']}`,
'n_name': `{$arrNovel['n_name']}`,
'n_author': `{$arrNovel['n_author']}`,
'n_status': `{$arrNovel['n_status']}`,
'n_description': `{$arrNovel['n_description']}`,
'n_latest_chapter_name': `{$arrNovel['n_latest_chapter_name']}`,
'n_update_time': `{$arrNovel['n_update_time']}`,
'c_sort_num': 1,
'c_name': `第一章`,
};
</script>
{/block}
{block name="customize"} {/block}

View File

@@ -126,7 +126,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<div class="hotbook">
<b>书友点击:</b>
{volist name='$arrNovel.arrRelateveNovel' id='Novel'}
<a href='{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>{$Novel.n_name} </a>&nbsp;&nbsp;
<a href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>{$Novel.n_name} </a>&nbsp;&nbsp;
{/volist}
</div>

View File

@@ -134,10 +134,12 @@
<div id="list">
<dl>
<dt>《{$arrNovel.n_name}》最新章节</dt>
{chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter"
{chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter"
cache_life="86400"}
<dd>
{$arrGrm[$d_key]|raw}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a
href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>
{$Chapter.c_name}
@@ -149,10 +151,12 @@
<dt>
<b>《{$arrNovel.n_name}》正文目录</b>
</dt>
{chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter"
{chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter"
cache_life="86400"}
<dd>
{$arrGrm[$d_key]|raw}
{if !empty($arrGrm[$key + 12])}
{$arrGrm[$key + 12]|raw}
{/if}
<a
href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>
{$Chapter.c_name}

View File

@@ -58,15 +58,17 @@
</span>
</h2>
<ul>
{novel:ranklist count="50" sort_type="$Request.route.strOrder" d_key="d_key" d_val="Novel" cache_life="86400"}
{novel:ranklist count="50" sort_type="$Request.route.strOrder" d_key="key" d_val="Novel" cache_life="86400"}
<li>
<span class="s1">[{$Novel->n_category ?? ''}]</span>
<span class="s2">
{$arrGrm[$d_key+20]|raw}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' target="_blank">{$Novel->n_name}</a>
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' >{$Novel->n_name}</a>
</span>
<span class="s3">
<a href='{$strPcPath}{site:lcpurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin" /}' target="_blank">
<a href='{$strPcPath}{site:lcpurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin" /}' >
{$Novel->n_latest_chapter_name ?? ''}
</a>
</span>
@@ -79,11 +81,13 @@
<div class="r">
<h2>最新入库</h2>
<ul>
{novel:list count="50" sort_type="news" d_key="d_key" d_val="Novel" p_val="page_data"
{novel:list count="50" sort_type="news" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
<li>
<span class="s2">
{$arrGrm[$d_key+20]|raw}
{if !empty($arrGrm[$key+50])}
{$arrGrm[$key+50]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>
</span>
<span class="s5">{$Novel->n_author}</span>

View File

@@ -55,10 +55,13 @@
<div id="main">
<div id="hotcontent">
<div class="l">
{novel:list count="4" sort_type="tuijian" n_status="lianzai" d_key="d_key" d_val="Novel" p_val="page_data"
{novel:list count="4" sort_type="tuijian" n_status="lianzai" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
<div class="item">
<div class="image">
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<img class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"
@@ -81,11 +84,13 @@
<div class="r">
<h2>经典推荐</h2>
<ul>
{novel:list count="9" sort_type="tuijian" n_status="wanjie" d_key="d_key" d_val="Novel"
{novel:list count="9" sort_type="tuijian" n_status="wanjie" d_key="key" d_val="Novel"
p_val="page_data" cache_life="86400"}
<li>
<span class="s2">
{$arrGrm[$d_key+4]|raw}
{if !empty($arrGrm[$key+4])}
{$arrGrm[$key+4]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>
</span>
<span class="s5">{$Novel->n_author}</span>
@@ -120,10 +125,12 @@
</div>
{/novel:list}
<ul>
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="key" d_val="Novel"
p_val="page_data" cache_life="86400"}
<li>
{$arrGrm[$d_key+9+10*$start]|raw}
{if !empty($arrGrm[$key+9+10*$start])}
{$arrGrm[$key+9+10*$start]|raw}
{/if}
<a
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>/<a
href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a>
@@ -160,10 +167,12 @@
</div>
{/novel:list}
<ul>
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="key" d_val="Novel"
p_val="page_data" cache_life="86400"}
<li>
{$arrGrm[$d_key+9+10*$start]|raw}
{if !empty($arrGrm[$key+9+10*$start])}
{$arrGrm[$key+9+10*$start]|raw}
{/if}
<a
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>/<a
href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a>
@@ -181,16 +190,18 @@
<div class="l">
<h2>最近更新小说列表</h2>
<ul>
{novel:list count="50" sort_type="update" d_key="d_key" d_val="Novel" p_val="page_data"
{novel:list count="50" sort_type="update" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
<li>
<span class="s1">[{$Novel->n_category ?? ''}]</span>
<span class="s2">
{$arrGrm[$d_key+100]|raw}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' target="_blank">{$Novel->n_name}</a>
{if !empty($arrGrm[$key + 100])}
{$arrGrm[$key + 100]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' >{$Novel->n_name}</a>
</span>
<span class="s3">
<a href='{$strPcPath}{site:lcpurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin" /}' target="_blank">{$Novel->n_latest_chapter_name ?? ''}</a>
<a href='{$strPcPath}{site:lcpurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin" /}' >{$Novel->n_latest_chapter_name ?? ''}</a>
</span>
<span class="s4">{$Novel->n_author}</span>
<span class="s5">{:date('m-d')}</span>
@@ -201,11 +212,13 @@
<div class="r">
<h2>最新入库小说</h2>
<ul>
{novel:list count="50" sort_type="news" d_key="d_key" d_val="Novel" p_val="page_data"
{novel:list count="50" sort_type="news" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
<li>
<span class="s2">
{$arrGrm[$d_key+100]|raw}
{if !empty($arrGrm[$key + 100])}
{$arrGrm[$key + 100]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>
</span>
<span class="s5">{$Novel->n_author}</span>

View File

@@ -1,11 +1,12 @@
<div class="footer footer_cont">
<p>
<a href="/rank/dayvisit_0_0_0_1.html">日排行</a>|<a href="/rank/weekvisit_0_0_0_1.html">排行</a>|<a
href="/rank/monthvisit_0_0_0_1.html">月排行</a>|<a href="/rank/allvisit_0_0_0_1.html">排行</a>|<a
href="/rank/dayvote_0_0_0_1.html">日推荐</a>|<a href="/rank/weekvote_0_0_0_1.html">周推荐</a>|<a
href="/rank/monthvote_0_0_0_1.html">月推荐</a>|<a href="/rank/allvote_0_0_0_1.html">推荐</a>|<a
href="/rank/goodnum_0_0_0_1.html">总收藏</a>|<a href="/rank/postdate_0_0_0_1.html">最新入库</a>|<a
href="/rank/lastupdate_0_0_0_1.html">最新更新</a>
<a href='{$strPcPath}{site:rankurl status="all" order="daily" page="1"/}'>排行</a>|
<a href='{$strPcPath}{site:rankurl status="all" order="weekly" page="1"/}'>排行</a>|
<a href='{$strPcPath}{site:rankurl status="all" order="monthly" page="1"/}'>月排行</a>|
<a href='{$strPcPath}{site:rankurl status="all" order="total" page="1"/}'>排行</a>|
<a href='{$strPcPath}{site:nflurl category="all" status="all" order="tuijian" page="1"/}'>总推荐</a>|
<a href='{$strPcPath}{site:nflurl category="all" status="all" order="news" page="1"/}'>最新入库</a>|
<a href='{$strPcPath}{site:nflurl category="all" status="all" order="update" page="1"/}'>最新更新</a>
</p>
<p>友情链接:
@@ -19,12 +20,9 @@
{$ForgeNovel.n_forge_title}
</a>
{/site:forgelist}
</p>
<p>本站耗子小说网所有小说为转载作品,所有章节均由网友上传,转载至本站耗子小说网只是为了宣传本书让更多读者欣赏。</p>
<p>Copyright © 耗子小说网www.hzpxw.net All Rights Reserved.</p>
<p>本站{$DomainModel->d_name}所有小说为转载作品,所有章节均由网友上传,转载至本站{$DomainModel->d_name}只是为了宣传本书让更多读者欣赏。</p>
<p>Copyright © {$DomainModel->d_name}{$DomainModel->d_domain} All Rights Reserved.</p>
<p>删除邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
</div>
<div id="shuqian"></div>

View File

@@ -79,7 +79,9 @@
<div class="i-title">推荐作品</div>
<ul>
{novel:list count="10" sort_type="tuijian" d_key="key" d_val="Novel" cache_life="86400"}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<li>
<a href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin"/}'
title="{$Novel.n_name ?? ''}">

View File

@@ -2,7 +2,9 @@
<div class="page_num">
{volist name="$resData.p_data.pager" id="item"}
{eq name="item.type" value="prev"}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href="{$item.url ?: '#'}"
class="z {$item.disabled ? 'disabled' : ''}">
{$item.label}
@@ -25,7 +27,9 @@
{volist name="$resData.p_data.pager" id="item"}
{eq name="item.type" value="next"}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href="{$item.url ?: '#'}"
class="y {$item.disabled ? 'disabled' : ''}">
{$item.label}

View File

@@ -16,14 +16,17 @@
{/site:forgelist}
</div>
<p><a href="/rank/dayvisit_0_0_0_1.html">日排行</a>|<a href="/rank/weekvisit_0_0_0_1.html">周排行</a>|<a
href="/rank/monthvisit_0_0_0_1.html">月排行</a>|<a href="/rank/allvisit_0_0_0_1.html">排行</a>|<a
href="/rank/dayvote_0_0_0_1.html">日推荐</a>|<a href="/rank/weekvote_0_0_0_1.html">推荐</a>|<a
href="/rank/monthvote_0_0_0_1.html">月推荐</a>|<a href="/rank/allvote_0_0_0_1.html">总推荐</a>|<a
href="/rank/goodnum_0_0_0_1.html">总收藏</a>|<a href="/rank/postdate_0_0_0_1.html">最新入库</a>|<a
href="/rank/lastupdate_0_0_0_1.html">最新更新</a></p>
<p>本站耗子小说网所有小说为转载作品,所有章节均由网友上传,转载至本站耗子小说网只是为了宣传本书让更多读者欣赏。</p>
<p>Copyright © 耗子小说网www.hzpxw.net All Rights Reserved.</p>
<p>
<a href='{site:rankurl status="all" order="daily" page="1"/}'>排行</a>|
<a href='{site:rankurl status="all" order="weekly" page="1"/}'>排行</a>|
<a href='{site:rankurl status="all" order="monthly" page="1"/}'>月排行</a>|
<a href='{site:rankurl status="all" order="total" page="1"/}'>总排行</a>|
<a href='{site:nflurl category="all" status="all" order="tuijian" page="1"/}'>总推荐</a>|
<a href='{site:nflurl category="all" status="all" order="news" page="1"/}'>最新入库</a>|
<a href='{site:nflurl category="all" status="all" order="update" page="1"/}'>最新更新</a>
</p>
<p>本站{$DomainModel->d_name}所有小说为转载作品,所有章节均由网友上传,转载至本站{$DomainModel->d_name}只是为了宣传本书让更多读者欣赏。</p>
<p>Copyright © {$DomainModel->d_name}{$DomainModel->d_domain} All Rights Reserved.</p>
<p>删除邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
</div>

View File

@@ -1,4 +1,7 @@
<li>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<span>[{:date('m-d')}]</span>
<p class="author">{$Novel.n_author}</p>

View File

@@ -1,5 +1,8 @@
<li>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<img class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"

View File

@@ -1,4 +1,7 @@
<li>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<img class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"

View File

@@ -1,4 +1,7 @@
<li>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<span class="layui-badge layui-bg-green">{$key+=2}</span>
<p class="bookname">{$Novel.n_name}</p>

View File

@@ -1,5 +1,8 @@
<div class="vote">
<span class="layui-badge">1</span>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<img class="lazyload-img" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"

View File

@@ -52,8 +52,8 @@
<div class="login">
<div class="login_after" id="mod_login_after">
<span class="yh">
<img src="/template/kuangyu/user/web/images/user-icon.png" alt="123456">
<a href="{$strPcPath}{$strUserUrlTemp}">123456</a>
<img src="/template/kuangyu/user/web/images/user-icon.png" alt="默认">
<a href="{$strPcPath}{$strUserUrlTemp}">默认</a>
</span>
<ul class="xiala">
<li><i class="iconfont"></i><a href="{$strPcPath}{$strBookShelfUrlTemp}">我的书架</a></li>
@@ -73,7 +73,7 @@
<div class="header">
<span><img src="/template/kuangyu/user/web/images/user-icon.png"></span>
</div>
<div class="name">123456</div>
<div class="name">默认</div>
<div class="user_block_list2">
<ul>
<li style="cursor: default">

View File

@@ -142,7 +142,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
<ul class="clearfix">
{volist name="resData.data" id="Chapter" key="key"}
<li>
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|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>

View File

@@ -137,7 +137,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
<ul>
{foreach $resData.data as $key => $Chapter }
<li>
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<h2>
<a href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}' >{$Chapter.c_name}</a>
</h2>

View File

@@ -151,7 +151,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<li class="line"></li>
<li class="sign-in">
<img src="/template/kuangyu/reader/web/images/user-icon.png" class="headPortrait">
<a href="{$strPcPath}{$strUserUrlTemp}">123456</a>
<a href="{$strPcPath}{$strUserUrlTemp}">默认</a>
<div class="dropdown">
<!-- <a href="{$strUserUrlTemp}/index/index.html">个人中心</a> -->
{$arrGrm[16]|raw}
@@ -206,7 +206,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<a
href='{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>
<em class="iconfont"></em> {$arrNovel.n_name}</a>
<a href="javascript:"> <em class="iconfont"></em> {$arrNovel.n_author}</a>
<a href='{$strPcPath}{site:souurl key="$arrNovel.n_author" p="1"/}'> <em class="iconfont"></em> {$arrNovel.n_author}</a>
<i><em class="iconfont"></em><span class="j_chapterWordCut">2000</span></i>
<i><em class="iconfont"></em><span class="j_updateTime">{$arrChapter.created_at ??
''}</span></i>

View File

@@ -210,7 +210,9 @@
<div class="zj_con">
{chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"}
<p>
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href='{$strPcPath}{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}" class="zj">{$Chapter.c_name}</a>
<span class="time">{$Chapter.created_at ?? '1天前'}</span>

View File

@@ -1,5 +1,7 @@
<li>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<h3>
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel->n_name ?? ''}" class="book_cov">
<img class="lazyload_book_cover lazyload-img"

View File

@@ -1,5 +1,7 @@
<div class="bookLink">
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' >
<div class="bookImg">
<img class="lazyload-img"

View File

@@ -1,5 +1,7 @@
<div class="bookLink oneLine">
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' >
<em>「{$Novel->n_category ?? ''}」</em>
{$Novel.n_name ?? ''}

View File

@@ -1,7 +1,9 @@
<li>
<?php $Novel['n_category_pinyin'] ?? $Novel['n_category_pinyin'] = 'all'?>
<h3>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel->n_name ?? ''}" >
{$Novel->n_name ?? ''}
</a>

View File

@@ -1,7 +1,9 @@
<div class="f3_L">
<?php $Novel['n_category_pinyin'] ?? $Novel['n_category_pinyin'] = 'all'?>
<h3>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" >
{$Novel.n_name ?? ''}</a></h3>
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" class="book_cov">

View File

@@ -2,7 +2,9 @@
<?php $Novel['n_category_pinyin'] ?? $Novel['n_category_pinyin'] = 'all'?>
<em class="red_bg">{$key+=1}</em>
<h3 class="name">
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" >
{$Novel.n_name ?? ''}
</a>

View File

@@ -2,7 +2,9 @@
<?php $Novel['n_category_pinyin'] ?? $Novel['n_category_pinyin'] = 'all'?>
<em class="red_bg">1</em>
<h3 class="name">
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" >{$Novel.n_name ?? ''}</a>
</h3>
<div class="open">

View File

@@ -5,7 +5,9 @@
<a href='{$strPcPath}{site:nflurl gender="all" category="$Novel.n_category_pinyin" status="all" page="1"/}' >{$Novel->n_category ?? ''}</a></li>
<li class="sm">
<h3>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" >
{$Novel.n_name ?? ''}</a>
</h3>

View File

@@ -1,5 +1,7 @@
<li>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id ?? 1" n_py="$Novel->n_name_pinyin"/}' class="book_cov" title="{$Novel->n_name ?? ''}">
<img class="lazyload_book_cover lazyload-img"
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel->n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">

View File

@@ -1,5 +1,7 @@
<li>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<h3>
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}" class="book_cov">
<img class="lazyload_lb_nv lazyload-img"

View File

@@ -79,7 +79,9 @@
<div class="i-title">推荐作品</div>
<ul>
{novel:list count="10" sort_type="tuijian" d_key="key" d_val="Novel" cache_life="86400"}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<li>
<a href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin"/}'
title="{$Novel.n_name ?? ''}">

View File

@@ -2,9 +2,10 @@
<div class="page_num">
{volist name="$resData.p_data.pager" id="item"}
{eq name="item.type" value="prev"}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
<a href="{$item.url ?: '#'}"
class="z {$item.disabled ? 'disabled' : ''}">
{/if}
<a href="{$item.url ?: '#'}" class="z {$item.disabled ? 'disabled' : ''}">
{$item.label}
</a>
{/eq}
@@ -25,9 +26,10 @@
{volist name="$resData.p_data.pager" id="item"}
{eq name="item.type" value="next"}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
<a href="{$item.url ?: '#'}"
class="y {$item.disabled ? 'disabled' : ''}">
{/if}
<a href="{$item.url ?: '#'}" class="y {$item.disabled ? 'disabled' : ''}">
{$item.label}
</a>
{/eq}

View File

@@ -2,7 +2,9 @@
<img class="pic lazy lazyload-img" data-encrypted="false"
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}"
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读" />
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<h3>
<a class="tit" href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name ?? ''}</a>
</h3>

View File

@@ -1,6 +1,8 @@
<li class="s2">
<h5 class="tit">
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name ?? ''}</a>
</h5> <i class="num"><em>{$key}</em></i>
</li>

View File

@@ -1,5 +1,7 @@
<li>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<img class="lazy lazyload-img" data-encrypted="false" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}"

View File

@@ -37,7 +37,7 @@
<a href="{$strUserUrlTemp}{$strUserUrlTemp}/info.html"></a>
</div> -->
<div class="app_accountBlock_name">
<span class="name">123456</span>
<span class="name">默认</span>
</div>
</div>
{$arrGrm[3]|raw}

View File

@@ -1,4 +1,8 @@
{extend name="baseH5" /}
{block name="get-data"}
{site:grm page_code="h5_index" diff="0" num="100" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="INDEX@INDEX@TITLE"}{/block}
{block name="keywords"}{site:replace code="INDEX@INDEX@KEYWORDS"}{/block}
{block name="description"}{site:replace code="INDEX@INDEX@DESCRIPTION"}{/block}
@@ -69,7 +73,7 @@
<div class="">
<div class="novel-list">
{novel:list count="8" sort_type="tuijian" d_key="key" d_val="Novel" cache_life="86400"}
{include file="public/novel-list" /}
{include file="public/novel-list" start="0" /}
{/novel:list}
</div>
</div>
@@ -89,7 +93,7 @@
$showIconStatus = "zhuantai";
{/php}
{novel:list count="8" sort_type="tuijian" d_key="key" d_val="Novel" cache_life="86400"}
{include file="public/novel-list-flex" /}
{include file="public/novel-list-flex" start="9" /}
{/novel:list}
</div>
</div>
@@ -104,7 +108,7 @@
<div class="">
<div class="novel-list">
{novel:list count="8" sort_type="update" d_key="key" d_val="Novel" cache_life="86400"}
{include file="public/novel-list" showIconStatus=true/}
{include file="public/novel-list" start="16" showIconStatus=true/}
{/novel:list}
</div>
</div>
@@ -123,7 +127,7 @@
$showIconStatus = "zhuantai";
{/php}
{novel:list count="8" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
{include file="public/novel-list-flex" /}
{include file="public/novel-list-flex" start="24" /}
{/novel:list}
</div>
</div>
@@ -141,7 +145,7 @@
{php}
$showIconStatus = true;
{/php}
{include file="public/novel-list" /}
{include file="public/novel-list" start="35" /}
{/novel:ranklist}
</div>
</div>
@@ -164,7 +168,7 @@
{php}
$showIconStatus = "paixu";
{/php}
{include file="public/novel-list-flex" /}
{include file="public/novel-list-flex" start="45" /}
{/novel:ranklist}
</div>
@@ -182,6 +186,9 @@
<div class="novel-list mei_ri_gen_xin_list">
{novel:list count="20" sort_type="update" d_key="key" d_val="Novel" cache_life="86400"}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' class="list-header">
{if !empty($arrGrm[$key + 55])}
{$arrGrm[$key+55]|raw}
{/if}
<div class="block_txt ">
<h3>{$Novel.n_name}</h3>
<p class="xiaoshuo_info">

View File

@@ -160,7 +160,7 @@ button_num="8" cache_life="86400" func="generateCategoryPager" export_name="resD
<div class="cartoon-list">
<div class="novel-list">
{foreach $resData.data as $key=>$Novel}
{include file="public/novel-list" /}
{include file="public/novel-list" start="0" /}
{/foreach}
</div>
</div>

View File

@@ -5,7 +5,7 @@ $Novel.n_id{extend name="baseH5" /}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="$Request.route.intForgeId" /}
{site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
{chapter:pagerexp page="$Request.route.intPage" limit="10" n_id="$Request.route.intNovelId" d_key="d_key" d_val="chapter"
{chapter:pagerexp page="$Request.route.intPage" 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" /}
{/block}
@@ -158,13 +158,15 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
{include file="public/allChapterPage" start="1"/}
<ul style="margin-top:10px;">
{chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter"
cache_life="86400"}
{volist name="resData.data" id="Chapter" key="key"}
<li style="margin-top:5px;">
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|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"/}'>{$Chapter.c_name}</a>
</li>
{/chapter:list}
{/volist}
</ul>
<!-- 目录下拉分页-->
@@ -175,9 +177,11 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
<span class="label">相关标签:</span>
<span class="value">
<span class="value-tag">
{volist name='$arrNovel.arrRelateveNovel' id='Novel'}
<a
href='{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>{$Novel.n_name}</a>&nbsp;&nbsp;
{volist name='$arrNovel.arrRelateveNovel' id='Novel' key="key"}
{if !empty($arrGrm[$key +100])}
{$arrGrm[$key +100]|raw}
{/if}
<a href='{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>{$Novel.n_name}</a>&nbsp;&nbsp;
{/volist}
{volist name='arrNovel.n_forge_novel' id='ForgeNovel'}
<a

View File

@@ -162,7 +162,8 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
</svg>
</div>
</div>
<a href=''>
{$arrGrm[1]|raw}
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="$arrChapter.c_page"/}'>
<h2 class="novel-reader-title">{$arrChapter.c_name ?? ''}</h2>
</a>
</div>
@@ -191,6 +192,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
</a>
{/if}
</div>
{$arrGrm[2]|raw}
</div>

View File

@@ -118,6 +118,7 @@ $Novel.n_id{extend name="baseH5" /}
<div class="layout-root novel-web">
{$arrGrm[1]|raw}
<nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
@@ -134,6 +135,7 @@ $Novel.n_id{extend name="baseH5" /}
</a>
<meta itemprop="position" content="2" />
</li>
{$arrGrm[2]|raw}
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' itemprop="item">
<span itemprop="name">{$arrNovel['n_name']}</span>
@@ -141,11 +143,13 @@ $Novel.n_id{extend name="baseH5" /}
<meta itemprop="position" content="3" />
</li>
</ol>
{$arrGrm[3]|raw}
</nav>
<h1 class="site-description ">{$arrNovel['n_name']}最新章节 - {$arrNovel['n_author']} - {$DomainModel->d_name}</h1>
<div id="w-detail" class="work-content">
{$arrGrm[4]|raw}
<div class="w-header">
<div class="go-back flex-center" onclick="history.go(-1)">
<div class="svg">
@@ -170,6 +174,7 @@ $Novel.n_id{extend name="baseH5" /}
<div class="novel-author">分类:{$arrNovel.n_category } / {$arrNovel.n_status }</div>
<div class="novel-author">作者:{$arrNovel.n_author ?? '迭名'}</div>
<div class="novel-time">更新:{$arrNovel.n_update_time}</div>
{$arrGrm[5]|raw}
<a class="novel-new-zj"
href='{site:lcpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' >
最新:{$arrNovel.arrLatestChapter.c_name ?? ""}</a>
@@ -188,8 +193,12 @@ $Novel.n_id{extend name="baseH5" /}
</div>
<ul style="margin-top:10px;">
{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 style="margin-top:5px;">
{if !empty($arrGrm[$key + 6])}
{$arrGrm[$key+6]|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"/}'>{$Chapter.c_name}</a>
</li>
{/chapter:list}
@@ -220,12 +229,17 @@ $Novel.n_id{extend name="baseH5" /}
<span class="label">相关标签:</span>
<span class="value">
<span class="value-tag">
{volist name='$arrNovel.arrRelateveNovel' id='Novel'}
{volist name='$arrNovel.arrRelateveNovel' id='Novel' key="key"}
{if !empty($arrGrm[$key + 24])}
{$arrGrm[$key+24]|raw}
{/if}
<a href='{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'>{$Novel.n_name}</a>&nbsp;&nbsp;
{/volist}
{volist name='arrNovel.n_forge_novel' id='ForgeNovel'}
<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>&nbsp;&nbsp;
{volist name='arrNovel.n_forge_novel' id='ForgeNovel' key="key"}
{if !empty($arrGrm[$key + 34])}
{$arrGrm[$key+34]|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>&nbsp;&nbsp;
{/volist}
@@ -242,7 +256,7 @@ $Novel.n_id{extend name="baseH5" /}
<div class="novel-item item">
<div class="work-list">
{novel:list count="8" n_category="$arrNovel.n_category_pinyin" sort_type="update" d_key="d_key" d_val="Novel" cache_life="86400"}
{include file="public/novel-list-flex" /}
{include file="public/novel-list-flex" start="16"/}
{/novel:list}
</div>
</div>

View File

@@ -110,6 +110,9 @@
<div class="novel-list mei_ri_gen_xin_list paihang-bang">
{novel:ranklist count="10" sort_type="$Request.route.strOrder" n_status="$Request.route.strStatus" d_key="key" d_val="Novel" cache_life="86400"}
<a href='{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin"/}' class="list-header">
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<div class="sort-index custom-box">{$key +=1}</div>
<div class="block_txt ">
<h2>{$Novel.n_name}</h2>

View File

@@ -1,4 +1,8 @@
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<div class="novel-item">
<div class="top">
<img class="pre-img lozad" data-encrypted="false"

View File

@@ -1,5 +1,8 @@
<div class="list-header">
<div class="block_img">
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a href='{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin"/}'>
<img class="pre-img lozad" data-encrypted="false"
src="/static/img/default.jpg"

View File

@@ -161,6 +161,7 @@ function addBookshelfFun(NovelInfo) {
}
let arrBookshelf = JSON.parse(localStorage.getItem(strBookshelfKey)) || [];
arrBookshelf = []
// 检查书籍是否已存在
const index = arrBookshelf.findIndex(item => item.n_id === NovelInfo.n_id);
@@ -262,6 +263,8 @@ function addHistoryFun(NovelInfo) {
// 获取本地存储中的历史记录
let arrBookshelf = JSON.parse(localStorage.getItem(strHistoryKey)) || [];
arrBookshelf = []
// 检查书籍是否已存在
const index = arrBookshelf.findIndex(item => item.n_id == NovelInfo.n_id);

View File

@@ -225,6 +225,7 @@ function displayBookshelf() {
let strNovelUrl = formatNovelUrl(book.n_name_pinyin, book.n_id)
let strNovelChapterUrl = formatNovelChapterUrl(book.n_name_pinyin, book.n_id, book.c_sort_num)
let strSearchUrl = formatSearchUrl(book.n_author, 1)
console.log(strSearchUrl);
if (isMobile()) {
const bookElement = document.createElement('li');
bookElement.classList.add('book-shelf'); // 添加类名
@@ -268,7 +269,7 @@ function displayBookshelf() {
<a href="${strPcPath}${strNovelChapterUrl}" >${book.c_name}</a>
</td>
<td class="t4">
<a href="${strPcPath}${strSearchUrl}" >${book.n_author}</a>
<a href="${strPcPath}${strNovelUrl}" >${book.n_author}</a>
</td>
<td class="t5">${book.n_update_time}</td>
@@ -395,7 +396,7 @@ function displayHistory() {
<a href="${strPcPath}${strNovelChapterUrl}" >${book.c_name}</a>
</td>
<td class="t4">
<a href="${strPcPath}${strSearchUrl}" >${book.n_author}</a>
<a href="${strPcPath}${strNovelUrl}" >${book.n_author}</a>
</td>
<td class="t5">${book.n_update_time ?? ''}</td>

View File

@@ -162,7 +162,7 @@ body .bg-top-pink-minheight{
align-content: flex-start;
}
.info-btn .jiarushujia{
width: 2.2rem;
width: 30%;
display: inline-block;
text-align: center;

View File

@@ -70,7 +70,16 @@ title '{strNovelSex}{strNovelCategoryName}{strNovelStatus}小说 - {strSiteN
keywords: '{strNovelCategoryName}, {strNovelSex}小说, {strNovelStatus}小说, {strSiteName}, 免费阅读'
description: '{strSiteName}提供{strNovelSex}{strNovelCategoryName}{strNovelStatus}小说免费阅读,第{intPage}页汇聚热门作品,欢迎体验{strSiteDomain}'
{$arrGrm[$key+[start]]|raw}
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
{$arrGrm[$key]|raw}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}