428 lines
17 KiB
HTML
428 lines
17 KiB
HTML
<html>
|
|
|
|
<head>
|
|
{site:grm page_code="novel_chapter" diff="0" num="100" 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" /}
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="robots" content="index, follow" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<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" />
|
|
<link rel="stylesheet" href="/template/kuangyu/reader/web/css/style.css" type="text/css">
|
|
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
|
|
{block name="head-css"}
|
|
<link rel="canonical"
|
|
href='https://{$DomainModel->d_domain}{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num"/}'>
|
|
{/block}
|
|
|
|
<!-- 社交媒体标签 -->
|
|
<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}{$strPcPath}{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}{$strPcPath}{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}{$strPcPath}{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 ?? ''}",
|
|
"url":'https://{$DomainModel->d_domain}{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="$arrChapter.c_page"/}',
|
|
"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}{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="$arrChapter.c_page"/}',
|
|
"description": '{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}'
|
|
}
|
|
}
|
|
</script>
|
|
<script>
|
|
const strPcPath = `{$strPcPath}`;
|
|
</script>
|
|
<script src="/public/js/yueduqsbs.js"></script>
|
|
|
|
</head>
|
|
|
|
<body class="theme-0 w800" data-bid='{$strPcPath}/xiaoshuo/name-1'>
|
|
{$arrGrm[0]|raw}
|
|
<div class="wrap">
|
|
<div class="read-header" id="readHeader">
|
|
<div class="wrap-center cf">
|
|
<div class="left-nav fl">
|
|
<div class="logo">
|
|
{$DomainModel->d_text_log}
|
|
</div>
|
|
<ul>
|
|
<li>
|
|
{$arrGrm[17]|raw}
|
|
<cite><a href="{$strPcPath}/">首页</a></cite>
|
|
</li>
|
|
<li id="j_nearRead" class="">
|
|
<cite>最近阅读</cite>
|
|
<div class="dropdown last-read" id="j_nearList">
|
|
<dl>
|
|
</dl>
|
|
{$arrGrm[18]|raw}
|
|
<a class="all" href='{$strPcPath}{$strHistoryUrlTemp}'>
|
|
查看全部<em class="iconfont"></em>
|
|
</a>
|
|
</div>
|
|
</li>
|
|
<li class="quick-nav">
|
|
<cite>快速导航</cite>
|
|
<div class="dropdown type-list">
|
|
<div class="type-box">
|
|
<h3><a href="{$strPcPath}/">首页</a></h3>
|
|
</div>
|
|
<div class="type-box">
|
|
<h3><a href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="all" status="all" page="1"/}'>男生</a></h3>
|
|
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName" n_sex="man"}
|
|
<a href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="$strCategoryPinyin" status="all" page="1"/}'>{$strCategoryName}</a>
|
|
{/novel:category}
|
|
</div>
|
|
<div class="type-box">
|
|
|
|
<h3><a href='{$strPcPath}{site:nflurl gender="$strNvUrlTemp" category="all" status="all" page="1"/}'>女生</a></h3>
|
|
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName" n_sex="women"}
|
|
<a href='{$strPcPath}{site:nflurl gender="$strNvUrlTemp" category="$strCategoryPinyin" status="all" page="1"/}'>{$strCategoryName}</a>
|
|
{/novel:category}
|
|
</div>
|
|
<div class="type-box">
|
|
<h3><a href="{$strPcPath}{$strCategoryIndexUrlTemp}">书库</a></h3>
|
|
</div>
|
|
<div class="type-box">
|
|
<h3><a href="{$strPcPath}{$strRankUrlTemp}">排行</a></h3>
|
|
</div>
|
|
<!-- <div class="type-box">
|
|
<h3><a href="{$strPcPath}/seo.html" >文章</a></h3>
|
|
</div> -->
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
{$arrGrm[1]|raw}
|
|
<div class="read-login fr">
|
|
<ul>
|
|
<li id="min-search">
|
|
<form action="{$strPcPath}{$strSearchIndexUrlTemp}" method="get">
|
|
<input class="submit-input" type="submit" id="searchSubmit">
|
|
<input id="pin-input" class="pin-input hide" name="keyword" type="text" placeholder="">
|
|
<label id="pin-search" for="searchSubmit">
|
|
<em class="iconfont"></em>
|
|
</label>
|
|
</form>
|
|
</li>
|
|
<li class="line"></li>
|
|
<li class="sign-in">
|
|
<img src="/template/kuangyu/reader/web/images/user-icon.png" class="headPortrait">
|
|
<a href="{$strPcPath}{$strUserUrlTemp}">默认</a>
|
|
<div class="dropdown">
|
|
<!-- <a href="{$strUserUrlTemp}/index/index.html">个人中心</a> -->
|
|
{$arrGrm[16]|raw}
|
|
<a href="{$strPcPath}{$strBookShelfUrlTemp}">我的书架</a>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="crumbs-nav">
|
|
<a href="{$strPcPath}/">首页</a>
|
|
<em class="iconfont"></em>
|
|
{if $arrNovel.n_category_sex_en && $arrNovel.n_category_sex_en == 'man'}
|
|
{$arrGrm[15]|raw}
|
|
|
|
<a href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="all" status="all" page="1"/}'>男生</a>
|
|
<em class="iconfont"></em>
|
|
{$arrGrm[14]|raw}
|
|
<?php $arrNovel['n_category_pinyin'] ?? $arrNovel['n_category_pinyin'] = 'all'?>
|
|
<a
|
|
|
|
href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="$arrNovel.n_category_pinyin" status="all" page="1"/}'>{$arrNovel.n_category}</a>
|
|
{else}
|
|
<a href='{$strPcPath}{site:nflurl gender="$strNvUrlTemp" category="all" status="all" page="1"/}'>女生</a>
|
|
<em class="iconfont"></em>
|
|
{$arrGrm[13]|raw}
|
|
<a href='{$strPcPath}{site:nflurl gender="$strNvUrlTemp" category="$arrNovel.n_category_pinyin" status="all" page="1"/}'>{$arrNovel.n_category}</a>
|
|
{/if}
|
|
<em class="iconfont"></em>
|
|
{$arrGrm[12]|raw}
|
|
<a
|
|
href='{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>{$arrNovel.n_name}</a>
|
|
</div>
|
|
<div class="read-main-wrap font-family01" style="font-size:18px" id="j_readMainWrap">
|
|
<div id="j_chapterBox">
|
|
<div class="text-wrap" id="ajaxchapter-4b2d5aab58d71" data-cid="4b2d5aab58d71"
|
|
data-purl="javascript:void(0);" data-nurl=""
|
|
data-info="0|-1|486ef2abee55d|0">
|
|
<div class="main-text-wrap">
|
|
<div class="text-head">
|
|
<h1 class="j_chapterName">
|
|
<a href='{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>
|
|
{$arrNovel.n_name}
|
|
</a>
|
|
<a href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="$arrChapter.c_page"/}'
|
|
>{$arrChapter.c_name}</a>
|
|
</h1>
|
|
<div class="text-info cf">
|
|
<div class="info fl">
|
|
{$arrGrm[11]|raw}
|
|
<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='{$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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="read-content j_readContent">
|
|
{if $arrChapter && $arrChapter.c_content}
|
|
<script>document.writeln(qsbs.bb('{$arrChapter.c_content}'));</script>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="la-ball-pulse j_chapterLoad hidden" style="display: none;">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</div>
|
|
<div class="chapter-control dib-wrap">
|
|
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1 && $arrChapter.c_page == 0}
|
|
<a id="j_chapterPrev" href="javascript:void(0);">上一章</a>
|
|
{/if}
|
|
|
|
{if $arrChapter.pre_chapter && $arrChapter.pre_chapter.c_sort_num}
|
|
{$arrGrm[10]|raw}
|
|
<a id="j_chapterPrev"
|
|
href='{$strPcPath}{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>
|
|
{/if}
|
|
|
|
<span>|</span>
|
|
{if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num}
|
|
{$arrGrm[9]|raw}
|
|
<a id="j_chapterNext"
|
|
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>
|
|
</div>
|
|
</div>
|
|
<div class="float-wrap" id="j_floatWrap">
|
|
<div class="left-bar-list" id="j_leftBarList" style="top: 119px;">
|
|
<dl>
|
|
<dd id="j_navCatalogBtn">
|
|
{$arrGrm[8]|raw}
|
|
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" order="zheng" page="1"/}'>
|
|
<i><em class="iconfont"></em><span>目录</span></i>
|
|
</a>
|
|
</dd>
|
|
<dd id="j_navSettingBtn" class="">
|
|
<a href="javascript:">
|
|
<i><em class="iconfont"></em><span>设置</span></i>
|
|
</a>
|
|
</dd>
|
|
<dd>
|
|
{$arrGrm[7]|raw}
|
|
<a class="add-book" href="javascript:" onclick="addBookshelfFun()">
|
|
<i><em class="iconfont"></em><span>书架</span></i>
|
|
</a>
|
|
</dd>
|
|
<dd>
|
|
{$arrGrm[6]|raw}
|
|
<a href='{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>
|
|
<i><em class="iconfont"></em><span>详情</span></i>
|
|
</a>
|
|
</dd>
|
|
</dl>
|
|
{$arrGrm[5]|raw}
|
|
<!-- start 设置面板浮层 -->
|
|
<div class="panel-wrap setting" id="j_setting" style="display: none;">
|
|
<a class="iconfont close-panel setting-close" href="javascript:"></a>
|
|
<div class="panel-box">
|
|
<h4 class="lang">设置</h4>
|
|
<div class="setting-list-wrap">
|
|
<ul>
|
|
<li class="theme-list" id="j_themeList">
|
|
<i>阅读主题</i>
|
|
<span title="默认" class="theme-0 act" data-st="0">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
<span title="牛皮纸" class="theme-1 " data-st="1">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
<span title="淡绿色" class="theme-2 " data-st="2">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
<span title="淡蓝色" class="theme-3 " data-st="3">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
<span title="淡粉色" class="theme-4 " data-st="4">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
<span title="灰色" class="theme-5 " data-st="5">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
<span title="黑色" class="theme-6 " data-st="6">
|
|
<em class="iconfont"></em>
|
|
<cite class="iconfont"></cite>
|
|
</span>
|
|
|
|
</li>
|
|
{$arrGrm[4]|raw}
|
|
<li class="font-family" id="j_fontFamily">
|
|
<i>正文字体</i>
|
|
<span data-st="1" class="yahei act">雅黑</span>
|
|
<span data-st="2" class="yahei ">宋体</span>
|
|
<span data-st="3" class="yahei ">楷书</span>
|
|
</li>
|
|
<li class="font-size" id="j_fontSize">
|
|
<i>字体大小</i>
|
|
<cite>
|
|
<span class="prev">
|
|
<em class="iconfont"></em>
|
|
</span> <b></b>
|
|
<span class="lang">18</span> <b></b>
|
|
<span class="next">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
</cite>
|
|
</li>
|
|
<li class="page-width" id="j_pageWidth">
|
|
<i>页面宽度</i>
|
|
<cite>
|
|
<span class="prev">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
<b></b>
|
|
<span class="lang">
|
|
800 </span>
|
|
<b></b>
|
|
<span class="next">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
</cite>
|
|
</li>
|
|
{$arrGrm[3]|raw}
|
|
<li class="read-mode" id="j_readMode">
|
|
<i>阅读方式</i>
|
|
<span data-st="0" class="act">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
<span data-st="1">
|
|
<em class="iconfont"></em>
|
|
</span>
|
|
</li>
|
|
</ul>
|
|
<div class="btn-wrap dib-wrap">
|
|
<a class="red-btn" id="j_setSave" href="javascript:">保存</a>
|
|
<a class="grey-btn" id="j_setCancel" href="javascript:">取消</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end 设置面板浮层 -->
|
|
</div>
|
|
<div class="right-bar-list" id="j_rightBarList" style="bottom: 120px;">
|
|
<dl>
|
|
<dd class="go-top" id="j_goTop" title="返回顶部" style="display: none;">
|
|
<a href="javascript:">
|
|
<i>
|
|
<em class="iconfont"></em>
|
|
</i>
|
|
</a>
|
|
</dd>
|
|
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
{$arrGrm[2]|raw}
|
|
<script src="/public/jquery/jquery-3.7.1.min.js"></script>
|
|
<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']}`,
|
|
'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>
|
|
|
|
|
|
<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.pre_chapter.c_sort_num ?? 1}',
|
|
//章节源id
|
|
source_id: '{$arrChapter.pre_chapter.c_sort_num ?? 1}',
|
|
//章节vip标识
|
|
vipStatus: 0,
|
|
//上一章id
|
|
prevId: '{$arrChapter.pre_chapter.c_sort_num ?? 1}',
|
|
//下一章id
|
|
nextId: '{$arrChapter.next_chapter.c_sort_num ?? 1}'
|
|
};
|
|
book.chapterUrl = '{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="$arrChapter.c_page"/}' ;
|
|
book.nextChapterVip = 0;
|
|
</script>
|
|
<script type="text/javascript" src="/template/kuangyu/reader/web/js/global.js"></script>
|
|
<script src="/public/layer/layer.js"></script>
|
|
<script src="/template/kuangyu/public/js/common.js"></script>
|
|
{$arrGrm[19]|raw}
|
|
</body>
|
|
|
|
</html> |