This commit is contained in:
make
2025-04-11 23:56:23 +08:00
parent 9350a2afff
commit bc92b44086
37 changed files with 246 additions and 216 deletions

View File

@@ -12,7 +12,7 @@
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
{block name="head-css"}
<link rel="canonical"
href='https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}'>
href='https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}'>
{/block}
<!-- 社交媒体标签 -->
@@ -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}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrChapter.n_id}/zhang-1">
content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrChapter.n_id}/zhang-1">
<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}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrChapter.n_id}/zhang-{$arrChapter.c_sort_num}">
content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrChapter.n_id}/zhang-{$arrChapter.c_sort_num}">
<!-- 可选:支持 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}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}",
"url": "https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}",
"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}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}",
"url": "https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}",
"description": "{$strDescription}"
}
}
@@ -70,7 +70,7 @@
</head>
<body class="theme-0 w800" data-bid='/pc/xiaoshuo/name-1'>
<body class="theme-0 w800" data-bid='{$strPcPath}/xiaoshuo/name-1'>
{$arrGRM[0]|raw}
<div class="wrap">
<div class="read-header" id="readHeader">
@@ -82,7 +82,7 @@
<ul>
<li>
{$arrGRM[17]|raw}
<cite><a href="/pc/">首页</a></cite>
<cite><a href="{$strPcPath}/">首页</a></cite>
</li>
<li id="j_nearRead" class="">
<cite>最近阅读</cite>
@@ -90,7 +90,7 @@
<dl>
</dl>
{$arrGRM[18]|raw}
<a class="all" href='/pc/history'>
<a class="all" href='{$strPcPath}/history'>
查看全部<em class="iconfont"></em>
</a>
</div>
@@ -99,29 +99,29 @@
<cite>快速导航</cite>
<div class="dropdown type-list">
<div class="type-box">
<h3><a href="/pc/">首页</a></h3>
<h3><a href="{$strPcPath}/">首页</a></h3>
</div>
<div class="type-box">
<h3><a href='/pc/shuku/nansheng-xiaoshuo/all/all/page1'>男生</a></h3>
<h3><a href='{$strPcPath}/shuku/nansheng-xiaoshuo/all/all/page1'>男生</a></h3>
{foreach $arrCategoryAll.man as $key=>$vo }
<a href="/pc/shuku/nansheng-xiaoshuo/{$key}/all/page1">{$vo}</a>
<a href="{$strPcPath}/shuku/nansheng-xiaoshuo/{$key}/all/page1">{$vo}</a>
{/foreach}
</div>
<div class="type-box">
<h3><a href="/pc/shuku/nvsheng-xiaoshuo/{$key}/all/page1">女生</a></h3>
<h3><a href="{$strPcPath}/shuku/nvsheng-xiaoshuo/{$key}/all/page1">女生</a></h3>
{foreach $arrCategoryAll.women as $key=>$vo }
<a href="/pc/shuku/nvsheng-xiaoshuo/{$key}/all/page1">{$vo}</a>
<a href="{$strPcPath}/shuku/nvsheng-xiaoshuo/{$key}/all/page1">{$vo}</a>
{/foreach}
</div>
<div class="type-box">
<h3><a href="/pc/shuku/all">书库</a></h3>
<h3><a href="{$strPcPath}/shuku/all">书库</a></h3>
</div>
<div class="type-box">
<h3><a href="/pc/paihang/all">排行</a></h3>
<h3><a href="{$strPcPath}/paihang/all">排行</a></h3>
</div>
<!-- <div class="type-box">
<h3><a href="/pc/seo.html" >文章</a></h3>
<h3><a href="{$strPcPath}/seo.html" >文章</a></h3>
</div> -->
</div>
</li>
@@ -131,7 +131,7 @@
<div class="read-login fr">
<ul>
<li id="min-search">
<form action="/pc/search.html" method="get">
<form action="{$strPcPath}/search.html" 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">
@@ -142,11 +142,11 @@
<li class="line"></li>
<li class="sign-in">
<img src="/template/kuangyu/reader/web/images/user-icon.png" class="headPortrait">
<a href="/pc/user">123456</a>
<a href="{$strPcPath}/user">123456</a>
<div class="dropdown">
<!-- <a href="/user/index/index.html">个人中心</a> -->
{$arrGRM[16]|raw}
<a href="/pc/bookshelf">我的书架</a>
<a href="{$strPcPath}/bookshelf">我的书架</a>
<!-- <a href="/user/recentread/index.html">阅读记录</a> -->
<!-- <a href="/user/user/logout.html" class="exit">退出</a> -->
</div>
@@ -156,25 +156,25 @@
</div>
</div>
<div class="crumbs-nav">
<a href="/pc/">首页</a>
<a href="{$strPcPath}/">首页</a>
<em class="iconfont"></em>
{if $arrNovel.category_sex == 'man'}
{$arrGRM[15]|raw}
<a href='/pc/shuku/nansheng-xiaoshuo/all/all/page1'>男生</a>
<a href='{$strPcPath}/shuku/nansheng-xiaoshuo/all/all/page1'>男生</a>
<em class="iconfont"></em>
{$arrGRM[14]|raw}
<a
href='/pc/shuku/nansheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1'>{$arrNovel.og_novel_category}</a>
href='{$strPcPath}/shuku/nansheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1'>{$arrNovel.og_novel_category}</a>
{else}
<a href='/pc/shuku/nvsheng-xiaoshuo/all/all/page1'>女生</a>
<a href='{$strPcPath}/shuku/nvsheng-xiaoshuo/all/all/page1'>女生</a>
<em class="iconfont"></em>
{$arrGRM[13]|raw}
<a href='/pc/shuku/nvsheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1'>{$arrNovel.og_novel_category}</a>
<a href='{$strPcPath}/shuku/nvsheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1'>{$arrNovel.og_novel_category}</a>
{/if}
<em class="iconfont"></em>
{$arrGRM[12]|raw}
<a
href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>{$arrNovel.og_novel_book_name}</a>
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>{$arrNovel.og_novel_book_name}</a>
</div>
<div class="read-main-wrap font-family01" style="font-size:18px" id="j_readMainWrap">
<div id="j_chapterBox">
@@ -193,7 +193,7 @@
<div class="info fl">
{$arrGRM[11]|raw}
<a
href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>
<em class="iconfont"></em> {$arrNovel.og_novel_book_name}</a>
<a href="javascript:"> <em class="iconfont"></em> {$arrNovel.og_novel_author}</a>
<i><em class="iconfont"></em><span class="j_chapterWordCut">2000</span></i>
@@ -222,13 +222,13 @@
{else}
{$arrGRM[10]|raw}
<a id="j_chapterPrev"
href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrPreChapter.c_sort_num ?? 1}">上一章</a>
href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrPreChapter.c_sort_num ?? 1}">上一章</a>
{/if}
<span>|</span>
{if $arrNextChapter && $arrNextChapter.c_sort_num}
{$arrGRM[9]|raw}
<a id="j_chapterNext"
href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrNextChapter.c_sort_num ?? 1}">下一章</a>
href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrNextChapter.c_sort_num ?? 1}">下一章</a>
{/if}
</div>
</div>
@@ -238,7 +238,7 @@
<dl>
<dd id="j_navCatalogBtn">
{$arrGRM[8]|raw}
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng/1">
<a href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng/1">
<i><em class="iconfont"></em><span>目录</span></i>
</a>
</dd>
@@ -255,7 +255,7 @@
</dd>
<dd>
{$arrGRM[6]|raw}
<a href='/pc{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]" /}'>
<i><em class="iconfont"></em><span>详情</span></i>
</a>
</dd>
@@ -399,7 +399,7 @@
//下一章id
nextId: '{$arrNextChapter.c_sort_num ?? 1}'
};
book.chapterUrl = '/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrPreChapter.c_sort_num ?? 1}';
book.chapterUrl = '{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrPreChapter.c_sort_num ?? 1}';
book.nextChapterVip = 0;
</script>
<script type="text/javascript" src="/template/kuangyu/reader/web/js/global.js"></script>