debug
This commit is contained in:
@@ -81,15 +81,14 @@ $arrRoutes = [
|
||||
'library' => [
|
||||
/**
|
||||
* 完整路由
|
||||
* 暂时不需要开放
|
||||
* 使用: {site:nflurl gender="$strGender" category="$CategoryPinyin" status="all" order="all" page="1"/}
|
||||
*/
|
||||
// '/shuku/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
// '/books/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
// '/library/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
// '/fenlei/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
// '/class/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
// '/category/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
'/shuku/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
'/books/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
'/library/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
'/fenlei/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
'/class/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
'/category/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
|
||||
/**
|
||||
* default 模板
|
||||
@@ -104,6 +103,46 @@ $arrRoutes = [
|
||||
'/class/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
'/category/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||
|
||||
/**
|
||||
* default 模板
|
||||
* strGender strOrder 不需要
|
||||
* 使用 :gender 传空/或者不传,控制器会默认值是 all
|
||||
* {site:nflurl gender="" category="$CategoryPinyin" status="all" order="all" page="1"/}
|
||||
*/
|
||||
'/shuku/:strCategory/:strStatus/page:intPage',
|
||||
'/books/:strCategory/:strStatus/page:intPage',
|
||||
'/library/:strCategory/:strStatus/page:intPage',
|
||||
'/fenlei/:strCategory/:strStatus/page:intPage',
|
||||
'/class/:strCategory/:strStatus/page:intPage',
|
||||
'/category/:strCategory/:strStatus/page:intPage',
|
||||
|
||||
/**
|
||||
* default 模板
|
||||
* strGender 不需要
|
||||
* 使用 :gender 传空/或者不传,控制器会默认值是 all
|
||||
* {site:nflurl gender="" category="$CategoryPinyin" status="all" order="all" page="1"/}
|
||||
*/
|
||||
'/shuku/:strCategory/:strOrder/page:intPage',
|
||||
'/books/:strCategory/:strOrder/page:intPage',
|
||||
'/library/:strCategory/:strOrder/page:intPage',
|
||||
'/fenlei/:strCategory/:strOrder/page:intPage',
|
||||
'/class/:strCategory/:strOrder/page:intPage',
|
||||
'/category/:strCategory/:strOrder/page:intPage',
|
||||
|
||||
|
||||
/**
|
||||
* default 模板 /shuku/xuanhuan-xiuzhen/page1
|
||||
* strGender strStatus strOrder 不需要
|
||||
* 使用 :gender 传空/或者不传,控制器会默认值是 all
|
||||
* {site:nflurl gender="" category="$CategoryPinyin" status="all" order="all" page="1"/}
|
||||
*/
|
||||
'/shuku/:strCategory/page:intPage',
|
||||
'/books/:strCategory/page:intPage',
|
||||
'/library/:strCategory/page:intPage',
|
||||
'/fenlei/:strCategory/page:intPage',
|
||||
'/class/:strCategory/page:intPage',
|
||||
'/category/:strCategory/page:intPage',
|
||||
|
||||
/**
|
||||
* kuangyu 模板
|
||||
* strOrder 不需要
|
||||
|
||||
@@ -27,14 +27,14 @@ d_key="d_key"
|
||||
d_val="Novel" n_num="total"
|
||||
button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resData" /}
|
||||
|
||||
{site:grm page_code="pc_novel_library" diff="$resData.p_data.page" num="100" g_key="arrGrm" /}
|
||||
{site:grm page_code="h5_novel_library" diff="$resData.p_data.page" num="40" g_key="arrGrm" /}
|
||||
|
||||
<p class="site-description">{$strDescription??''}</p>
|
||||
|
||||
<div class="navpf">
|
||||
<nav class="sortChannel_nav">
|
||||
<a class="on">分类:</a>
|
||||
<a class='{eq name="$Request.route.strCategory" value="all"}on on2 {/eq}'
|
||||
<a class='{eq name="$Request.route.strCategory" value="all"}on on2 {/eq} {eq name="$Request.route.strCategory" value=""}on on2 {/eq}'
|
||||
href='{site:nflurl category="all" status="$Request.route.strStatus" order="$Request.route.strOrder" page="$Request.route.intPage"/}'>全部分类</a>
|
||||
|
||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
||||
@@ -47,14 +47,14 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
|
||||
<a class="on">排序:</a>
|
||||
{novel:sort d_key="key" d_val="strSortName"}
|
||||
<a href='{site:nflurl category="$Request.route.strCategory" status="$Request.route.strStatus" order="$key" page="$Request.route.intPage"/}'
|
||||
class='{eq name="$Request.route.strOrder" value="$key"}on on2 {/eq}'>{$strSortName}</a>
|
||||
class='{eq name="$Request.route.strOrder" value="$key"}on on2 {/eq} {if $key == "all" && $Request.route.strOrder == ""}on on2 {/if}'>{$strSortName}</a>
|
||||
{/novel:sort}
|
||||
</nav>
|
||||
<nav class="sortChannel_nav">
|
||||
<a class="on">状态:</a>
|
||||
{novel:status d_key="key" d_val="strStatusName"}
|
||||
<a href='{site:nflurl category="$Request.route.strCategory" status="$key" order="$Request.route.strOrder" page="$Request.route.intPage"/}'
|
||||
class='{eq name="$Request.route.strStatus" value="$key"}on on2 {/eq}'
|
||||
class='{eq name="$Request.route.strStatus" value="$key"}on on2 {/eq} {if $key == "all" && $Request.route.strStatus == ""}on on2 {/if}'
|
||||
btn="search_category">{$strStatusName}</a>
|
||||
{/novel:status}
|
||||
</nav>
|
||||
@@ -67,6 +67,7 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
|
||||
<li>
|
||||
<span class="s1">[{$Novel.n_category}]</span>
|
||||
<span class="s2">
|
||||
{$arrGrm[$key]|raw}
|
||||
<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}
|
||||
@@ -113,6 +114,7 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
|
||||
{novel:list count="8" sort_type="tuijian" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="86400"}
|
||||
<dl class="rec-focus-book">
|
||||
<dt class="book-img">
|
||||
{$arrGrm[$d_key+30]|raw}
|
||||
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
{extend name="baseH5" /}
|
||||
|
||||
{block name="title"}{site:replace code="NOVEL@GETNOVELCATALOG@TITLE"}{/block}
|
||||
{block name="keywords"}{site:replace code="NOVEL@GETNOVELCATALOG@KEYWORDS"}{/block}
|
||||
{block name="description"}{site:replace code="NOVEL@GETNOVELCATALOG@DESCRIPTION"}{/block}
|
||||
|
||||
{block name="head"}
|
||||
|
||||
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
|
||||
{site:grm page_code="pc_novel_info" diff="$arrNovel.n_id" num="100" g_key="arrGrm" /}
|
||||
{site:grm page_code="h5_novel_catalog " diff="$Request.url" num="120" g_key="arrGrm" /}
|
||||
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'}" />
|
||||
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION"}' />
|
||||
@@ -93,6 +97,8 @@
|
||||
{/block}
|
||||
|
||||
{block name="nav-html"}
|
||||
|
||||
|
||||
<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">
|
||||
@@ -201,7 +207,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
|
||||
<div class="rec-focus">
|
||||
{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 href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'><img
|
||||
<dt class="book-img">
|
||||
{$arrGrm[$d_key+110]|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 ?? ''}"
|
||||
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读"></a></dt>
|
||||
|
||||
@@ -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 ?? ''}"
|
||||
|
||||
@@ -6,7 +6,8 @@ $Novel.n_id{extend name="baseH5" /}
|
||||
{block name="head"}
|
||||
|
||||
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
|
||||
{site:grm page_code="pc_novel_info" diff="$arrNovel.n_id" num="100" g_key="arrGrm" /}
|
||||
{site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
|
||||
|
||||
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'}" />
|
||||
@@ -164,7 +165,9 @@ $Novel.n_id{extend name="baseH5" /}
|
||||
<div class="block-box">
|
||||
<ul class="chapter-list">
|
||||
{chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="86400"}
|
||||
<li><a
|
||||
<li>
|
||||
{$arrGrm[$d_key]|raw}
|
||||
<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}<span></span></a>
|
||||
</li>
|
||||
{/chapter:list}
|
||||
@@ -177,7 +180,9 @@ $Novel.n_id{extend name="baseH5" /}
|
||||
<div class="block-box">
|
||||
<ul class="chapter-list">
|
||||
{chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="86400"}
|
||||
<li><a
|
||||
<li>
|
||||
{$arrGrm[$d_key+10]|raw}
|
||||
<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}<span></span></a>
|
||||
</li>
|
||||
{/chapter:list}
|
||||
@@ -191,7 +196,9 @@ $Novel.n_id{extend name="baseH5" /}
|
||||
<div class="rec-focus">
|
||||
{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 href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'><img
|
||||
<dt class="book-img">
|
||||
{$arrGrm[$d_key+110]|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 ?? ''}"
|
||||
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读"></a></dt>
|
||||
|
||||
@@ -22,7 +22,7 @@ d_key="d_key"
|
||||
d_val="Novel" n_num="total"
|
||||
p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" export_name="resData" /}
|
||||
|
||||
{site:grm page_code="pc_novel_search" diff="$resData.p_data.page" num="100" g_key="arrGrm" /}
|
||||
{site:grm page_code="h5_novel_search" diff="$Request.url" num="30" g_key="arrGrm" /}
|
||||
|
||||
<div class="wrap-box">
|
||||
<h1><span>{$Request.get.keyword}</span>搜索结果 - {$DomainModel->d_name} 第{$resData.p_data.page}页</h1>
|
||||
@@ -33,6 +33,7 @@ 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">
|
||||
{$arrGrm[$key]|raw}
|
||||
<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 ?? ''}"
|
||||
|
||||
@@ -64,7 +64,7 @@ d_key="d_key"
|
||||
d_val="Novel" n_num="total"
|
||||
button_num="10" cache_life="86400" func="generateCategoryPager" export_name="resData" /}
|
||||
|
||||
{site:grm page_code="pc_novel_library" diff="$resData.p_data.page" num="100" g_key="arrGrm" /}
|
||||
{site:grm page_code="pc_novel_library" diff="$resData.p_data.page" num="70" g_key="arrGrm" /}
|
||||
|
||||
|
||||
<div class="container">
|
||||
@@ -73,6 +73,7 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
|
||||
{novel:list count="6" sort_type="tuijian" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="86400"}
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
{$arrGrm[$d_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 ?? ''}"
|
||||
@@ -97,7 +98,7 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
|
||||
<div class="sort_nav">
|
||||
<p>
|
||||
<span>分类:</span>
|
||||
<a class='{eq name="$Request.route.strCategory" value="all"}on {/eq}'
|
||||
<a class='{eq name="$Request.route.strCategory" value="all"}on {/eq} {eq name="$Request.route.strCategory" value=""}on on2 {/eq}'
|
||||
href='{$strPcPath}{site:nflurl category="all" status="$Request.route.strStatus" order="$Request.route.strOrder" page="$Request.route.intPage"/}'>不限</a>
|
||||
|
||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
||||
@@ -111,13 +112,13 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
|
||||
<p><span>排序:</span>
|
||||
{novel:sort d_key="key" d_val="strSortName"}
|
||||
<a href='{$strPcPath}{site:nflurl category="$Request.route.strCategory" status="$Request.route.strStatus" order="$key" page="$Request.route.intPage"/}'
|
||||
class='{eq name="$Request.route.strOrder" value="$key"}on {/eq}'>{$strSortName}</a>
|
||||
class='{eq name="$Request.route.strOrder" value="$key"}on {/eq} {if $key == "all" && $Request.route.strOrder == ""}on on2 {/if}'>{$strSortName}</a>
|
||||
{/novel:sort}
|
||||
</p>
|
||||
<p><span>状态:</span>
|
||||
{novel:status d_key="key" d_val="strStatusName"}
|
||||
<a href='{$strPcPath}{site:nflurl category="$Request.route.strCategory" status="$key" order="$Request.route.strOrder" page="$Request.route.intPage"/}'
|
||||
class='{eq name="$Request.route.strStatus" value="$key"}on {/eq}'
|
||||
class='{eq name="$Request.route.strStatus" value="$key"}on {/eq} {if $key == "all" && $Request.route.strStatus == ""}on on2 {/if}'
|
||||
btn="search_category">{$strStatusName}</a>
|
||||
{/novel:status}
|
||||
|
||||
@@ -132,7 +133,9 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
|
||||
cache_life="86400"}
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
||||
<span class="s2"><a
|
||||
<span class="s2">
|
||||
{$arrGrm[$d_key+6]|raw}
|
||||
<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
|
||||
href='{$strPcPath}{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||
@@ -146,7 +149,9 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
|
||||
{foreach $resData.data as $key=>$Novel}
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
||||
<span class="s2"><a
|
||||
<span class="s2">
|
||||
{$arrGrm[$key+36]|raw}
|
||||
<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" /}'
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{block name="head"}
|
||||
|
||||
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
|
||||
{site:grm page_code="pc_novel_catalog" diff="$arrNovel.n_id" num="100" g_key="arrGrm" /}
|
||||
{site:grm page_code="pc_novel_catalog" diff="$Request.url" num="120" g_key="arrGrm" /}
|
||||
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'}" />
|
||||
@@ -188,6 +188,7 @@ cache_life="1000" button_num="3" sort_type="$Request.route.strOrder" func="gener
|
||||
cache_life="86400"}
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
{$arrGrm[$d_key+110]|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 ?? ''}"
|
||||
|
||||
@@ -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" /}
|
||||
>
|
||||
{$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 ?? ''}"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{block name="description"}{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION"}{/block}
|
||||
{block name="head"}
|
||||
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
|
||||
{site:grm page_code="pc_novel_info" diff="$arrNovel.n_id" num="100" g_key="arrGrm" /}
|
||||
{site:grm page_code="pc_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'}" />
|
||||
<meta property="og:description" content="{$strDescription??'暂无简介'}" />
|
||||
@@ -149,7 +149,9 @@
|
||||
<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"}
|
||||
<li><a
|
||||
<li>
|
||||
{$arrGrm[$d_key]|raw}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>{$Chapter.c_name}</a>
|
||||
</li>
|
||||
{/chapter:list}
|
||||
@@ -157,7 +159,9 @@
|
||||
<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"}
|
||||
<li><a
|
||||
<li>
|
||||
{$arrGrm[$d_key+10]|raw}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>{$Chapter.c_name}</a>
|
||||
</li>
|
||||
{/chapter:list}
|
||||
@@ -174,6 +178,7 @@
|
||||
{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"}
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
{$arrGrm[$d_key+110]|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 ?? ''}"
|
||||
|
||||
@@ -16,7 +16,7 @@ d_key="d_key"
|
||||
d_val="Novel" n_num="total"
|
||||
p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" export_name="resData" /}
|
||||
|
||||
{site:grm page_code="pc_novel_search" diff="$resData.p_data.page" num="100" g_key="arrGrm" /}
|
||||
{site:grm page_code="pc_novel_search" diff="$Request.url" num="30" g_key="arrGrm" /}
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
@@ -33,6 +33,7 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
{foreach $resData.data as $key=>$Novel}
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
{$arrGrm[$key]|raw}
|
||||
<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 ?? ''}"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
{block name="main"}
|
||||
|
||||
{site:grm page_code="h5_index" diff="0" num="150" g_key="arrGrm" /}
|
||||
{site:grm page_code="pc_index" diff="0" num="100" g_key="arrGrm" /}
|
||||
|
||||
<div class="container biqunaicc">
|
||||
<div class="row">
|
||||
@@ -35,6 +35,7 @@
|
||||
cache_life="86400"}
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
{$arrGrm[$d_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 ?? ''}"
|
||||
@@ -64,9 +65,13 @@
|
||||
p_val="page_data" cache_life="86400"}
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
||||
<span class="s2"><a
|
||||
<span class="s2">
|
||||
{$arrGrm[$d_key+4]|raw}
|
||||
<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 href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||
<span class="s5">
|
||||
<a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a>
|
||||
</span>
|
||||
</li>
|
||||
{/novel:list}
|
||||
</ul>
|
||||
@@ -79,9 +84,13 @@
|
||||
<div class="tp-box">
|
||||
<h2>{$strCategoryName}</h2> <!-- 分类标题 -->
|
||||
<div class="top">
|
||||
|
||||
<?php $start = 1 ;$start +=1 ;?>
|
||||
|
||||
{novel:list count="1" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
<div class="image">
|
||||
{$arrGrm[$d_key+9+10*$start]|raw}
|
||||
<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 ?? ''}"
|
||||
@@ -100,7 +109,9 @@
|
||||
<ul>
|
||||
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
<li><a
|
||||
<li>
|
||||
{$arrGrm[$d_key+9+10*$start]|raw}
|
||||
<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></li>
|
||||
{/novel:list}
|
||||
@@ -118,7 +129,9 @@
|
||||
cache_life="86400"}
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||
<span class="s2"><a
|
||||
<span class="s2">
|
||||
{$arrGrm[$d_key+100]|raw}
|
||||
<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 href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||
</li>
|
||||
@@ -132,7 +145,9 @@
|
||||
cache_life="86400"}
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||
<span class="s2"><a
|
||||
<span class="s2">
|
||||
{$arrGrm[$d_key+100]|raw}
|
||||
<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" /}'
|
||||
|
||||
Reference in New Issue
Block a user