This commit is contained in:
make
2025-04-12 18:20:35 +08:00
parent 1d431ecce5
commit 760fe47b5e
40 changed files with 751 additions and 338 deletions

View File

@@ -12,14 +12,14 @@
<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}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}'>
href='https://{$DomainModel->d_domain}{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$arrChapter[c_sort_num]"/}'>
{/block}
<!-- 社交媒体标签 -->
<meta property="og:title" content="{$arrNovel['og_novel_book_name']??'未知小说'} {$arrChapter.name} - {$DomainModel->d_name}" />
<meta property="og:description" content="{$strDescription??'暂无简介'}" />
<meta property="og:url"
content='https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' />
content='https://{$DomainModel->d_domain}{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' />
<meta property="og:type" content="book" />
<meta property="og:image" content="{$arrNovel.n_cover_path ?? ''}" />
<meta property="og:site_name" content="{$DomainModel->d_name}" />
@@ -27,12 +27,12 @@
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}">
<meta property="og:novel:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
<meta property="og:novel:read_url"
content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrChapter.n_id}/zhang-1">
content='https://{$DomainModel->d_domain}{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$$arrChapter[c_sort_num]"/}'>
<meta property="og:novel:status" content="{$arrNovel.og_novel_status ?? ''}">
<meta property="og:novel:update_time" content="{$arrNovel.og_novel_update_time ?? ''}">
<meta property="og:novel:latest_chapter_name" content="{$arrChapter.name}">
<meta property="og:novel:latest_chapter_url"
content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrChapter.n_id}/zhang-{$arrChapter.c_sort_num}">
content='https://{$DomainModel->d_domain}{$strPcPath}{site:lcpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>
<!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name']??'未知小说'} {$arrChapter.name} - {$DomainModel->d_name}" />
@@ -54,14 +54,14 @@
"url": "https://{$DomainModel->d_domain}"
},
"image": "{$arrNovel.n_cover_path ?? ''}",
"url": "https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}",
"url":'https://{$DomainModel->d_domain}{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$arrChapter[c_sort_num]" c_page="0"/}',
"inLanguage": "zh-CN",
"genre": "{$arrNovel.og_novel_category ??''}",
"datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}",
"hasPart": {
"@type": "CreativeWork",
"name": "{$arrChapter.name ?? ''}",
"url": "https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}",
"url":'https://{$DomainModel->d_domain}{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$arrChapter[c_sort_num]" c_page="0"/}',
"description": "{$strDescription}"
}
}
@@ -90,7 +90,7 @@
<dl>
</dl>
{$arrGRM[18]|raw}
<a class="all" href='{$strPcPath}/history'>
<a class="all" href='{$strPcPath}{$strHistoryUrlTemp}'>
查看全部<em class="iconfont"></em>
</a>
</div>
@@ -102,23 +102,23 @@
<h3><a href="{$strPcPath}/">首页</a></h3>
</div>
<div class="type-box">
<h3><a href='{$strPcPath}/shuku/nansheng-xiaoshuo/all/all/page1'>男生</a></h3>
<h3><a href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="all" status="all" page="1"/}'>男生</a></h3>
{foreach $arrCategoryAll.man as $key=>$vo }
<a href="{$strPcPath}/shuku/nansheng-xiaoshuo/{$key}/all/page1">{$vo}</a>
<a href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="{$key}" status="all" page="1"/}'>{$vo}</a>
{/foreach}
</div>
<div class="type-box">
<h3><a href="{$strPcPath}/shuku/nvsheng-xiaoshuo/{$key}/all/page1">女生</a></h3>
<h3><a href='{$strPcPath}{site:nflurl gender="$strNvUrlTemp" category="all" status="all" page="1"/}'>女生</a></h3>
{foreach $arrCategoryAll.women as $key=>$vo }
<a href="{$strPcPath}/shuku/nvsheng-xiaoshuo/{$key}/all/page1">{$vo}</a>
<a href='{$strPcPath}{site:nflurl gender="$strNvUrlTemp" category="{$key}" status="all" page="1"/}'>{$vo}</a>
{/foreach}
</div>
<div class="type-box">
<h3><a href="{$strPcPath}/shuku/all">书库</a></h3>
<h3><a href="{$strPcPath}{$strCategoryIndexUrlTemp}">书库</a></h3>
</div>
<div class="type-box">
<h3><a href="{$strPcPath}/paihang/all">排行</a></h3>
<h3><a href="{$strPcPath}{$strRankUrlTemp}">排行</a></h3>
</div>
<!-- <div class="type-box">
<h3><a href="{$strPcPath}/seo.html" >文章</a></h3>
@@ -131,7 +131,7 @@
<div class="read-login fr">
<ul>
<li id="min-search">
<form action="{$strPcPath}/search.html" method="get">
<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">
@@ -141,14 +141,12 @@
</li>
<li class="line"></li>
<li class="sign-in">
<img src="/template/kuangyu/reader/web/images/user-icon.png" class="headPortrait">
<a href="{$strPcPath}/user">123456</a>
<img src="/template/kuangyu/reader/web/images{$strUserUrlTemp}-icon.png" class="headPortrait">
<a href="{$strPcPath}{$strUserUrlTemp}">123456</a>
<div class="dropdown">
<!-- <a href="/user/index/index.html">个人中心</a> -->
<!-- <a href="{$strUserUrlTemp}/index/index.html">个人中心</a> -->
{$arrGRM[16]|raw}
<a href="{$strPcPath}/bookshelf">我的书架</a>
<!-- <a href="/user/recentread/index.html">阅读记录</a> -->
<!-- <a href="/user/user/logout.html" class="exit">退出</a> -->
<a href="{$strPcPath}{$strBookShelfUrlTemp}">我的书架</a>
</div>
</li>
</ul>
@@ -160,16 +158,18 @@
<em class="iconfont"></em>
{if $arrNovel.category_sex == 'man'}
{$arrGRM[15]|raw}
<a href='{$strPcPath}/shuku/nansheng-xiaoshuo/all/all/page1'>男生</a>
<a href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="all" status="all" page="1"/}'>男生</a>
<em class="iconfont"></em>
{$arrGRM[14]|raw}
<a
href='{$strPcPath}/shuku/nansheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1'>{$arrNovel.og_novel_category}</a>
href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="$arrNovel[category_pinyin]" status="all" page="1"/}'>{$arrNovel.og_novel_category}</a>
{else}
<a href='{$strPcPath}/shuku/nvsheng-xiaoshuo/all/all/page1'>女生</a>
<a href='{$strPcPath}{site:nflurl gender="$strNvUrlTemp" category="all" status="all" page="1"/}'>女生</a>
<em class="iconfont"></em>
{$arrGRM[13]|raw}
<a href='{$strPcPath}/shuku/nvsheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1'>{$arrNovel.og_novel_category}</a>
<a href='{$strPcPath}{site:nflurl gender="$strNvUrlTemp" category="$arrNovel[category_pinyin]" status="all" page="1"/}'>{$arrNovel.og_novel_category}</a>
{/if}
<em class="iconfont"></em>
{$arrGRM[12]|raw}
@@ -184,10 +184,11 @@
<div class="main-text-wrap">
<div class="text-head">
<h1 class="j_chapterName">
<a href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>
<a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>
{$arrNovel.og_novel_book_name}
</a>
<a href="/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num}">{$arrChapter.name}</a>
<a href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$arrChapter[c_sort_num]" c_page="0"/}'
>{$arrChapter.name}</a>
</h1>
<div class="text-info cf">
<div class="info fl">
@@ -222,13 +223,13 @@
{else}
{$arrGRM[10]|raw}
<a id="j_chapterPrev"
href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrPreChapter.c_sort_num ?? 1}">上一章</a>
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$arrPreChapter[c_sort_num]" c_page="0"/}'>上一章</a>
{/if}
<span>|</span>
{if $arrNextChapter && $arrNextChapter.c_sort_num}
{$arrGRM[9]|raw}
<a id="j_chapterNext"
href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrNextChapter.c_sort_num ?? 1}">下一章</a>
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$arrNextChapter[c_sort_num]" c_page="0"/}'>下一章</a>
{/if}
</div>
</div>
@@ -238,7 +239,7 @@
<dl>
<dd id="j_navCatalogBtn">
{$arrGRM[8]|raw}
<a href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng/1">
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" order="zheng" page="1"/}'>
<i><em class="iconfont"></em><span>目录</span></i>
</a>
</dd>
@@ -380,6 +381,7 @@
};
</script>
<script type="text/javascript">
var book = {};
book.Info = {
@@ -399,7 +401,7 @@
//下一章id
nextId: '{$arrNextChapter.c_sort_num ?? 1}'
};
book.chapterUrl = '{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrPreChapter.c_sort_num ?? 1}';
book.chapterUrl = '{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$arrChapter[c_sort_num]" c_page="0"/}' ;
book.nextChapterVip = 0;
</script>
<script type="text/javascript" src="/template/kuangyu/reader/web/js/global.js"></script>