novel temp5
This commit is contained in:
@@ -6,7 +6,7 @@ n_category="$Request.route.strCategory"
|
||||
n_sex="$Request.route.strGender"
|
||||
n_status="$Request.route.strStatus"
|
||||
d_key="d_key"
|
||||
button_num="10" cache_life="86400" func="generateCategoryPager" export_name="resData" /}
|
||||
button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resData" /}
|
||||
|
||||
{site:grm page_code="pc_novel_library" diff="$resData.p_data.page" num="70" g_key="arrGrm" /}
|
||||
{/block}
|
||||
@@ -60,6 +60,9 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
|
||||
|
||||
{/block}
|
||||
|
||||
{block name='body-class'}top_xs{/block}
|
||||
|
||||
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
@@ -74,10 +77,17 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
|
||||
|
||||
{block name="main"}
|
||||
|
||||
<ul class="qs_nav">
|
||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
||||
<li class='{eq name="strCategoryPinyin" value="$Request.route.strCategory"}active_rank {/eq}'>
|
||||
<a href='{site:nflurl gender="$Request.route.strGender" category="$strCategoryPinyin" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
|
||||
>{$strCategoryName}</a>
|
||||
</li>
|
||||
{/novel:category}
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="wrap">
|
||||
<p class="site-description">{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}</p>
|
||||
<p class="site-description">{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}</p>
|
||||
<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">
|
||||
@@ -88,119 +98,69 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href="{$strCategoryIndexUrlTemp}" itemprop="item">
|
||||
<span itemprop="name">书库</span>
|
||||
<span itemprop="name">分类</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<!-- book-nav -->
|
||||
<div class="mod mod-nav">
|
||||
<div id="book-nav" class="book-nav">
|
||||
<ul class="clearfix">
|
||||
<li class='{eq name="$Request.route.strGender" value="all"}on {/eq} {eq name="$Request.route.strGender" value=""}on {/eq}'>
|
||||
<a href='{site:nflurl gender="all" category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
|
||||
title="全部">全部</a>
|
||||
</li>
|
||||
<li class='{eq name="$Request.route.strGender" value="$strNanUrl"}on {/eq}'>
|
||||
<a href='{site:nflurl gender="$strNanUrl" category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
|
||||
title="男生">男生</a>
|
||||
</li>
|
||||
<li class='{eq name="$Request.route.strGender" value="$strNvUrl"}on {/eq}'>
|
||||
<a href='{site:nflurl gender="$strNvUrl" category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
|
||||
title="女生">女生</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="book-nav" class="book-nav">
|
||||
<ul class="clearfix">
|
||||
|
||||
<li class='{eq name="$Request.route.strCategory" value="all"}on {/eq} {eq name="$Request.route.strCategory" value=""}on {/eq}'>
|
||||
<a href='{site:nflurl gender="$Request.route.strGender" category="all" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
|
||||
btn="search_category">全部</a>
|
||||
</li>
|
||||
{if $Request.route.strGender == "all" || $Request.route.strGender == ""}
|
||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
||||
<li class='{eq name="strCategoryPinyin" value="$Request.route.strCategory"}on {/eq}'>
|
||||
<a href='{site:nflurl gender="$Request.route.strGender" category="$strCategoryPinyin" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
|
||||
btn="search_category">{$strCategoryName}</a>
|
||||
</li>
|
||||
{/novel:category}
|
||||
{/if}
|
||||
|
||||
{eq name="$Request.route.strGender" value="$strNanUrl"}
|
||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName" n_sex="man"}
|
||||
<li class='{eq name="strCategoryPinyin" value="$Request.route.strCategory"}on {/eq}'>
|
||||
<a href='{site:nflurl gender="$Request.route.strGender" category="$strCategoryPinyin" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
|
||||
btn="search_category">{$strCategoryName}</a>
|
||||
</li>
|
||||
{/novel:category}
|
||||
{/eq}
|
||||
|
||||
{eq name="$Request.route.strGender" value="$strNvUrl"}
|
||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName" n_sex="women"}
|
||||
<li class='{eq name="strCategoryPinyin" value="$Request.route.strCategory"}on {/eq}'>
|
||||
<a href='{site:nflurl gender="$Request.route.strGender" category="$strCategoryPinyin" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
|
||||
btn="search_category">{$strCategoryName}</a>
|
||||
</li>
|
||||
{/novel:category}
|
||||
{/eq}
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div id="book-nav" class="book-nav">
|
||||
<ul class="clearfix">
|
||||
<li class='{eq name="$Request.route.strStatus" value="all"}on {/eq} {eq name="$Request.route.strStatus" value=""}on {/eq}'>
|
||||
<a href={site:nflurl gender="$Request.route.strGender" category="$Request.route.strCategory" status="all" page="$Request.route.intPage"/}'
|
||||
btn="search_category">全部</a>
|
||||
</li>
|
||||
<li class='{eq name="$Request.route.strStatus" value="lianzai"}on {/eq}'>
|
||||
<a href={site:nflurl gender="$Request.route.strGender" category="$Request.route.strCategory" status="lianzai" page="$Request.route.intPage"/}'
|
||||
btn="search_category">连载</a>
|
||||
</li>
|
||||
<li class='{eq name="$Request.route.strStatus" value="wanjie"}on {/eq}'>
|
||||
<a href={site:nflurl gender="$Request.route.strGender" category="$Request.route.strCategory" status="wanjie" page="$Request.route.intPage"/}'
|
||||
btn="search_category">完本</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="qs_list">
|
||||
<div class="index_qb dv1" style="margin-top:10px;">
|
||||
{volist name="$resData.data" id="Novel" key="key"}
|
||||
<a class="list br-b-1" href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}">
|
||||
{$arrGrm[$key]|raw}
|
||||
<div class="fmy">
|
||||
<h4>{$Novel.n_name}</h4>
|
||||
<div class="info">
|
||||
{$Novel.n_description}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
{/volist}
|
||||
</div>
|
||||
<div class="mod new-book">
|
||||
<div class="book-list">
|
||||
<ul class="clearfix">
|
||||
{volist name="$resData.data" id="Novel" key="key"}
|
||||
{include file="public/novelListH" start="0"/}
|
||||
{/volist}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="pages">
|
||||
<ul class="pager">
|
||||
{volist name="$resData.p_data.pager" id="vo" key="k"}
|
||||
{switch $vo.label}
|
||||
{case value="上一页"}
|
||||
{if $resData.p_data.page == 1}
|
||||
<li class="disabled"><span>«</span></li>
|
||||
{else}
|
||||
<li><a href="{$vo.url}">«</a></li>
|
||||
{/if}
|
||||
{/case}
|
||||
{case value="下一页"}
|
||||
{if $resData.p_data.page >= $resData.p_data.total}
|
||||
<li class="disabled"><span>»</span></li>
|
||||
{else}
|
||||
<li><a href="{$vo.url}">»</a></li>
|
||||
{/if}
|
||||
{/case}
|
||||
{/switch}
|
||||
{/volist}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="dv2 sort_page_num">
|
||||
{volist name="$resData.p_data.pager" id="vo" key="k"}
|
||||
{switch $vo.label}
|
||||
{case value="上一页"}
|
||||
{if $resData.p_data.page == 1}
|
||||
<span>«</span>
|
||||
{else}
|
||||
<a class="page_on" href="{$vo.url}">«</a>
|
||||
{/if}
|
||||
{/case}
|
||||
{case value="下一页"}
|
||||
{if $resData.p_data.page >= $resData.p_data.total}
|
||||
<span>»</span>
|
||||
{else}
|
||||
<a class="prev_on" href="{$vo.url}">»</a>
|
||||
{/if}
|
||||
{/case}
|
||||
{default /}
|
||||
{if preg_match('/^\d+$/', $vo.label)}
|
||||
<a href="{$vo.url}">{$vo.label}</a>
|
||||
{/if}
|
||||
{/switch}
|
||||
{/volist}
|
||||
|
||||
</div>
|
||||
<!-- hot-book -->
|
||||
</div>
|
||||
<div class="index_body">
|
||||
<div class="index_qb fmtj">
|
||||
<div class="tl t1">
|
||||
<span>完结小说推荐</span>
|
||||
<i>{$DomainModel->d_domain}</i>
|
||||
<c></c>
|
||||
</div>
|
||||
{novel:list count="8" sort_type="tuijian" n_status="wanjie" d_key="key" d_val="Novel" cache_life="86400"}
|
||||
|
||||
{include file="public/novelListH" start="31"/}
|
||||
|
||||
{/novel:list}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{/block}
|
||||
|
||||
{block name="customize"} {/block}
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
{block name="get-data"}
|
||||
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
|
||||
{chapter:pagerexp page="$Request.route.intPage" limit="10" 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" /}
|
||||
|
||||
{site:grm page_code="h5_novel_catalog " diff="$Request.url" num="120" g_key="arrGrm" /}
|
||||
{/block}
|
||||
|
||||
@@ -91,6 +94,9 @@
|
||||
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name='body-class'}chapterlist_xs{/block}
|
||||
|
||||
|
||||
{block name="logo-html"}
|
||||
<h2 class="logo">
|
||||
<a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>
|
||||
@@ -99,8 +105,7 @@
|
||||
|
||||
{block name="main"}
|
||||
|
||||
{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" /}
|
||||
|
||||
|
||||
<div class="wrap">
|
||||
<nav class="breadcrumb" aria-label="breadcrumb">
|
||||
@@ -127,35 +132,98 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<!-- hot-book -->
|
||||
<div class="mod mod-attentions">
|
||||
{$arrGrm[0]|raw}
|
||||
<div class="mod-head">
|
||||
<h1>{$arrNovel['n_name']}章节目录 - {$arrNovel['n_author']} - {$DomainModel->d_name} 第{$Request.route.intPage}页</h1>
|
||||
</div>
|
||||
|
||||
<h1 class="site-description ">{$arrNovel['n_name']}章节目录 - {$arrNovel['n_author']} - {$DomainModel->d_name} 第{$Request.route.intPage}页</h1>
|
||||
|
||||
<div class="attentions">
|
||||
<!-- 目录下拉分页-->
|
||||
{include file="public/allChapterPage" start="0"/}
|
||||
<div class="info_btn mb10">
|
||||
<a href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin"/}' class="a1">
|
||||
<span class="iconfont icon-mulu1 fs14"></span>
|
||||
详情
|
||||
</a>
|
||||
|
||||
<a href="javascript:addBookshelfFun();" class="a2 sj">
|
||||
<span class="iconfont icon-shoucang1"></span>
|
||||
收藏
|
||||
</a>
|
||||
|
||||
<ul class="clearfix">
|
||||
{if $Request.route.strOrder == 'zheng'}
|
||||
<a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="dao" page="1"/}'
|
||||
class="habt y">
|
||||
<span class="iconfont icon-daoxu"></span>
|
||||
切换成倒序
|
||||
</a>
|
||||
{else}
|
||||
<a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}'
|
||||
class="habt y">
|
||||
<span class="iconfont icon-daoxu"></span>
|
||||
切换成正序
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="wbj10">
|
||||
<div class="xs_info">
|
||||
<span class="iconfont icon-zhengxu fs20 btn_cl_1 mt5"></span>
|
||||
{if $Request.route.strOrder == 'zheng'}
|
||||
<i>当前 正序排列</i>
|
||||
{else}
|
||||
<i>当前 倒序排列</i>
|
||||
{/if}
|
||||
|
||||
<c></c>
|
||||
<h2 class="br-b-1 fs14">
|
||||
<a href="/shu/2540/" class="btn_cl_1">{$arrNovel['n_name']}</a>
|
||||
</h2>
|
||||
<ul class="ph_list duaejh">
|
||||
{volist name="resData.data" id="Chapter" key="key"}
|
||||
<li>
|
||||
{$arrGrm[$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"/}'
|
||||
title="{$arrNovel['n_name']} {$Chapter.c_name}">{$Chapter.c_name}</a>
|
||||
title="{$arrNovel['n_name']} {$Chapter.c_name}" class="s">
|
||||
{$Chapter.c_name}
|
||||
</a>
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
|
||||
<!-- 目录下拉分页-->
|
||||
{include file="public/allChapterPage" /}
|
||||
<div class="chapters-more">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="index_qb fmtj">
|
||||
<div class="tl t1">
|
||||
<span>完结小说推荐</span>
|
||||
<i>{$DomainModel->d_domain}</i>
|
||||
</div>
|
||||
{novel:list count="8" sort_type="tuijian" n_status="wanjie" d_key="key" d_val="Novel" cache_life="86400"}
|
||||
|
||||
{include file="public/novelListH" start="31"/}
|
||||
|
||||
{/novel:list}
|
||||
</div>
|
||||
|
||||
<div class="xs_phb zxgx">
|
||||
<span class="iconfont icon-gengxin btn_cl_1"></span>
|
||||
<i>{$DomainModel->d_domain}</i>
|
||||
<h2 class="btn_cl_1">最新更新</h2>
|
||||
<ul class="ph_list">
|
||||
{include file="public/novelListS" start="0"/}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{include file="public/allChapterPage" /}
|
||||
<!-- <div class="fenye">
|
||||
<div class="desc">
|
||||
<a href="/shu/2540/" class="dise r2 iconfont icon-syy"></a>
|
||||
</div>
|
||||
<select onchange="self.location.href=options[selectedIndex].value">
|
||||
<option value="/shu/2540/">第1-41章</option>
|
||||
</select>
|
||||
<div class="desc">
|
||||
<a href="/shu/2540/" class="dise r2 iconfont icon-xyy" id="xfanyebtn"></a>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,403 +1,202 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
{extend name="baseH5" /}
|
||||
|
||||
<head>
|
||||
{site:grm page_code="h5_novel_chapter" diff="$Request.url" num="20" g_key="arrGrm" /}
|
||||
{block name="get-data"}
|
||||
|
||||
{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" /}
|
||||
{/block}
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta http-equiv="Cache-Control" content="no-transform, max-age=3600" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
|
||||
<meta name="applicable-device" content="mobile" />
|
||||
<meta name="keywords" content='{site:replace code="NOVEL@GETNOVELCHAPTER@KEYWORDS"}'>
|
||||
<meta name="description" content='{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}'>
|
||||
<title>{site:replace code="NOVEL@GETNOVELCHAPTER@TITLE"}</title>
|
||||
<link rel="icon" href="/template/kuangyu/public/img/favicon.ico" type="image/x-icon" />
|
||||
{block name="title"}{site:replace code="NOVEL@GETNOVELCHAPTER@TITLE"}{/block}
|
||||
{block name="keywords"}{site:replace code="NOVEL@GETNOVELCHAPTER@KEYWORDS"}{/block}
|
||||
{block name="description"}{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}{/block}
|
||||
|
||||
<link rel="stylesheet" href="/template/kuangyu/reader/wap/css/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="//at.alicdn.com/t/font_934628_byagqjb6vae.css" type="text/css">
|
||||
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
|
||||
<!-- <script src="/public/jquery/jquery-3.7.1.min.js"></script> -->
|
||||
<script src="/public/js/yueduqsbs.js"></script>
|
||||
{block name="head"}
|
||||
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" />
|
||||
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}' />
|
||||
<meta property="og:url"
|
||||
content='https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' />
|
||||
<meta property="og:type" content="book" />
|
||||
<meta property="og:image" content="{$arrNovel.n_cover_path ?? ''}" />
|
||||
<meta property="og:site_name" content="{$DomainModel->d_name}" />
|
||||
<meta property="og:novel:category" content="{$arrNovel.n_category ?? ''}">
|
||||
<meta property="og:novel:author" content="{$arrNovel.n_author ?? ''}">
|
||||
<meta property="og:novel:book_name" content="{$arrNovel.n_name ?? ''}">
|
||||
<meta property="og:novel:read_url"
|
||||
content='https://{$DomainModel->d_domain}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num"/}'>
|
||||
<meta property="og:novel:status" content="{$arrNovel.n_status ?? ''}">
|
||||
<meta property="og:novel:update_time" content="{$arrNovel.n_update_time ?? ''}">
|
||||
<meta property="og:novel:latest_chapter_name" content="{$arrChapter.c_name}">
|
||||
<meta property="og:novel:latest_chapter_url"
|
||||
content='https://{$DomainModel->d_domain}{site:lcpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>
|
||||
<!-- 可选:支持 Twitter Card -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" />
|
||||
<meta name="twitter:description" content='{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}' />
|
||||
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Book",
|
||||
"name": "{$arrNovel['n_name'] ?? '未知小说'}",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{$arrNovel['n_author'] ??'佚名'}"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "{$DomainModel->d_name}",
|
||||
"url": "https://{$DomainModel->d_domain}"
|
||||
},
|
||||
"image": "{$arrNovel.n_cover_path ?? ''}",
|
||||
<!-- 社交媒体标签 -->
|
||||
|
||||
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" />
|
||||
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}' />
|
||||
<meta property="og:url"
|
||||
content='https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' />
|
||||
<meta property="og:type" content="book" />
|
||||
<meta property="og:image" content="{$arrNovel.n_cover_path ?? ''}" />
|
||||
<meta property="og:site_name" content="{$DomainModel->d_name}" />
|
||||
<meta property="og:novel:category" content="{$arrNovel.n_category ?? ''}">
|
||||
<meta property="og:novel:author" content="{$arrNovel.n_author ?? ''}">
|
||||
<meta property="og:novel:book_name" content="{$arrNovel.n_name ?? ''}">
|
||||
<meta property="og:novel:read_url"
|
||||
content='https://{$DomainModel->d_domain}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num"/}'>
|
||||
<meta property="og:novel:status" content="{$arrNovel.n_status ?? ''}">
|
||||
<meta property="og:novel:update_time" content="{$arrNovel.n_update_time ?? ''}">
|
||||
<meta property="og:novel:latest_chapter_name" content="{$arrChapter.c_name}">
|
||||
<meta property="og:novel:latest_chapter_url"
|
||||
content='https://{$DomainModel->d_domain}{site:lcpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>
|
||||
<!-- 可选:支持 Twitter Card -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" />
|
||||
<meta name="twitter:description" content="{$strDescription ?? '暂无简介'}" />
|
||||
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
|
||||
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Book",
|
||||
"name": "{$arrNovel['n_name'] ?? '未知小说'}",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{$arrNovel['n_author'] ??'佚名'}"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "{$DomainModel->d_name}",
|
||||
"url": "https://{$DomainModel->d_domain}"
|
||||
},
|
||||
"image": "{$arrNovel.n_cover_path ?? ''}",
|
||||
"url":'https://{$DomainModel->d_domain}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="0"/}',
|
||||
"inLanguage": "zh-CN",
|
||||
"genre": "{$arrNovel.n_category ??''}",
|
||||
"datePublished": "{$arrNovel['n_update_time'] ?? time()}",
|
||||
"hasPart": {
|
||||
"@type": "CreativeWork",
|
||||
"name": "{$arrChapter.c_name ?? ''}",
|
||||
"url":'https://{$DomainModel->d_domain}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="0"/}',
|
||||
"inLanguage": "zh-CN",
|
||||
"genre": "{$arrNovel.n_category ??''}",
|
||||
"datePublished": "{$arrNovel['n_update_time'] ?? time()}",
|
||||
"hasPart": {
|
||||
"@type": "CreativeWork",
|
||||
"name": "{$arrChapter.c_name ?? ''}",
|
||||
"url":'https://{$DomainModel->d_domain}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="0"/}',
|
||||
"description": '{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}'
|
||||
}
|
||||
"description": '{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}'
|
||||
}
|
||||
|
||||
</script>
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
</head>
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
<body class="skin-default">
|
||||
{$arrGrm[0]|raw}
|
||||
<aside id="asideChapter" class="aside" data-is-bind-scroll="true">
|
||||
<i id="asideOverlay" class="aside-overlay" role="button" title="点击关闭浮层"></i>
|
||||
<div id="asideChapterContent" class="aside-content">
|
||||
<div class="module module-merge">
|
||||
<div id="catelogX" class="chapter-tab-x active">
|
||||
<ol id="volumes" class="chapter-ol chapter-ol-catalog">
|
||||
{block name="head-js"}
|
||||
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
{$arrGrm[1]|raw}
|
||||
<div id="pageRead" class="page-read ">
|
||||
<content id="readContent" class="page-read-content">
|
||||
<div id="readLoadPrev" class="read-load-prev">
|
||||
<a class="read-load-icon btn-any loading"></a>
|
||||
<p class="read-load-p">下拉阅读上一章</p>
|
||||
</div>
|
||||
{$arrGrm[2]|raw}
|
||||
<div id="readLoadNext" class="read-load-next">
|
||||
{if $arrChapter.c_sort_num == 1 }
|
||||
{$arrGrm[3]|raw}
|
||||
<a href="javascript:" class="btn-normal red" data-size="14" role="button">上一章</a>
|
||||
{elseif $arrChapter['pre_chapter'] && $arrChapter['pre_chapter']['c_sort_num']}
|
||||
{$arrGrm[4]|raw}
|
||||
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.pre_chapter.c_sort_num" c_page="0"/}'
|
||||
class="btn-normal red" data-size="14" role="button">上一章</a>
|
||||
{/if}
|
||||
<script src="/template/xiongmao/style2_m/js/yuedu.js"></script>
|
||||
{/block}
|
||||
|
||||
{if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num}
|
||||
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.next_chapter.c_sort_num" c_page="0"/}'
|
||||
class="btn-normal red" data-size="14" role="button">下一章</a>
|
||||
{/if}
|
||||
<a href="#" class="btn-blank blue" style="display:none">已经是最后一章了 »</a>
|
||||
</div>
|
||||
<article id="chapterContent" class="read-article" style="font-size: 1.125rem">
|
||||
<section class="read-section jsChapterWrapper" data-chapter-id="4b2d5aab58d71">
|
||||
|
||||
<script>document.writeln(qsbs.bb('{$arrChapter.c_content}'));</script>
|
||||
</section>
|
||||
</article>
|
||||
{$arrGrm[5]|raw}
|
||||
<div id="readLoadNext" class="read-load-next">
|
||||
{if $arrChapter.c_sort_num == 1}
|
||||
<a href="javascript:" class="btn-normal red" data-size="14" role="button">上一章</a>
|
||||
{elseif $arrChapter['pre_chapter'] && $arrChapter['pre_chapter']['c_sort_num']}
|
||||
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.pre_chapter.c_sort_num" c_page="0"/}'
|
||||
class="btn-normal red" data-size="14" role="button">上一章</a>
|
||||
{/if}
|
||||
{block name="logo-html"}
|
||||
<h2 class="logo">
|
||||
<a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>
|
||||
</h2>
|
||||
{/block}
|
||||
|
||||
{if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num}
|
||||
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.next_chapter.c_sort_num" c_page="0"/}'
|
||||
class="btn-normal red" data-size="14" role="button">下一章</a>
|
||||
{/if}
|
||||
{block name='body-class'}novel_chapter{/block}
|
||||
{block name='body-id'}chapterbody{/block}
|
||||
|
||||
{block name="main"}
|
||||
|
||||
<a id="aGotoBookEnd" href="#" class="btn-blank blue" style="display:none">已经是最后一章了 »</a>
|
||||
</div>
|
||||
|
||||
</content>
|
||||
<div class="page-read-top">
|
||||
<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">
|
||||
<a href="/" itemprop="item">
|
||||
<span itemprop="name">首页</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<?php $arrNovel['n_category_pinyin'] ?? $arrNovel['n_category_pinyin'] = 'all'?>
|
||||
<a href='{site:nflurl gender="all" category="$arrNovel.n_category_pinyin" status="all" page="1"/}' itemprop="item">
|
||||
<span itemprop="name">{$arrNovel.n_category}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
<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>
|
||||
</a>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
<h1 id="chapterTitle" class="read-book-name">
|
||||
<a href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>
|
||||
{$arrNovel.n_name}
|
||||
</a>
|
||||
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="0"/}'>{$arrChapter.c_name}</a>
|
||||
|
||||
</h1>
|
||||
</div>
|
||||
<mark id="readPageMark" class="read-page-mark">你刚刚阅读到这里</mark>
|
||||
<p id="pageNum" class="read-page-num">1/1</p>
|
||||
<div class="set">
|
||||
<div id="lightdiv" class="set1" onclick="nr_setbg('light')">关灯</div>
|
||||
<div id="huyandiv" class="set1" onclick="nr_setbg('huyan')">护眼</div>
|
||||
<div class="set2">
|
||||
<span>字体:</span>
|
||||
<span id="fontbig" onclick="nr_setbg('big')">大</span>
|
||||
<span id="fontmiddle" onclick="nr_setbg('middle')">中</span>
|
||||
<span id="fontsmall" onclick="nr_setbg('small')">小</span>
|
||||
</div>
|
||||
{$arrGrm[6]|raw}
|
||||
<div id="pageReadOpt" class="page-read-opt" data-settings-str="dn:d|fs:3|skin:0|vh:v" data-book-publish="0"
|
||||
data-sale-modes="1" data-has-sub="0">
|
||||
<header class="header read-opt-header">
|
||||
<a href="javascript:history.back();" class="header-back jsBack">
|
||||
<i class="iconfont icon-previewleft">
|
||||
<title>返回</title>
|
||||
</i>
|
||||
</a>
|
||||
<div class="header-operate">
|
||||
<!-- <a id="btnPledgeTrigger" href="javascript:" class="iconfont icon-wodetuijianzhuanhongbao" title="打赏" role="button">
|
||||
</a> -->
|
||||
<a id="readBtnMore" href="javascript:" class="iconfont icon-dotshorizontal jsLayerTrigger" title="更多操作"
|
||||
data-rel="readMoreX" role="menu" aria-expanded="false">
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
<a href="javascript:" onclick="addBookshelfFun()" id="readJoinSJ" class="read-join-sj" role="button">加入书架</a>
|
||||
<div id="readMoreX" class="read-opt-more">
|
||||
<a href="/" class="read-opt-a">
|
||||
<i class="iconfont icon-zhuye1"></i>
|
||||
<h4>返回首页</h4>
|
||||
</a>
|
||||
<!-- <a href="javascript:" id="btnDownloadFreeChapters" class="read-opt-a">
|
||||
<i class="iconfont icon-lixianxiazai"></i>
|
||||
离线章节
|
||||
</a> -->
|
||||
<a href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' class="read-opt-a">
|
||||
<i class="iconfont icon-SU"></i>
|
||||
书籍详情
|
||||
</a>
|
||||
<a href="{$strBookShelfUrlTemp}" class="read-opt-a">
|
||||
<i class="iconfont icon-books"></i>
|
||||
返回我的书架
|
||||
</a>
|
||||
</div>
|
||||
<div id="readOptProg" class="read-opt-bot read-opt-prog">
|
||||
<div class="read-prog-info">
|
||||
<a href="javascript:" id="readProgPrev" class="read-prog-prev">
|
||||
<i class="iconfont icon-back" aria-hidden="true"></i>
|
||||
上一章
|
||||
</a>
|
||||
<a href="javascript:" id="readProgNext" class="read-prog-next">
|
||||
下一章
|
||||
<i class="iconfont icon-you" aria-hidden="true"></i>
|
||||
</a>
|
||||
<div id="readProgVal" class="read-prog-val">
|
||||
<h4 class="ell"></h4>
|
||||
<output role="presentation"></output>
|
||||
</div>
|
||||
</div>
|
||||
<div class="read-prog-bar">
|
||||
<input type="range" id="readProgRange" name="read-prog" min="0" max="1000" value="0">
|
||||
</div>
|
||||
</div>
|
||||
<div id="readOptSet" class="read-opt-bot read-opt-set">
|
||||
<div class="read-set-font">
|
||||
<a href="javascript:" id="readFontDown" class="read-font-down" data-index="0" role="button">
|
||||
<i class="iconfont icon-yueduye_zitijianxiao"></i>
|
||||
<aria>字号变小</aria>
|
||||
</a>
|
||||
<a href="javascript:" id="readFontUp" class="read-font-up" data-index="1" role="button">
|
||||
<i class="iconfont icon-yueduye_zitizengda"></i>
|
||||
<aria>字号变大</aria>
|
||||
</a>
|
||||
<div class="read-font-bar">
|
||||
<div class="range">
|
||||
<div class="range-track">
|
||||
<a class="range-thumb" role="slider" aria-valuenow="0" aria-valuemax="8"
|
||||
aria-valuemin="1"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="range" style="width: 668px;">
|
||||
<div class="range-track" style="border-left-width: 190.857px;"><a class="range-thumb"
|
||||
role="slider" aria-valuenow="3" aria-valuemax="8" aria-valuemin="1"></a></div>
|
||||
</div><input type="range" id="readFontRange" name="font-size" min="1" max="8" value="3">
|
||||
</div>
|
||||
</div>
|
||||
<div id="readSetSkin" class="read-set-skin">
|
||||
<ul class="btn-group" role="radiogroup">
|
||||
<li class="btn-group-cell read-set-cell">
|
||||
<input type="radio" id="skinDefault" name="skin" value="default" checked="" data-index="0"
|
||||
title="默认皮肤">
|
||||
<label class="read-skin-default" for="skinDefault" title="默认皮肤">
|
||||
<i class="iconfont icon-ok center"></i>
|
||||
</label>
|
||||
</li>
|
||||
<li class="btn-group-cell read-set-cell">
|
||||
<input type="radio" id="skinBlue" name="skin" value="blue" data-index="1" title="蓝色皮肤">
|
||||
<label class="read-skin-blue" for="skinBlue" title="蓝色皮肤">
|
||||
<i class="iconfont icon-ok center"></i>
|
||||
</label>
|
||||
</li>
|
||||
<li class="btn-group-cell read-set-cell">
|
||||
<input type="radio" id="skinGreen" name="skin" value="green" data-index="2" title="绿色皮肤">
|
||||
<label class="read-skin-green" for="skinGreen" title="绿色皮肤">
|
||||
<i class="iconfont icon-ok center"></i>
|
||||
</label>
|
||||
</li>
|
||||
<li class="btn-group-cell read-set-cell">
|
||||
<input type="radio" id="skinLight" name="skin" value="light" data-index="3" title="浅色皮肤">
|
||||
<label class="read-skin-light" for="skinLight" title="浅色皮肤">
|
||||
<i class="iconfont icon-ok center"></i>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="readSetLayout" class="read-set-layout">
|
||||
<ul class="btn-group">
|
||||
<li class="btn-group-cell read-set-cell">
|
||||
<input type="radio" id="layoutV" name="layout" value="v" checked="">
|
||||
<label class="read-btn-layout" for="layoutV">上下滑动</label>
|
||||
</li>
|
||||
<li class="btn-group-cell read-set-cell">
|
||||
<input type="radio" id="layoutH" name="layout" value="h">
|
||||
<label class="read-btn-layout" for="layoutH">左右滑动</label>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{$arrGrm[8]|raw}
|
||||
<footer class="read-opt-footer">
|
||||
<div class="btn-group">
|
||||
<!-- id="readBtnChapter" -->
|
||||
<a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}' class="btn-group-cell"
|
||||
data-rel="asideChapter" role="button" aria-haspopup="true">
|
||||
<i class="iconfont icon-mulu"></i>
|
||||
<h4 class="read-opt-footer-h">目录</h4>
|
||||
</a>
|
||||
<!-- <a href="javascript:" id="readBtnProg" class="btn-group-cell jsLayerTrigger" data-rel="readOptProg"
|
||||
role="menuitem">
|
||||
<i class="iconfont icon-jindutiao"></i>
|
||||
<h4 class="read-opt-footer-h">进度</h4>
|
||||
</a> -->
|
||||
<a href="javascript:" id="readBtnSet" class="btn-group-cell jsLayerTrigger" data-rel="readOptSet"
|
||||
role="menuitem">
|
||||
<i class="iconfont icon-shezhi"></i>
|
||||
<h4 class="read-opt-footer-h">设置</h4>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<a href="javascript:" id="readBtnMode" class="btn-group-cell" data-mode="night" role="checkbox"
|
||||
title="日间夜间模式切换">
|
||||
<i class="iconfont icon-yueliang"></i>
|
||||
<h4 class="read-opt-footer-h">夜间</h4>
|
||||
</a>
|
||||
<!-- <a href="/novel/332.html" class="btn-group-cell">
|
||||
<i class="iconfont icon-pinglun"></i>
|
||||
<h4 class="read-opt-footer-h">评论</h4>
|
||||
</a> -->
|
||||
</div>
|
||||
</footer>
|
||||
<div class="content">
|
||||
<h1 id="chaptername" class="chaptername">{$arrNovel['n_name']}最新章节 - {$arrChapter.c_name ?? ''}(第{$arrChapter.c_page +=1}页)</h1>
|
||||
<div class="chapter-page-btn">
|
||||
<ul>
|
||||
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
|
||||
<li class="prev">
|
||||
<a class="url_pre iconfont icon-syy" id="pb_prev" href="javascript:" ></a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $arrChapter.pre_chapter && $arrChapter.pre_chapter.c_sort_num}
|
||||
<li class="prev">
|
||||
<a class="url_pre iconfont icon-syy" id="pb_prev" href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.pre_chapter.c_sort_num" c_page="$arrChapter.pre_chapter.c_page"/}' ></a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
<li class="mulu">
|
||||
<a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}'>目录</a>
|
||||
</li>
|
||||
|
||||
<li class="mulu">
|
||||
<a onclick="addBookshelfFun()">存书签</a>
|
||||
</li>
|
||||
|
||||
{if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num}
|
||||
<li class="next">
|
||||
<a class="url_next iconfont icon-xyy" id="pb_next" href='{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>
|
||||
</li>
|
||||
|
||||
{/if}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
{$arrGrm[7]|raw}
|
||||
<script type="text/javascript" src="/template/kuangyu/reader/wap/js/zepto.min.js"></script>
|
||||
<div class="txt" id="txt">
|
||||
<p>
|
||||
{$arrGrm[3]|raw}
|
||||
<script>document.writeln(qsbs.bb('{$arrChapter.c_content}'));</script>
|
||||
{$arrGrm[4]|raw}
|
||||
</p>
|
||||
</div>
|
||||
<div class="djkk" id="kehgjs">
|
||||
</br></div>
|
||||
<div class="chapter-page-btn">
|
||||
<ul>
|
||||
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
|
||||
<li class="prev">
|
||||
<a class="url_pre iconfont icon-syy" id="pb_prev" href="javascript:" ></a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
<script type="text/javascript" src="/template/kuangyu/reader/wap/js/reader.js"></script>
|
||||
{if $arrChapter.pre_chapter && $arrChapter.pre_chapter.c_sort_num}
|
||||
<li class="prev">
|
||||
<a class="url_pre iconfont icon-syy" id="pb_prev" href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.pre_chapter.c_sort_num" c_page="$arrChapter.pre_chapter.c_page"/}' ></a>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
<script>
|
||||
const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`;
|
||||
</script>
|
||||
<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']}`,
|
||||
'c_sort_num' : `{$arrChapter.c_sort_num}`,
|
||||
'c_name' : `{$arrChapter.c_name}`,
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
var book = {};
|
||||
book.Info = {
|
||||
"Id": `{$arrNovel['n_id']}`,
|
||||
"Name": `{$arrNovel['n_name']}`,
|
||||
"authorName": `{$arrNovel['n_author']}`
|
||||
};
|
||||
book.chapter = {
|
||||
//页面进入加载的章节id
|
||||
id: '{$arrChapter.next_chapter.c_sort_num ?? 1}',
|
||||
//章节源id
|
||||
source_id: '{$arrChapter.next_chapter.c_sort_num ?? 1}',
|
||||
title: '{$arrChapter.next_chapter.c_name ?? 1}',
|
||||
content: '',
|
||||
//章节vip标识
|
||||
vipStatus: 0,
|
||||
//上一章id
|
||||
prevId: '{$arrChapter.next_chapter.c_sort_num ?? 1}',
|
||||
//下一章id
|
||||
nextId: '{$arrNextChapter.c_sort_num ?? 1}'
|
||||
};
|
||||
book.chapterUrl = '{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="0"/}' ;
|
||||
book.url = '{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'
|
||||
book.nextChapterVip = 0;
|
||||
book.uid = 0;
|
||||
</script>
|
||||
|
||||
<script src="/public/layer/layer.min.js"></script>
|
||||
<script src="/template/kuangyu/reader/wap/js/global.js" type="text/javascript"></script>
|
||||
<script src="/template/kuangyu/public/js/common.js"></script>
|
||||
<li class="mulu">
|
||||
<a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}'>目录</a>
|
||||
</li>
|
||||
|
||||
{block name="footer-js"}
|
||||
<!-- <script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
// 使用示例
|
||||
const statsData = {
|
||||
n_id: '{$arrNovel.n_id}',
|
||||
};
|
||||
// 调用方法1
|
||||
reportStats(statsData);
|
||||
})
|
||||
</script> -->
|
||||
{/block}
|
||||
<li class="mulu">
|
||||
<a onclick="addBookshelfFun()">存书签</a>
|
||||
</li>
|
||||
|
||||
{$arrGrm[10]|raw}
|
||||
</body>
|
||||
{if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num}
|
||||
<li class="next">
|
||||
<a class="url_next iconfont icon-xyy" id="pb_next" href='{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>
|
||||
</li>
|
||||
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
</br>
|
||||
<div id="ddfa2ehh">
|
||||
</br></div>
|
||||
</div>
|
||||
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
<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_update_time': `{$arrNovel['n_update_time']}`,
|
||||
'c_sort_num': 1,
|
||||
'c_name': `第一章`,
|
||||
};
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
{block name="customize"}
|
||||
|
||||
|
||||
{/block}
|
||||
|
||||
{block name="footer-js"}
|
||||
|
||||
{/block}
|
||||
@@ -6,7 +6,7 @@
|
||||
{else}
|
||||
{novel:info n_id="$DomainModel->info_id" n_key="arrNovel" n_forge_id="0" /}
|
||||
{/if}
|
||||
{site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
|
||||
{site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /}
|
||||
{/block}
|
||||
|
||||
{block name="title"}{site:replace code="NOVEL@GETNOVELINFO@TITLE" diff="$Request.route.intNovelId" /}{/block}
|
||||
@@ -15,12 +15,10 @@
|
||||
|
||||
{block name="head"}
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'}" />
|
||||
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intNovelId"}' />
|
||||
<meta property="og:description"
|
||||
content='{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intNovelId"}' />
|
||||
<meta property="og:url"
|
||||
content='https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' />
|
||||
<meta property="og:type" content="book" />
|
||||
@@ -39,7 +37,8 @@
|
||||
<!-- 可选:支持 Twitter Card -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="{$arrNovel['n_name'] ?? '未知小说'}" />
|
||||
<meta name="twitter:description" content='{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intNovelId"}' />
|
||||
<meta name="twitter:description"
|
||||
content='{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intNovelId"}' />
|
||||
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
@@ -102,172 +101,124 @@
|
||||
</h2>
|
||||
{/block}
|
||||
|
||||
|
||||
{block name='body-class'}info_xs{/block}
|
||||
|
||||
{block name="main"}
|
||||
<div class="wrap">
|
||||
|
||||
<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">
|
||||
<a href="/" itemprop="item">
|
||||
<span itemprop="name">首页</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<?php $arrNovel['n_category_pinyin'] ?? $arrNovel['n_category_pinyin'] = 'all'?>
|
||||
<a href='{site:nflurl gender="all" category="$arrNovel.n_category_pinyin" status="all" page="1"/}' itemprop="item">
|
||||
<span itemprop="name">{$arrNovel.n_category}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
<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>
|
||||
</a>
|
||||
<meta itemprop="position" content="3" />
|
||||
</li>
|
||||
</ol>
|
||||
<h1 class="site-description ">{$arrNovel['n_name']}最新章节 - {$arrNovel['n_author']} - {$DomainModel->d_name}</h1>
|
||||
</nav>
|
||||
|
||||
<!--info-->
|
||||
<div class="mod mod-info">
|
||||
{$arrGrm[0]|raw}
|
||||
<div class="book-info">
|
||||
<dl class="base clearfix">
|
||||
<dt>
|
||||
<img src="/static/img/default.jpg" data-src="{$arrNovel.n_cover_path ?? ''}"
|
||||
alt="{$arrNovel['n_name'] ?? ''}小说封面 - {$arrNovel.n_author}最新章节" class="lazy lazyload-img" />
|
||||
<div class="header_info">
|
||||
|
||||
<i class='{eq name="arrNovel.n_status" value="连载中"}serial{else}finish {/eq}'>已完结</i>
|
||||
</dt>
|
||||
<dd>
|
||||
<h2>{$arrNovel['n_name']}</h2>
|
||||
<p class="info">
|
||||
<span>分类:{$arrNovel.n_category}</span>
|
||||
<span>作者:<a href='{site:souurl key="$arrNovel.n_author" p="1"/}'>{$arrNovel.n_author}</a></span>
|
||||
<!-- <span>字数:54.20万字</span> -->
|
||||
<span>阅读:{$arrNovel.arrNovelClicks.total}</span>
|
||||
</p>
|
||||
</dd>
|
||||
</dl>
|
||||
{$arrGrm[1]|raw}
|
||||
<div class="btns">
|
||||
<ul>
|
||||
{if !empty($arrNovel.intFirstChapterSort)}
|
||||
<li>
|
||||
{$arrGrm[2]|raw}
|
||||
<a class="read-online reading" href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrNovel.intFirstChapterSort"/}'
|
||||
>点击阅读</a>
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
<a class="b5673b5cd4b" onclick="addBookshelfFun()">加入书架</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="intro">
|
||||
{$arrGrm[3]|raw}
|
||||
<div class="content">
|
||||
<p>
|
||||
{$arrNovel.n_description ?? ''}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- hot-book -->
|
||||
<div class="mod mod-info">
|
||||
<div class="book-info">
|
||||
<div class="mod-head">
|
||||
<h3>最新要点</h3>
|
||||
</div>
|
||||
{$arrGrm[4]|raw}
|
||||
<div class="intro">
|
||||
<div class="content">
|
||||
<p>
|
||||
{$arrNovel.strFocus}
|
||||
</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}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- hot-book -->
|
||||
<div class="mod mod-attentions">
|
||||
<div class="mod-head">
|
||||
<h3>{$arrNovel.n_name}最新章节</h3>
|
||||
</div>
|
||||
<div class="attentions">
|
||||
<ul class="clearfix">
|
||||
{chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"}
|
||||
<li>
|
||||
{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>
|
||||
{/chapter:list}
|
||||
|
||||
</ul>
|
||||
<div class="chapters-more">
|
||||
|
||||
<a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}'
|
||||
class="reading btn-bookshelf">{$arrNovel.n_name}更多章节</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mod mod-guess">
|
||||
<div class="mod-head">
|
||||
<h3>同类作品</h3>
|
||||
</div>
|
||||
<div class="book-slide">
|
||||
<ul class="clearfix">
|
||||
{foreach $arrNovel.arrRelateveNovel as $Novel}
|
||||
<li>
|
||||
{$arrGrm[$key+10]|raw}
|
||||
<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 ?? ''}" alt="{$Novel.n_name ?? ''}" />
|
||||
<span>{$Novel.n_name ?? ''}</span>
|
||||
<em>
|
||||
<aria>作者:</aria>{$Novel.n_author ?? ''}
|
||||
</em>
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
<div class="xs_info xsjs">
|
||||
<span class="iconfont icon-shuji fs24 btn_cl_2 mt3"></span>
|
||||
<i>
|
||||
<a href='{site:souurl key="$arrNovel.n_author" p="1"/}'>{$arrNovel.n_author}</a>
|
||||
/著
|
||||
</i>
|
||||
<h2 class="br-b-1 fs14 btn_cl_2">
|
||||
<a href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'
|
||||
class="btn_cl_2">{$arrNovel.n_name}</a>
|
||||
</h2>
|
||||
<div class="xs_introduce">
|
||||
{$arrNovel.n_description}
|
||||
</div>
|
||||
</div>
|
||||
<div class="xs_fmzz"></div>
|
||||
</div>
|
||||
<div class="xs_info qs_zx">
|
||||
<span class="iconfont icon-daoxu fs20 btn_cl_2 mt5"></span>
|
||||
<h2 class="br-b-1 fs14 btn_cl_2">
|
||||
<a href='{site:lcpurl n_id="$arrNovel.n_id"
|
||||
n_py="$arrNovel.n_name_pinyin" /}' class="btn_cl_2">{$arrNovel.n_name}</a>
|
||||
最新章节
|
||||
</h2>
|
||||
<ul class="ph_list">
|
||||
{chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="86400"}
|
||||
<li class="br-b-1">
|
||||
{$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"/}'
|
||||
class="s">
|
||||
{$Chapter.c_name}
|
||||
</a>
|
||||
</li>
|
||||
{/chapter:list}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="xs_info qs_zx">
|
||||
<span class="iconfont icon-daoxu fs20 btn_cl_2 mt5"></span>
|
||||
<h2 class="br-b-1 fs14 btn_cl_2">
|
||||
<a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}'
|
||||
class="btn_cl_2">
|
||||
{$arrNovel.n_name}</a>
|
||||
章节列表
|
||||
</h2>
|
||||
<ul class="ph_list">
|
||||
{chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter"
|
||||
cache_life="86400"}
|
||||
<li class="br-b-1">
|
||||
{$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"/}'
|
||||
class="s">
|
||||
{$Chapter.c_name}
|
||||
</a>
|
||||
</li>
|
||||
{/chapter:list}
|
||||
</ul>
|
||||
<a class="btn-normal abt3"
|
||||
href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}'>查看更多章节...</a>
|
||||
</div>
|
||||
|
||||
<div class="index_qb fmtj">
|
||||
<div class="tl t1">
|
||||
<span>完结小说推荐</span>
|
||||
<i>{$DomainModel->d_domain}</i>
|
||||
</div>
|
||||
{novel:list count="8" sort_type="tuijian" n_status="wanjie" d_key="key" d_val="Novel" cache_life="86400"}
|
||||
|
||||
{include file="public/novelListH" start="31"/}
|
||||
|
||||
{/novel:list}
|
||||
</div>
|
||||
<div class="xs_phb zxgx">
|
||||
<span class="iconfont icon-gengxin btn_cl_1"></span>
|
||||
<i>{$DomainModel->d_domain}</i>
|
||||
<h2 class="btn_cl_1">最新更新</h2>
|
||||
<ul class="ph_list">
|
||||
{include file="public/novelListS" start="0"/}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="info_btn mt10">
|
||||
<a href='{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}' class="a1">
|
||||
<span class="iconfont icon-mulu1 fs14" title="{$arrNovel.n_name}全文目录"></span>
|
||||
章节目录
|
||||
</a>
|
||||
<a href="javascript:addBookshelfFun()" class="a2 sj">
|
||||
<span class="iconfont icon-shoucang1" title="收藏{$arrNovel.n_name}"></span>
|
||||
加入书架
|
||||
</a>
|
||||
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrNovel.intFirstChapterSort"/}'
|
||||
class="a3">
|
||||
<span class="iconfont icon-yuedu1" title="{$arrNovel.n_name}全文免费阅读"></span>
|
||||
立即阅读
|
||||
</a>
|
||||
</div>
|
||||
<div style="height:60px"></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_update_time' : `{$arrNovel['n_update_time']}`,
|
||||
'c_sort_num' : 1,
|
||||
'c_name' : `第一章`,
|
||||
'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_update_time': `{$arrNovel['n_update_time']}`,
|
||||
'c_sort_num': 1,
|
||||
'c_name': `第一章`,
|
||||
};
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
@@ -1,177 +0,0 @@
|
||||
{extend name="baseH5" /}
|
||||
|
||||
{block name="get-data"}
|
||||
{site:helper func="initSexTKD" /}
|
||||
{/block}
|
||||
|
||||
{block name="title"}{site:replace code="NOVEL@GETNOVELRANK@TITLE"}{/block}
|
||||
{block name="keywords"}{site:replace code="NOVEL@GETNOVELRANK@KEYWORDS"}{/block}
|
||||
{block name="description"}{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}{/block}
|
||||
|
||||
{block name="head"}
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content='{site:replace code="NOVEL@GETNOVELRANK@TITLE"}' />
|
||||
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}' />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/paihang/all" />
|
||||
<meta property="og:type" content="book" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}/paihang/all",
|
||||
"@type": "book",
|
||||
"headline": '{site:replace code="NOVEL@GETNOVELRANK@TITLE"}',
|
||||
"description": '{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}',
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
<h1 class="logo">
|
||||
<a href="/">{$DomainModel->d_name}--排行榜最新免费阅读</a>
|
||||
</h1>
|
||||
{/block}
|
||||
|
||||
{block name="strPageCode"}
|
||||
<?php $strPageCode = 'rank'; ?>
|
||||
{/block}
|
||||
|
||||
|
||||
{block name="main"}
|
||||
|
||||
{site:grm page_code="h5_rank" diff="0" num="100" g_key="arrGrm" /}
|
||||
|
||||
<div class="wrap">
|
||||
<p class="site-description">{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}</p>
|
||||
|
||||
<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">
|
||||
<a href="/" itemprop="item">
|
||||
<span itemprop="name">首页</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href="{$strRankUrlTemp}" itemprop="item">
|
||||
<span itemprop="name">排行榜</span>
|
||||
</a>
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
<!-- hot-book -->
|
||||
<div class="mod mod-top-index">
|
||||
<div class="mod-head">
|
||||
<h2>日点击榜</h2>
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{novel:ranklist count="10" sort_type="daily" d_key="key" d_val="Novel" cache_life="1000"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="0"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="public/novelListRank" start="1"/}
|
||||
{/if}
|
||||
|
||||
{/novel:ranklist}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- hot-book -->
|
||||
<div class="mod mod-top-index">
|
||||
<div class="mod-head">
|
||||
<h2>周点击榜</h2>
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{novel:ranklist count="10" sort_type="weekly" d_key="key" d_val="Novel" cache_life="1000"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="10"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="public/novelListRank" start="11"/}
|
||||
{/if}
|
||||
|
||||
{/novel:ranklist}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- hot-book -->
|
||||
<div class="mod mod-top-index">
|
||||
<div class="mod-head">
|
||||
<h2>月点击榜</h2>
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{novel:ranklist count="10" sort_type="monthly" d_key="key" d_val="Novel" cache_life="1000"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="20"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="public/novelListRank" start="21"/}
|
||||
{/if}
|
||||
|
||||
{/novel:ranklist}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mod mod-top-index">
|
||||
<div class="mod-head">
|
||||
<h2>总点击榜</h2>
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{novel:ranklist count="10" sort_type="total" d_key="key" d_val="Novel" cache_life="1000"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="30"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="public/novelListRank" start="31"/}
|
||||
{/if}
|
||||
{/novel:ranklist}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mod mod-top-index">
|
||||
<div class="mod-head">
|
||||
<h2>新书榜</h2>
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{novel:ranklist count="10" sort_type="total" n_status="lianzai" d_key="key" d_val="Novel" cache_life="1000"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="40"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="public/novelListRank" start="41"/}
|
||||
{/if}
|
||||
{/novel:ranklist}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mod mod-top-index">
|
||||
<div class="mod-head">
|
||||
<h2>完结榜</h2>
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{novel:ranklist count="10" sort_type="total" n_status="wanjie" d_key="key" d_val="Novel" cache_life="1000"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="50"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="public/novelListRank" start="51"/}
|
||||
{/if}
|
||||
{/novel:ranklist}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name="customize"} {/block}
|
||||
@@ -40,6 +40,8 @@
|
||||
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name='body-class'}search_xs{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
<h1 class="logo">
|
||||
<a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>
|
||||
@@ -61,7 +63,7 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
<div class="search-list">
|
||||
|
||||
<div class="result">
|
||||
<h1>{$Request.get.keyword}搜索结果 - {$DomainModel->d_name} 第{$Request.get.intPage}页</h1>
|
||||
<h1>{$Request.get.keyword}搜索结果 - {$DomainModel->d_name} 第{$resData.p_data.page}页</h1>
|
||||
搜索<span style="color:red">“{$Request.get.keyword}”</span>相关结果共有 <span style="color:red">{$resData.p_data.total}</span> 部小说
|
||||
</div>
|
||||
{if empty($resData.data)}
|
||||
@@ -75,27 +77,30 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
<div class="pages">
|
||||
<ul class="pager">
|
||||
{volist name="$resData.p_data.pager" id="vo" key="k"}
|
||||
{switch $vo.label}
|
||||
{case value="上一页"}
|
||||
{if $resData.p_data.page == 1}
|
||||
<li class="disabled"><span>«</span></li>
|
||||
{else}
|
||||
<li><a href="{$vo.url}">«</a></li>
|
||||
{/if}
|
||||
{/case}
|
||||
{case value="下一页"}
|
||||
{if $resData.p_data.page >= $resData.p_data.total}
|
||||
<li class="disabled"><span>»</span></li>
|
||||
{else}
|
||||
<li><a href="{$vo.url}">»</a></li>
|
||||
{/if}
|
||||
{/case}
|
||||
{/switch}
|
||||
{/volist}
|
||||
</ul>
|
||||
<div class="dv2 sort_page_num">
|
||||
{volist name="$resData.p_data.pager" id="vo" key="k"}
|
||||
{switch $vo.label}
|
||||
{case value="上一页"}
|
||||
{if $resData.p_data.page == 1}
|
||||
<span>«</span>
|
||||
{else}
|
||||
<a class="page_on" href="{$vo.url}">«</a>
|
||||
{/if}
|
||||
{/case}
|
||||
{case value="下一页"}
|
||||
{if $resData.p_data.page >= $resData.p_data.total}
|
||||
<span>»</span>
|
||||
{else}
|
||||
<a class="prev_on" href="{$vo.url}">»</a>
|
||||
{/if}
|
||||
{/case}
|
||||
{default /}
|
||||
{if preg_match('/^\d+$/', $vo.label)}
|
||||
<a href="{$vo.url}">{$vo.label}</a>
|
||||
{/if}
|
||||
{/switch}
|
||||
{/volist}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user