Merge branch 'dev' of ssh://git.bgbg.live:18150/root/SEONexus into dev

This commit is contained in:
Default
2025-04-12 11:02:13 +08:00
37 changed files with 246 additions and 216 deletions

View File

@@ -90,8 +90,12 @@ abstract class BaseController
*/ */
public function rending($strTemplate = '') public function rending($strTemplate = '')
{ {
// pc端url目录模板
$strPcUrlPathTemplate = $this->request->DomainModel->getFomartSubject('PC_URL_PATH','',false);
// var_dump($strPcUrlPathTemplate);
View::assign("DomainModel", $this->request->DomainModel); View::assign("DomainModel", $this->request->DomainModel);
View::assign("TemplatesModel", $this->request->TemplatesModel); View::assign("TemplatesModel", $this->request->TemplatesModel);
View::assign("strPcPath", $strPcUrlPathTemplate);
return View::fetch($strTemplate); return View::fetch($strTemplate);
} }

View File

@@ -7,7 +7,9 @@ use app\home\controller\Novel;
use app\home\controller\User; use app\home\controller\User;
use think\facade\Route; use think\facade\Route;
// 路由配置文件 /**
* 路由配置文件
*/
$arrRoutes = [ $arrRoutes = [
// H5/PC 端前缀 // H5/PC 端前缀
'prefixes' => [ 'prefixes' => [
@@ -106,7 +108,9 @@ $arrRoutes = [
]; ];
// 遍历路由配置,动态注册 H5 和 PC 路由 /**
* 遍历路由配置,动态注册 H5 和 PC 路由
*/
foreach ($arrRoutes['prefixes'] as $platform => $prefixes) { foreach ($arrRoutes['prefixes'] as $platform => $prefixes) {
$prefixes = is_array($prefixes) ? $prefixes : [$prefixes]; $prefixes = is_array($prefixes) ? $prefixes : [$prefixes];
$boolIsMobile = $platform === 'h5'; $boolIsMobile = $platform === 'h5';

View File

@@ -31,12 +31,12 @@
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}"> <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:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
<meta property="og:novel:read_url" <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:status" content="{$arrNovel.og_novel_status ?? ''}">
<meta property="og:novel:update_time" content="{$arrNovel.og_novel_update_time ?? ''}"> <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_name" content="{$arrChapter.name}">
<meta property="og:novel:latest_chapter_url" <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 --> <!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name']??'未知小说'} {$arrChapter.name} - {$DomainModel->d_name}" /> <meta name="twitter:title" content="{$arrNovel['og_novel_book_name']??'未知小说'} {$arrChapter.name} - {$DomainModel->d_name}" />
@@ -58,14 +58,14 @@
"url": "https://{$DomainModel->d_domain}" "url": "https://{$DomainModel->d_domain}"
}, },
"image": "{$arrNovel.n_cover_path ?? ''}", "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", "inLanguage": "zh-CN",
"genre": "{$arrNovel.og_novel_category ??''}", "genre": "{$arrNovel.og_novel_category ??''}",
"datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}", "datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}",
"hasPart": { "hasPart": {
"@type": "CreativeWork", "@type": "CreativeWork",
"name": "{$arrChapter.name ?? ''}", "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}" "description": "{$strDescription}"
} }
} }
@@ -344,7 +344,7 @@
//下一章id //下一章id
nextId: '{$arrNextChapter.c_sort_num ?? 1}' 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.url = '{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' book.url = '{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'
book.nextChapterVip = 0; book.nextChapterVip = 0;
book.uid = 0; book.uid = 0;

View File

@@ -7,7 +7,7 @@
<meta property="og:title" content="{$arrNovel['og_novel_book_name']??'未知小说'}章节目录 - {$DomainModel->d_name} 第{$intPage}页 " /> <meta property="og:title" content="{$arrNovel['og_novel_book_name']??'未知小说'}章节目录 - {$DomainModel->d_name} 第{$intPage}页 " />
<meta property="og:description" content="{$strDescription??'暂无简介'}" /> <meta property="og:description" content="{$strDescription??'暂无简介'}" />
<meta property="og:url" <meta property="og:url"
content='https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}' /> content='https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}' />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:image" content="{$arrNovel.n_cover_path ?? ''}" /> <meta property="og:image" content="{$arrNovel.n_cover_path ?? ''}" />
<meta property="og:site_name" content="{$DomainModel->d_name}" /> <meta property="og:site_name" content="{$DomainModel->d_name}" />
@@ -15,12 +15,12 @@
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}"> <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:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
<meta property="og:novel:read_url" <meta property="og:novel:read_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$intPage}"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$intPage}">
<meta property="og:novel:status" content="{$arrNovel.og_novel_status ?? ''}"> <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:update_time" content="{$arrNovel.og_novel_update_time ?? ''}">
<meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}"> <meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}">
<meta property="og:novel:latest_chapter_url" <meta property="og:novel:latest_chapter_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}">
<!-- 可选:支持 Twitter Card --> <!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" /> <meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" />

View File

@@ -15,12 +15,12 @@
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}"> <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:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
<meta property="og:novel:read_url" <meta property="og:novel:read_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1">
<meta property="og:novel:status" content="{$arrNovel.og_novel_status ?? ''}"> <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:update_time" content="{$arrNovel.og_novel_update_time ?? ''}">
<meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}"> <meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}">
<meta property="og:novel:latest_chapter_url" <meta property="og:novel:latest_chapter_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}">
<!-- 可选:支持 Twitter Card --> <!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" /> <meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" />

View File

@@ -1,10 +1,10 @@
<li> <li>
<ul> <ul>
<li class="lb"><a href="/pc/article/info-332.html" >耽美百合</a></li> <li class="lb"><a href="{$strPcPath}/article/info-332.html" >耽美百合</a></li>
<li class="sm"> <li class="sm">
<h3><a href="/pc/article/info-332.html" title="我真是一条龙" >我真是一条龙</a></h3> <h3><a href="{$strPcPath}/article/info-332.html" title="我真是一条龙" >我真是一条龙</a></h3>
</li> </li>
<li class="gx"><a href="/pc/article/info-332.html" title="老读者必看公告!!!" <li class="gx"><a href="{$strPcPath}/article/info-332.html" title="老读者必看公告!!!"
>老读者必看公告!!!</a></li> >老读者必看公告!!!</a></li>
<li class="zz">兔子很淡定</li> <li class="zz">兔子很淡定</li>
<li class="sj">1天前</li> <li class="sj">1天前</li>

View File

@@ -1,14 +1,14 @@
<li> <li>
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<h3> <h3>
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" class="book_cov"> <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" class="book_cov">
<img class="lazyload_book_cover lazyload-img" <img class="lazyload_book_cover lazyload-img"
src="/static/img/default.jpg" data-src="{$Novel->n_cover_path ?? ''}" src="/static/img/default.jpg" data-src="{$Novel->n_cover_path ?? ''}"
alt="{$Novel->og_novel_book_name ?? ''}- {$Novel.og_novel_category ?? ''}最新章节在线免费阅读"> alt="{$Novel->og_novel_book_name ?? ''}- {$Novel.og_novel_category ?? ''}最新章节在线免费阅读">
</a> </a>
</h3> </h3>
<div class="book_inf"> <div class="book_inf">
<h3><a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" >{$Novel->og_novel_book_name ?? ''}</a></h3> <h3><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" >{$Novel->og_novel_book_name ?? ''}</a></h3>
<span class="aut">{$Novel->og_novel_author ?? ''}</span> <span class="aut">{$Novel->og_novel_author ?? ''}</span>
</div> </div>
</li> </li>

View File

@@ -1,6 +1,6 @@
<div class="bookLink"> <div class="bookLink">
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' > <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' >
<div class="bookImg"> <div class="bookImg">
<img class="lazyload-img" <img class="lazyload-img"
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读"> src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读">

View File

@@ -1,6 +1,6 @@
<div class="bookLink oneLine"> <div class="bookLink oneLine">
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' > <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' >
<em>「{$Novel->og_novel_category ?? ''}」</em> <em>「{$Novel->og_novel_category ?? ''}」</em>
{$Novel.og_novel_book_name ?? ''} {$Novel.og_novel_book_name ?? ''}
</a> </a>

View File

@@ -1,14 +1,14 @@
<li> <li>
<h3> <h3>
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" > <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" >
{$Novel->og_novel_book_name ?? ''} {$Novel->og_novel_book_name ?? ''}
</a> </a>
</h3> </h3>
<div class="book_inf"> <div class="book_inf">
<span class="aut">{$Novel->og_novel_author ?? ''}</span> <span class="aut">{$Novel->og_novel_author ?? ''}</span>
<span class="tag"><a href="/pc/shuku/all/{$Novel->category_pinyin ?? 'all'}/all/page1" >{$Novel->og_novel_category ?? ''}</a></span> <span class="tag"><a href="{$strPcPath}/shuku/all/{$Novel->category_pinyin ?? 'all'}/all/page1" >{$Novel->og_novel_category ?? ''}</a></span>
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" class="book_cov"> <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" class="book_cov">
<img class="lazyload_book_cover lazyload-img" <img class="lazyload_book_cover lazyload-img"
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}"
alt="{$Novel->og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读"> alt="{$Novel->og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读">

View File

@@ -1,9 +1,9 @@
<div class="f3_L"> <div class="f3_L">
<h3> <h3>
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" > <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" >
{$Novel.og_novel_book_name ?? ''}</a></h3> {$Novel.og_novel_book_name ?? ''}</a></h3>
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" class="book_cov"> <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" class="book_cov">
<img class="lazyload_book_cover lazyload-img" <img class="lazyload_book_cover lazyload-img"
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}"
alt="{$Novel.og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读"> alt="{$Novel.og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读">

View File

@@ -2,12 +2,12 @@
<em class="red_bg">{$key+=1}</em> <em class="red_bg">{$key+=1}</em>
<h3 class="name"> <h3 class="name">
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" > <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" >
{$Novel.og_novel_book_name ?? ''} {$Novel.og_novel_book_name ?? ''}
</a> </a>
</h3> </h3>
<div class="open"> <div class="open">
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" class="book_cov"> <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" class="book_cov">
<img class="lazyload_book_cover lazyload-img" <img class="lazyload_book_cover lazyload-img"
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''}"> src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''}">
</a> </a>

View File

@@ -2,10 +2,10 @@
<em class="red_bg">1</em> <em class="red_bg">1</em>
<h3 class="name"> <h3 class="name">
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" >{$Novel.og_novel_book_name ?? ''}</a> <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" >{$Novel.og_novel_book_name ?? ''}</a>
</h3> </h3>
<div class="open"> <div class="open">
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" class="book_cov"> <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" class="book_cov">
<img class="lazyload_book_cover lazyload-img" <img class="lazyload_book_cover lazyload-img"
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读"> src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读">
</a> </a>

View File

@@ -5,12 +5,12 @@
<li class="sm"> <li class="sm">
<h3> <h3>
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" > <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name ?? ''}" >
{$Novel.og_novel_book_name ?? ''}</a> {$Novel.og_novel_book_name ?? ''}</a>
</h3> </h3>
</li> </li>
<li class="gx"> <li class="gx">
<a href='/pc/books/{$Novel->og_novel_pin_yin}-{$Novel->n_id}/chapter/latest.html' <a href='{$strPcPath}/books/{$Novel->og_novel_pin_yin}-{$Novel->n_id}/chapter/latest.html'
title="{$Novel->og_novel_latest_chapter_name ?? 'null'}" title="{$Novel->og_novel_latest_chapter_name ?? 'null'}"
>{$Novel->og_novel_latest_chapter_name ?? 'null'}</a></li> >{$Novel->og_novel_latest_chapter_name ?? 'null'}</a></li>
<li class="zz">{$Novel->og_novel_author ?? 'null'}</li> <li class="zz">{$Novel->og_novel_author ?? 'null'}</li>

View File

@@ -1,13 +1,13 @@
<li> <li>
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<a href='/pc{site:nurl n_id="$Novel->n_id ?? 1" n_py="$Novel->og_novel_pin_yin"/}' class="book_cov" title="{$Novel->og_novel_book_name ?? ''}"> <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id ?? 1" n_py="$Novel->og_novel_pin_yin"/}' class="book_cov" title="{$Novel->og_novel_book_name ?? ''}">
<img class="lazyload_book_cover lazyload-img" <img class="lazyload_book_cover lazyload-img"
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel->og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读"> src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel->og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读">
</a> </a>
<div class="book_inf"> <div class="book_inf">
<h3><a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" >{$Novel->og_novel_book_name ?? ''}</a></h3> <h3><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" >{$Novel->og_novel_book_name ?? ''}</a></h3>
<p> <p>
<span>作者:<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_author ?? ''}">{$Novel->og_novel_author ?? ''}</a></span> <span>作者:<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_author ?? ''}">{$Novel->og_novel_author ?? ''}</a></span>
<span>分类:<a href="/lists/4.html" title="{$Novel->og_novel_category ?? ''}">{$Novel->og_novel_category ?? ''}</a></span> <span>分类:<a href="/lists/4.html" title="{$Novel->og_novel_category ?? ''}">{$Novel->og_novel_category ?? ''}</a></span>
<span>状态:{$Novel->og_novel_status ?? ''}</span> <span>状态:{$Novel->og_novel_status ?? ''}</span>
<!-- <span>总字数43.80万字+</span> --> <!-- <span>总字数43.80万字+</span> -->
@@ -16,12 +16,12 @@
<i>标签:</i> <i>标签:</i>
<i></i> <i></i>
</p> </p>
<p><b>最近更新:</b><a href="/pc/chapter/1-1-1.html" title="219 桃花酿" >219 桃花酿</a> <p><b>最近更新:</b><a href="{$strPcPath}/chapter/1-1-1.html" title="219 桃花酿" >219 桃花酿</a>
</p> </p>
<p class="int"> {$Novel->og_description ?? ''}</p> <p class="int"> {$Novel->og_description ?? ''}</p>
</div> </div>
<div class="right"> <div class="right">
<span>更新时间2025-03-20 23:59</span> <span>更新时间2025-03-20 23:59</span>
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' class="read_btn btn">立即阅读</a> <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' class="read_btn btn">立即阅读</a>
</div> </div>
</li> </li>

View File

@@ -1,7 +1,7 @@
<li> <li>
{$arrGRM[$key+[start]]|raw} {$arrGRM[$key+[start]]|raw}
<h3> <h3>
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name}" class="book_cov"> <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel.og_novel_book_name}" class="book_cov">
<img class="lazyload_lb_nv lazyload-img" <img class="lazyload_lb_nv lazyload-img"
src="/static/img/default.jpg" data-src="{$Novel->n_cover_path ?? '/static/img/default.jpg'}" src="/static/img/default.jpg" data-src="{$Novel->n_cover_path ?? '/static/img/default.jpg'}"
alt="{$Novel->og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读"> alt="{$Novel->og_novel_book_name ?? ''} - {$Novel.og_novel_category ?? ''}最新章节在线免费阅读">

View File

@@ -31,7 +31,7 @@
{$arrGRM[1]|raw} {$arrGRM[1]|raw}
<div class="i-title"> <div class="i-title">
我的书架 我的书架
<a href="/pc/bookshelf" class="clickMore">查看更多&gt;&gt;</a> <a href="{$strPcPath}/bookshelf" class="clickMore">查看更多&gt;&gt;</a>
</div> </div>
<ul class="bookUl" id="bookshelf-ul"> <ul class="bookUl" id="bookshelf-ul">
@@ -42,7 +42,7 @@
<div class="myMod"> <div class="myMod">
<div class="i-title"> <div class="i-title">
最近阅读 最近阅读
<a href="/pc/history" class="clickMore">查看更多&gt;&gt;</a> <a href="{$strPcPath}/history" class="clickMore">查看更多&gt;&gt;</a>
</div> </div>
<ul class="bookUl" id="history-ul"> <ul class="bookUl" id="history-ul">
@@ -76,7 +76,7 @@
{volist name="arrRecommendEndNovel" id="Novel" key="key"} {volist name="arrRecommendEndNovel" id="Novel" key="key"}
{$arrGRM[$key]|raw} {$arrGRM[$key]|raw}
<li> <li>
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}'
alt="{$Novel.og_novel_book_name ?? ''}" title="{$Novel.og_novel_book_name ?? ''}"> alt="{$Novel.og_novel_book_name ?? ''}" title="{$Novel.og_novel_book_name ?? ''}">
<img src="{$Novel.n_cover_path ?? ''}"> <img src="{$Novel.n_cover_path ?? ''}">
</a> </a>
@@ -151,26 +151,26 @@
`; `;
} else { } else {
bookElement.innerHTML = ` bookElement.innerHTML = `
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" alt="${book.og_novel_book_name}" title="${book.og_novel_book_name}"> <a href="{$strPcPath}/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" alt="${book.og_novel_book_name}" title="${book.og_novel_book_name}">
<img src="${book.n_cover_path}"> <img src="${book.n_cover_path}">
</a> </a>
<p> <p>
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" > <a href="{$strPcPath}/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" >
<span class="bookName">${book.og_novel_book_name}</span> <span class="bookName">${book.og_novel_book_name}</span>
</a> </a>
<span class="bookStatus"> <span class="bookStatus">
<b class="authorSt"><em>${book.og_novel_status}</em> <b class="authorSt"><em>${book.og_novel_status}</em>
<a href="/pc/search.html?keyword=${book.og_novel_author}"> <a href="{$strPcPath}/search.html?keyword=${book.og_novel_author}">
<em class="none">${book.og_novel_author}</em> <em class="none">${book.og_novel_author}</em>
</a> </a>
</b> </b>
<b class="authorSt chapterSt"> <b class="authorSt chapterSt">
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" > <a href="{$strPcPath}/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<em class="ct">${book.c_name}</em> <em class="ct">${book.c_name}</em>
</a> </a>
<em class="time">${book.og_novel_update_time}</em></b> <em class="time">${book.og_novel_update_time}</em></b>
</span> </span>
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" > <a href="{$strPcPath}/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<i class="goon">阅读</i> <i class="goon">阅读</i>
</a> </a>
</p> </p>
@@ -225,26 +225,26 @@
`; `;
} else { } else {
bookElement.innerHTML = ` bookElement.innerHTML = `
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" alt="${book.og_novel_book_name}" title="${book.og_novel_book_name}"> <a href="{$strPcPath}/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" alt="${book.og_novel_book_name}" title="${book.og_novel_book_name}">
<img src="${book.n_cover_path}"> <img src="${book.n_cover_path}">
</a> </a>
<p> <p>
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" > <a href="{$strPcPath}/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}" >
<span class="bookName">${book.og_novel_book_name}</span> <span class="bookName">${book.og_novel_book_name}</span>
</a> </a>
<span class="bookStatus"> <span class="bookStatus">
<b class="authorSt"><em>${book.og_novel_status}</em> <b class="authorSt"><em>${book.og_novel_status}</em>
<a href="/pc/search.html?keyword=${book.og_novel_author}"> <a href="{$strPcPath}/search.html?keyword=${book.og_novel_author}">
<em class="none">${book.og_novel_author}</em> <em class="none">${book.og_novel_author}</em>
</a> </a>
</b> </b>
<b class="authorSt chapterSt"> <b class="authorSt chapterSt">
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" > <a href="{$strPcPath}/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<em class="ct">${book.c_name}</em> <em class="ct">${book.c_name}</em>
</a> </a>
<em class="time">${book.og_novel_update_time}</em></b> <em class="time">${book.og_novel_update_time}</em></b>
</span> </span>
<a href="/pc/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" > <a href="{$strPcPath}/xiaoshuo/${book.og_novel_pin_yin}-${book.n_id}/zhang-${book.c_sort_num}" >
<i class="goon">阅读</i> <i class="goon">阅读</i>
</a> </a>
</p> </p>

View File

@@ -23,7 +23,7 @@
{block name="logo-html"} {block name="logo-html"}
<h2> <h2>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h2> </h2>

View File

@@ -23,7 +23,7 @@
{block name="logo-html"} {block name="logo-html"}
<h2> <h2>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h2> </h2>
@@ -46,13 +46,13 @@
<div class="optCl" mod="search_channel"> <div class="optCl" mod="search_channel">
<span class="optTit">所属分类</span> <span class="optTit">所属分类</span>
<ul> <ul>
<li><a class="on" href="/pc/article/list.html" btn="search_category">全部</a></li> <li><a class="on" href="{$strPcPath}/article/list.html" btn="search_category">全部</a></li>
<li><a href="/pc/article/list-1-1.html" btn="search_category">高考作文</a></li> <li><a href="{$strPcPath}/article/list-1-1.html" btn="search_category">高考作文</a></li>
<li><a href="/pc/article/list-2-1.html" btn="search_category">小说解读</a></li> <li><a href="{$strPcPath}/article/list-2-1.html" btn="search_category">小说解读</a></li>
<li><a href="/pc/article/list-3-1.html" btn="search_category">影视解说</a></li> <li><a href="{$strPcPath}/article/list-3-1.html" btn="search_category">影视解说</a></li>
<li><a href="/pc/article/list-4-1.html" btn="search_category">王者荣耀</a></li> <li><a href="{$strPcPath}/article/list-4-1.html" btn="search_category">王者荣耀</a></li>
<li><a href="/pc/article/list-5-1.html" btn="search_category">日常八卦</a></li> <li><a href="{$strPcPath}/article/list-5-1.html" btn="search_category">日常八卦</a></li>
<li><a href="/pc/article/list-6-1.html" btn="search_category">其它</a></li> <li><a href="{$strPcPath}/article/list-6-1.html" btn="search_category">其它</a></li>
</ul> </ul>
</div> </div>
@@ -90,17 +90,17 @@
<ul class="pagination"> <ul class="pagination">
<li class="disabled"><span>«</span></li> <li class="disabled"><span>«</span></li>
<li class="active"><span>1</span></li> <li class="active"><span>1</span></li>
<li><a href="/pc/article/list--2.html">2</a></li> <li><a href="{$strPcPath}/article/list--2.html">2</a></li>
<li><a href="/pc/article/list--3.html">3</a></li> <li><a href="{$strPcPath}/article/list--3.html">3</a></li>
<li><a href="/pc/article/list--4.html">4</a></li> <li><a href="{$strPcPath}/article/list--4.html">4</a></li>
<li><a href="/pc/article/list--5.html">5</a></li> <li><a href="{$strPcPath}/article/list--5.html">5</a></li>
<li><a href="/pc/article/list--6.html">6</a></li> <li><a href="{$strPcPath}/article/list--6.html">6</a></li>
<li><a href="/pc/article/list--7.html">7</a></li> <li><a href="{$strPcPath}/article/list--7.html">7</a></li>
<li><a href="/pc/article/list--8.html">8</a></li> <li><a href="{$strPcPath}/article/list--8.html">8</a></li>
<li class="disabled"><span>...</span></li> <li class="disabled"><span>...</span></li>
<li><a href="/pc/article/list--33.html">33</a></li> <li><a href="{$strPcPath}/article/list--33.html">33</a></li>
<li><a href="/pc/article/list--34.html">34</a></li> <li><a href="{$strPcPath}/article/list--34.html">34</a></li>
<li><a href="/pc/article/list--2.html">»</a></li> <li><a href="{$strPcPath}/article/list--2.html">»</a></li>
</ul> </ul>
</div> </div>
<!--页码切换 结束--> <!--页码切换 结束-->

View File

@@ -15,12 +15,12 @@
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}"> <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:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
<meta property="og:novel:read_url" <meta property="og:novel:read_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1">
<meta property="og:novel:status" content="{$arrNovel.og_novel_status ?? ''}"> <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:update_time" content="{$arrNovel.og_novel_update_time ?? ''}">
<meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}"> <meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}">
<meta property="og:novel:latest_chapter_url" <meta property="og:novel:latest_chapter_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}">
<!-- 可选:支持 Twitter Card --> <!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" /> <meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" />
@@ -63,7 +63,7 @@
{/block} {/block}
{block name="logo-html"} {block name="logo-html"}
<h2> <h2>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h2> </h2>
@@ -73,19 +73,19 @@
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/" itemprop="item"> <a href="{$strPcPath}/" itemprop="item">
<span itemprop="name">首页</span> <span itemprop="name">首页</span>
</a> </a>
<meta itemprop="position" content="1" /> <meta itemprop="position" content="1" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/shuku/all/{$arrNovel.category_pinyin}/all/page1" itemprop="item"> <a href="{$strPcPath}/shuku/all/{$arrNovel.category_pinyin}/all/page1" itemprop="item">
<span itemprop="name">{$arrNovel.og_novel_category}</span> <span itemprop="name">{$arrNovel.og_novel_category}</span>
</a> </a>
<meta itemprop="position" content="2" /> <meta itemprop="position" content="2" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' itemprop="item"> <a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' itemprop="item">
<span itemprop="name">{$arrNovel['og_novel_book_name']}</span> <span itemprop="name">{$arrNovel['og_novel_book_name']}</span>
</a> </a>
<meta itemprop="position" content="3" /> <meta itemprop="position" content="3" />
@@ -96,7 +96,7 @@
<div class="info"> <div class="info">
<div class="info_box"> <div class="info_box">
<div class="info_L"> <div class="info_L">
<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]" /}'
title="{$arrNovel['og_novel_book_name']}" class="book_cov"> title="{$arrNovel['og_novel_book_name']}" class="book_cov">
<img src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" <img src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}"
alt="{$Novel->og_novel_book_name ?? ''}封面" class="lazyload_book_cover lazyload-img"> alt="{$Novel->og_novel_book_name ?? ''}封面" class="lazyload_book_cover lazyload-img">
@@ -113,7 +113,7 @@
<div class="info_C book_inf"> <div class="info_C book_inf">
<div class="c01"> <div class="c01">
<h3><a <h3><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>
</h3> </h3>
<!-- <span id="mod_book_star">0分</span> --> <!-- <span id="mod_book_star">0分</span> -->
</div> </div>
@@ -141,8 +141,8 @@
</div> </div>
<div class="c04"> <div class="c04">
{if !empty($arrChapter)} {if !empty($arrChapter)}
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1" class="read">立即阅读</a> <a href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1" class="read">立即阅读</a>
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng" class="mulu">目录</a> <a href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng" class="mulu">目录</a>
{/if} {/if}
</div> </div>
<!-- <div class="c05"> <!-- <div class="c05">
@@ -158,7 +158,7 @@
<div class="inf02"> <div class="inf02">
<h4>小说信息</h4> <h4>小说信息</h4>
<p>类别: <p>类别:
<a href='/pc/shuku/all/{$arrNovel.category_pinyin}/all/page1' title="{$arrNovel.og_novel_category}"> <a href='{$strPcPath}/shuku/all/{$arrNovel.category_pinyin}/all/page1' title="{$arrNovel.og_novel_category}">
{$arrNovel.og_novel_category} {$arrNovel.og_novel_category}
</a> </a>
</p> </p>
@@ -182,7 +182,7 @@
<div class="zj_con"> <div class="zj_con">
{volist name="arrChapter" id="Chapter" key="key"} {volist name="arrChapter" id="Chapter" key="key"}
<p> <p>
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$Chapter.n_id}/zhang-{$Chapter.c_sort_num}" <a href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$Chapter.n_id}/zhang-{$Chapter.c_sort_num}"
class="zj">{$Chapter.name}</a> class="zj">{$Chapter.name}</a>
<span class="time">{$Chapter.created_at}</span> <span class="time">{$Chapter.created_at}</span>
<!-- <span class="time">3天前</span>--> <!-- <span class="time">3天前</span>-->
@@ -197,7 +197,7 @@
<div class="pl_con"> <div class="pl_con">
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"} {volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
<!-- n_forge_id --> <!-- n_forge_id -->
<a href='/pc/kan-xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}-{$ForgeNovel.n_forge_id}' <a href='{$strPcPath}/kan-xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}-{$ForgeNovel.n_forge_id}'
class="red">{$ForgeNovel.n_forge_title}</a> class="red">{$ForgeNovel.n_forge_title}</a>
{/volist} {/volist}
@@ -211,13 +211,13 @@
{volist name="arrRelateveNovel" id="Novel" key="key"} {volist name="arrRelateveNovel" id="Novel" key="key"}
<li> <li>
<h3> <h3>
<a href='/pc{site:nurl n_id="$Novel[n_id]" n_py="$Novel[og_novel_pin_yin]" /}' <a href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[og_novel_pin_yin]" /}'
title="{$Novel['og_novel_book_name'] ?? ''}"> title="{$Novel['og_novel_book_name'] ?? ''}">
{$Novel['og_novel_book_name'] ?? ''} {$Novel['og_novel_book_name'] ?? ''}
</a> </a>
</h3> </h3>
<div> <div>
<a href='/pc{site:nurl n_id="$Novel[n_id]" n_py="$Novel[og_novel_pin_yin]" /}' <a href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[og_novel_pin_yin]" /}'
title="$Novel['og_novel_book_name'] ?? ''}" class="book_cov"> title="$Novel['og_novel_book_name'] ?? ''}" class="book_cov">
<img src="/template/kuangyu/home/bai_web/images/default.png" <img src="/template/kuangyu/home/bai_web/images/default.png"
data-src="{$Novel['n_cover_path'] ?? ''}" class="lazyload_book_cover lazyload-img" data-src="{$Novel['n_cover_path'] ?? ''}" class="lazyload_book_cover lazyload-img"

View File

@@ -49,7 +49,7 @@
{/block} {/block}
{block name="logo-html"} {block name="logo-html"}
<h2> <h2>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h2> </h2>
@@ -60,13 +60,13 @@
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/" itemprop="item"> <a href="{$strPcPath}/" itemprop="item">
<span itemprop="name">首页</span> <span itemprop="name">首页</span>
</a> </a>
<meta itemprop="position" content="1" /> <meta itemprop="position" content="1" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/shuku/all" itemprop="item"> <a href="{$strPcPath}/shuku/all" itemprop="item">
<span itemprop="name">书库</span> <span itemprop="name">书库</span>
</a> </a>
</li> </li>
@@ -79,23 +79,23 @@
<div class="optCl" mod="search_channel"> <div class="optCl" mod="search_channel">
<span class="optTit">所属频道</span> <span class="optTit">所属频道</span>
<ul> <ul>
<li><a class='{eq name="strGender" value="all"}on {/eq}' href="/pc/shuku/all/{$strCategory}/{$strStatus}/page{$intPage}" btn="search_category">全部</a></li> <li><a class='{eq name="strGender" value="all"}on {/eq}' href="{$strPcPath}/shuku/all/{$strCategory}/{$strStatus}/page{$intPage}" btn="search_category">全部</a></li>
<li><a class='{eq name="strGender" value="nansheng-xiaoshuo"}on {/eq}' href="/pc/shuku/nansheng-xiaoshuo/{$strCategory}/{$strStatus}/page{$intPage}" btn="search_category">男生</a></li> <li><a class='{eq name="strGender" value="nansheng-xiaoshuo"}on {/eq}' href="{$strPcPath}/shuku/nansheng-xiaoshuo/{$strCategory}/{$strStatus}/page{$intPage}" btn="search_category">男生</a></li>
<li><a class='{eq name="strGender" value="nvsheng-xiaoshuo"}on {/eq}' href="/pc/shuku/nvsheng-xiaoshuo/{$strCategory}/{$strStatus}/page{$intPage}" btn="search_category">女生</a></li> <li><a class='{eq name="strGender" value="nvsheng-xiaoshuo"}on {/eq}' href="{$strPcPath}/shuku/nvsheng-xiaoshuo/{$strCategory}/{$strStatus}/page{$intPage}" btn="search_category">女生</a></li>
</ul> </ul>
</div> </div>
<div class="optCl" mod="search_channel"> <div class="optCl" mod="search_channel">
<span class="optTit">所属分类</span> <span class="optTit">所属分类</span>
<ul> <ul>
<li><a class='{eq name="strCategory" value="all"}on {/eq}' href="/pc/shuku/{$strGender}/all/{$strStatus}/page{$intPage}" btn="search_category">全部</a></li> <li><a class='{eq name="strCategory" value="all"}on {/eq}' href="{$strPcPath}/shuku/{$strGender}/all/{$strStatus}/page{$intPage}" btn="search_category">全部</a></li>
{eq name="strGender" value="nansheng-xiaoshuo"} {eq name="strGender" value="nansheng-xiaoshuo"}
{foreach $arrCategoryAll.man as $key=>$vo } {foreach $arrCategoryAll.man as $key=>$vo }
<li><a class='{eq name="key" value="$strCategory"}on {/eq}' href="/pc/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a></li> <li><a class='{eq name="key" value="$strCategory"}on {/eq}' href="{$strPcPath}/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a></li>
{/foreach} {/foreach}
{else} {else}
{foreach $arrCategoryAll.women as $key=>$vo } {foreach $arrCategoryAll.women as $key=>$vo }
<li><a class='{eq name="key" value="$strCategory"}on {/eq}' href="/pc/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a></li> <li><a class='{eq name="key" value="$strCategory"}on {/eq}' href="{$strPcPath}/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a></li>
{/foreach} {/foreach}
{/eq} {/eq}
@@ -105,9 +105,9 @@
<div class="optCl"> <div class="optCl">
<span class="optTit">是否完结</span> <span class="optTit">是否完结</span>
<ul> <ul>
<li><a class='{eq name="strStatus" value="all"}on {/eq}' href="/pc/shuku/{$strGender}/{$strCategory}/all/page{$intPage}" btn="search_category">全部</a></li> <li><a class='{eq name="strStatus" value="all"}on {/eq}' href="{$strPcPath}/shuku/{$strGender}/{$strCategory}/all/page{$intPage}" btn="search_category">全部</a></li>
<li><a class='{eq name="strStatus" value="lianzai"}on {/eq}' href="/pc/shuku/{$strGender}/{$strCategory}/lianzai/page{$intPage}" btn="search_category">连载</a></li> <li><a class='{eq name="strStatus" value="lianzai"}on {/eq}' href="{$strPcPath}/shuku/{$strGender}/{$strCategory}/lianzai/page{$intPage}" btn="search_category">连载</a></li>
<li><a class='{eq name="strStatus" value="wanjie"}on {/eq}' href="/pc/shuku/{$strGender}/{$strCategory}/wanjie/page{$intPage}" btn="search_category">完本</a></li> <li><a class='{eq name="strStatus" value="wanjie"}on {/eq}' href="{$strPcPath}/shuku/{$strGender}/{$strCategory}/wanjie/page{$intPage}" btn="search_category">完本</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@@ -130,14 +130,14 @@
{if $intPage == 1} {if $intPage == 1}
<li class="disabled"><span>«</span></li> <li class="disabled"><span>«</span></li>
{else} {else}
<li><a href="/pc/shuku/{$strGender}/{$strCategory}/{$strStatus}/page{$intPage-1}">«</a></li> <li><a href="{$strPcPath}/shuku/{$strGender}/{$strCategory}/{$strStatus}/page{$intPage-1}">«</a></li>
{/if} {/if}
{/case} {/case}
{case value="下一页"} {case value="下一页"}
{if $intPage >= $intTotalPage} {if $intPage >= $intTotalPage}
<li class="disabled"><span>»</span></li> <li class="disabled"><span>»</span></li>
{else} {else}
<li><a href="/pc/shuku/{$strGender}/{$strCategory}/{$strStatus}/page{$intPage+1}">»</a></li> <li><a href="{$strPcPath}/shuku/{$strGender}/{$strCategory}/{$strStatus}/page{$intPage+1}">»</a></li>
{/if} {/if}
{/case} {/case}
{case value="..."} {case value="..."}
@@ -146,7 +146,7 @@
{default /} {default /}
{if preg_match('/^\d+$/', $vo.label)} {if preg_match('/^\d+$/', $vo.label)}
<li class='{eq name="vo.label" value="$intPage"}active {/eq}'> <li class='{eq name="vo.label" value="$intPage"}active {/eq}'>
<a href="/pc{$vo.url}">{$vo.label}</a> <a href="{$strPcPath}{$vo.url}">{$vo.label}</a>
</li> </li>
{/if} {/if}
{/switch} {/switch}

View File

@@ -32,7 +32,7 @@
{block name="logo-html"} {block name="logo-html"}
<h2> <h2>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h2> </h2>
@@ -46,18 +46,18 @@
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/" itemprop="item"> <a href="{$strPcPath}/" itemprop="item">
<span itemprop="name">首页</span> <span itemprop="name">首页</span>
</a> </a>
<meta itemprop="position" content="1" /> <meta itemprop="position" content="1" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
{eq name="strPageCode" value="boys"} {eq name="strPageCode" value="boys"}
<a href="/pc/nansheng-xiaoshuo" itemprop="item"> <a href="{$strPcPath}/nansheng-xiaoshuo" itemprop="item">
<span itemprop="name">男生</span> <span itemprop="name">男生</span>
</a> </a>
{else} {else}
<a href="/pc/nvsheng-xiaoshuo" itemprop="item"> <a href="{$strPcPath}/nvsheng-xiaoshuo" itemprop="item">
<span itemprop="name">女生</span> <span itemprop="name">女生</span>
</a> </a>
{/eq} {/eq}

View File

@@ -12,7 +12,7 @@
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css"> <link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
{block name="head-css"} {block name="head-css"}
<link rel="canonical" <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} {/block}
<!-- 社交媒体标签 --> <!-- 社交媒体标签 -->
@@ -27,12 +27,12 @@
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}"> <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:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
<meta property="og:novel:read_url" <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:status" content="{$arrNovel.og_novel_status ?? ''}">
<meta property="og:novel:update_time" content="{$arrNovel.og_novel_update_time ?? ''}"> <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_name" content="{$arrChapter.name}">
<meta property="og:novel:latest_chapter_url" <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 --> <!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name']??'未知小说'} {$arrChapter.name} - {$DomainModel->d_name}" /> <meta name="twitter:title" content="{$arrNovel['og_novel_book_name']??'未知小说'} {$arrChapter.name} - {$DomainModel->d_name}" />
@@ -54,14 +54,14 @@
"url": "https://{$DomainModel->d_domain}" "url": "https://{$DomainModel->d_domain}"
}, },
"image": "{$arrNovel.n_cover_path ?? ''}", "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", "inLanguage": "zh-CN",
"genre": "{$arrNovel.og_novel_category ??''}", "genre": "{$arrNovel.og_novel_category ??''}",
"datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}", "datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}",
"hasPart": { "hasPart": {
"@type": "CreativeWork", "@type": "CreativeWork",
"name": "{$arrChapter.name ?? ''}", "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}" "description": "{$strDescription}"
} }
} }
@@ -70,7 +70,7 @@
</head> </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} {$arrGRM[0]|raw}
<div class="wrap"> <div class="wrap">
<div class="read-header" id="readHeader"> <div class="read-header" id="readHeader">
@@ -82,7 +82,7 @@
<ul> <ul>
<li> <li>
{$arrGRM[17]|raw} {$arrGRM[17]|raw}
<cite><a href="/pc/">首页</a></cite> <cite><a href="{$strPcPath}/">首页</a></cite>
</li> </li>
<li id="j_nearRead" class=""> <li id="j_nearRead" class="">
<cite>最近阅读</cite> <cite>最近阅读</cite>
@@ -90,7 +90,7 @@
<dl> <dl>
</dl> </dl>
{$arrGRM[18]|raw} {$arrGRM[18]|raw}
<a class="all" href='/pc/history'> <a class="all" href='{$strPcPath}/history'>
查看全部<em class="iconfont"></em> 查看全部<em class="iconfont"></em>
</a> </a>
</div> </div>
@@ -99,29 +99,29 @@
<cite>快速导航</cite> <cite>快速导航</cite>
<div class="dropdown type-list"> <div class="dropdown type-list">
<div class="type-box"> <div class="type-box">
<h3><a href="/pc/">首页</a></h3> <h3><a href="{$strPcPath}/">首页</a></h3>
</div> </div>
<div class="type-box"> <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 } {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} {/foreach}
</div> </div>
<div class="type-box"> <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 } {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} {/foreach}
</div> </div>
<div class="type-box"> <div class="type-box">
<h3><a href="/pc/shuku/all">书库</a></h3> <h3><a href="{$strPcPath}/shuku/all">书库</a></h3>
</div> </div>
<div class="type-box"> <div class="type-box">
<h3><a href="/pc/paihang/all">排行</a></h3> <h3><a href="{$strPcPath}/paihang/all">排行</a></h3>
</div> </div>
<!-- <div class="type-box"> <!-- <div class="type-box">
<h3><a href="/pc/seo.html" >文章</a></h3> <h3><a href="{$strPcPath}/seo.html" >文章</a></h3>
</div> --> </div> -->
</div> </div>
</li> </li>
@@ -131,7 +131,7 @@
<div class="read-login fr"> <div class="read-login fr">
<ul> <ul>
<li id="min-search"> <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 class="submit-input" type="submit" id="searchSubmit">
<input id="pin-input" class="pin-input hide" name="keyword" type="text" placeholder=""> <input id="pin-input" class="pin-input hide" name="keyword" type="text" placeholder="">
<label id="pin-search" for="searchSubmit"> <label id="pin-search" for="searchSubmit">
@@ -142,11 +142,11 @@
<li class="line"></li> <li class="line"></li>
<li class="sign-in"> <li class="sign-in">
<img src="/template/kuangyu/reader/web/images/user-icon.png" class="headPortrait"> <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"> <div class="dropdown">
<!-- <a href="/user/index/index.html">个人中心</a> --> <!-- <a href="/user/index/index.html">个人中心</a> -->
{$arrGRM[16]|raw} {$arrGRM[16]|raw}
<a href="/pc/bookshelf">我的书架</a> <a href="{$strPcPath}/bookshelf">我的书架</a>
<!-- <a href="/user/recentread/index.html">阅读记录</a> --> <!-- <a href="/user/recentread/index.html">阅读记录</a> -->
<!-- <a href="/user/user/logout.html" class="exit">退出</a> --> <!-- <a href="/user/user/logout.html" class="exit">退出</a> -->
</div> </div>
@@ -156,25 +156,25 @@
</div> </div>
</div> </div>
<div class="crumbs-nav"> <div class="crumbs-nav">
<a href="/pc/">首页</a> <a href="{$strPcPath}/">首页</a>
<em class="iconfont"></em> <em class="iconfont"></em>
{if $arrNovel.category_sex == 'man'} {if $arrNovel.category_sex == 'man'}
{$arrGRM[15]|raw} {$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> <em class="iconfont"></em>
{$arrGRM[14]|raw} {$arrGRM[14]|raw}
<a <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} {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> <em class="iconfont"></em>
{$arrGRM[13]|raw} {$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} {/if}
<em class="iconfont"></em> <em class="iconfont"></em>
{$arrGRM[12]|raw} {$arrGRM[12]|raw}
<a <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>
<div class="read-main-wrap font-family01" style="font-size:18px" id="j_readMainWrap"> <div class="read-main-wrap font-family01" style="font-size:18px" id="j_readMainWrap">
<div id="j_chapterBox"> <div id="j_chapterBox">
@@ -193,7 +193,7 @@
<div class="info fl"> <div class="info fl">
{$arrGRM[11]|raw} {$arrGRM[11]|raw}
<a <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> <em class="iconfont"></em> {$arrNovel.og_novel_book_name}</a>
<a href="javascript:"> <em class="iconfont"></em> {$arrNovel.og_novel_author}</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> <i><em class="iconfont"></em><span class="j_chapterWordCut">2000</span></i>
@@ -222,13 +222,13 @@
{else} {else}
{$arrGRM[10]|raw} {$arrGRM[10]|raw}
<a id="j_chapterPrev" <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} {/if}
<span>|</span> <span>|</span>
{if $arrNextChapter && $arrNextChapter.c_sort_num} {if $arrNextChapter && $arrNextChapter.c_sort_num}
{$arrGRM[9]|raw} {$arrGRM[9]|raw}
<a id="j_chapterNext" <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} {/if}
</div> </div>
</div> </div>
@@ -238,7 +238,7 @@
<dl> <dl>
<dd id="j_navCatalogBtn"> <dd id="j_navCatalogBtn">
{$arrGRM[8]|raw} {$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> <i><em class="iconfont"></em><span>目录</span></i>
</a> </a>
</dd> </dd>
@@ -255,7 +255,7 @@
</dd> </dd>
<dd> <dd>
{$arrGRM[6]|raw} {$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> <i><em class="iconfont"></em><span>详情</span></i>
</a> </a>
</dd> </dd>
@@ -399,7 +399,7 @@
//下一章id //下一章id
nextId: '{$arrNextChapter.c_sort_num ?? 1}' 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; book.nextChapterVip = 0;
</script> </script>
<script type="text/javascript" src="/template/kuangyu/reader/web/js/global.js"></script> <script type="text/javascript" src="/template/kuangyu/reader/web/js/global.js"></script>

View File

@@ -15,12 +15,12 @@
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}"> <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:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
<meta property="og:novel:read_url" <meta property="og:novel:read_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrLatestChapter.n_id}/zhang-1"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrLatestChapter.n_id}/zhang-1">
<meta property="og:novel:status" content="{$arrNovel.og_novel_status ?? ''}"> <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:update_time" content="{$arrNovel.og_novel_update_time ?? ''}">
<meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name}"> <meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name}">
<meta property="og:novel:latest_chapter_url" <meta property="og:novel:latest_chapter_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrLatestChapter.n_id}/zhang-{$arrLatestChapter.c_sort_num}"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrLatestChapter.n_id}/zhang-{$arrLatestChapter.c_sort_num}">
<!-- 可选:支持 Twitter Card --> <!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" /> <meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" />
@@ -58,7 +58,7 @@
{block name="logo-html"} {block name="logo-html"}
<h2> <h2>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h2> </h2>
@@ -75,13 +75,13 @@
<meta itemprop="position" content="1" /> <meta itemprop="position" content="1" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/shuku/all/{arrNovel.category_pinyin}/all/page1" itemprop="item"> <a href="{$strPcPath}/shuku/all/{arrNovel.category_pinyin}/all/page1" itemprop="item">
<span itemprop="name">{$arrNovel.og_novel_category}</span> <span itemprop="name">{$arrNovel.og_novel_category}</span>
</a> </a>
<meta itemprop="position" content="2" /> <meta itemprop="position" content="2" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' itemprop="item"> <a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' itemprop="item">
<span itemprop="name">{$arrNovel['og_novel_book_name']}</span> <span itemprop="name">{$arrNovel['og_novel_book_name']}</span>
</a> </a>
<meta itemprop="position" content="3" /> <meta itemprop="position" content="3" />
@@ -98,7 +98,7 @@
<div class="top"> <div class="top">
{$arrGRM[0]|raw} {$arrGRM[0]|raw}
<h1><a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' >{$arrNovel['og_novel_book_name']}章节目录 - {$arrNovel['og_novel_author']} - {$DomainModel->d_name} 第{$intPage}页</a></h1> <h1><a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' >{$arrNovel['og_novel_book_name']}章节目录 - {$arrNovel['og_novel_author']} - {$DomainModel->d_name} 第{$intPage}页</a></h1>
<p>作者:{$arrNovel.og_novel_author}</p> <p>作者:{$arrNovel.og_novel_author}</p>
</div> </div>
<div class="fenlei"> <div class="fenlei">
@@ -114,7 +114,7 @@
<li> <li>
{$arrGRM[$key]|raw} {$arrGRM[$key]|raw}
<h2> <h2>
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$Chapter.c_sort_num}" >{$Chapter.name}</a> <a href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$Chapter.c_sort_num}" >{$Chapter.name}</a>
</h2> </h2>
</li> </li>
{/foreach} {/foreach}

View File

@@ -15,12 +15,12 @@
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}"> <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:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
<meta property="og:novel:read_url" <meta property="og:novel:read_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1">
<meta property="og:novel:status" content="{$arrNovel.og_novel_status ?? ''}"> <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:update_time" content="{$arrNovel.og_novel_update_time ?? ''}">
<meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}"> <meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}">
<meta property="og:novel:latest_chapter_url" <meta property="og:novel:latest_chapter_url"
content="https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}"> content="https://{$DomainModel->d_domain}{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}">
<!-- 可选:支持 Twitter Card --> <!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" /> <meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" />
@@ -64,7 +64,7 @@
{/block} {/block}
{block name="logo-html"} {block name="logo-html"}
<h2> <h2>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h2> </h2>
@@ -74,19 +74,19 @@
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/" itemprop="item"> <a href="{$strPcPath}/" itemprop="item">
<span itemprop="name">首页</span> <span itemprop="name">首页</span>
</a> </a>
<meta itemprop="position" content="1" /> <meta itemprop="position" content="1" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/shuku/all/{$arrNovel.category_pinyin}/all/page1" itemprop="item"> <a href="{$strPcPath}/shuku/all/{$arrNovel.category_pinyin}/all/page1" itemprop="item">
<span itemprop="name">{$arrNovel.og_novel_category}</span> <span itemprop="name">{$arrNovel.og_novel_category}</span>
</a> </a>
<meta itemprop="position" content="2" /> <meta itemprop="position" content="2" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' itemprop="item"> <a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' itemprop="item">
<span itemprop="name">{$arrNovel['og_novel_book_name']}</span> <span itemprop="name">{$arrNovel['og_novel_book_name']}</span>
</a> </a>
<meta itemprop="position" content="3" /> <meta itemprop="position" content="3" />
@@ -98,7 +98,7 @@
<div class="info"> <div class="info">
<div class="info_box"> <div class="info_box">
<div class="info_L"> <div class="info_L">
<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]" /}'
title="{$arrNovel['og_novel_book_name']}" class="book_cov"> title="{$arrNovel['og_novel_book_name']}" class="book_cov">
<img src="/static/img/default.jpg" data-src="{$arrNovel.n_cover_path ?? ''}" <img src="/static/img/default.jpg" data-src="{$arrNovel.n_cover_path ?? ''}"
alt="{$arrNovel['og_novel_book_name'] ?? ''}小说封面 - {$arrNovel.og_novel_author}最新章节" class="lazyload_book_cover lazyload-img"> alt="{$arrNovel['og_novel_book_name'] ?? ''}小说封面 - {$arrNovel.og_novel_author}最新章节" class="lazyload_book_cover lazyload-img">
@@ -115,7 +115,7 @@
<div class="info_C book_inf"> <div class="info_C book_inf">
<div class="c01"> <div class="c01">
<h2><a <h2><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>
</h2> </h2>
<!-- <span id="mod_book_star">0分</span> --> <!-- <span id="mod_book_star">0分</span> -->
</div> </div>
@@ -143,8 +143,8 @@
</div> </div>
<div class="c04"> <div class="c04">
{if !empty($arrChapter)} {if !empty($arrChapter)}
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1" class="read">立即阅读</a> <a href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1" class="read">立即阅读</a>
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng" class="mulu">目录</a> <a href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng" class="mulu">目录</a>
{/if} {/if}
</div> </div>
<!-- <div class="c05"> <!-- <div class="c05">
@@ -160,7 +160,7 @@
<div class="inf02"> <div class="inf02">
<h4>小说信息</h4> <h4>小说信息</h4>
<p>类别: <p>类别:
<a href='/pc/shuku/all/{$arrNovel.category_pinyin}/all/page1' title="{$arrNovel.og_novel_category}"> <a href='{$strPcPath}/shuku/all/{$arrNovel.category_pinyin}/all/page1' title="{$arrNovel.og_novel_category}">
{$arrNovel.og_novel_category} {$arrNovel.og_novel_category}
</a> </a>
</p> </p>
@@ -185,7 +185,7 @@
{volist name="arrChapter" id="Chapter" key="key"} {volist name="arrChapter" id="Chapter" key="key"}
<p> <p>
{$arrGRM[$key]|raw} {$arrGRM[$key]|raw}
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$Chapter.n_id}/zhang-{$Chapter.c_sort_num}" <a href="{$strPcPath}/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$Chapter.n_id}/zhang-{$Chapter.c_sort_num}"
title="{$arrNovel.og_novel_book_name}-{$Chapter.name}" title="{$arrNovel.og_novel_book_name}-{$Chapter.name}"
class="zj">{$Chapter.name}</a> class="zj">{$Chapter.name}</a>
<span class="time">{$Chapter.created_at}</span> <span class="time">{$Chapter.created_at}</span>
@@ -204,7 +204,7 @@
{$arrGRM[$key+20]|raw} {$arrGRM[$key+20]|raw}
{/if} {/if}
<a href='/pc/kan-xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}-{$ForgeNovel.n_forge_id}' <a href='{$strPcPath}/kan-xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}-{$ForgeNovel.n_forge_id}'
class="red">{$ForgeNovel.n_forge_title}</a> class="red">{$ForgeNovel.n_forge_title}</a>
{/volist} {/volist}
@@ -219,13 +219,13 @@
<li> <li>
<h3> <h3>
{$arrGRM[$key+10]|raw} {$arrGRM[$key+10]|raw}
<a href='/pc{site:nurl n_id="$Novel[n_id]" n_py="$Novel[og_novel_pin_yin]" /}' <a href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[og_novel_pin_yin]" /}'
title="{$Novel['og_novel_book_name'] ?? ''}"> title="{$Novel['og_novel_book_name'] ?? ''}">
{$Novel['og_novel_book_name'] ?? ''} {$Novel['og_novel_book_name'] ?? ''}
</a> </a>
</h3> </h3>
<div> <div>
<a href='/pc{site:nurl n_id="$Novel[n_id]" n_py="$Novel[og_novel_pin_yin]" /}' <a href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[og_novel_pin_yin]" /}'
title="$Novel['og_novel_book_name'] ?? ''}" class="book_cov"> title="$Novel['og_novel_book_name'] ?? ''}" class="book_cov">
<img src="/template/kuangyu/home/bai_web/images/default.png" <img src="/template/kuangyu/home/bai_web/images/default.png"
data-src="{$Novel['n_cover_path'] ?? ''}" class="lazyload_book_cover lazyload-img" data-src="{$Novel['n_cover_path'] ?? ''}" class="lazyload_book_cover lazyload-img"

View File

@@ -26,7 +26,7 @@
{block name='body-class'}body-rank-class{/block} {block name='body-class'}body-rank-class{/block}
{block name="logo-html"} {block name="logo-html"}
<h2> <h2>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h2> </h2>
@@ -37,13 +37,13 @@
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/" itemprop="item"> <a href="{$strPcPath}/" itemprop="item">
<span itemprop="name">首页</span> <span itemprop="name">首页</span>
</a> </a>
<meta itemprop="position" content="1" /> <meta itemprop="position" content="1" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/pc/paihang/all" itemprop="item"> <a href="{$strPcPath}/paihang/all" itemprop="item">
<span itemprop="name">排行榜</span> <span itemprop="name">排行榜</span>
</a> </a>
</li> </li>
@@ -51,7 +51,7 @@
</nav> </nav>
<!--大标题 开始--> <!--大标题 开始-->
<!-- <div class="rank_bt"> <!-- <div class="rank_bt">
<a href="/pc/rank.html" class="all_btn">完整榜单</a> <a href="{$strPcPath}/rank.html" class="all_btn">完整榜单</a>
</div> --> </div> -->
<!--大标题 结束--> <!--大标题 结束-->
<!--各种榜单 开始--> <!--各种榜单 开始-->
@@ -74,7 +74,7 @@
</ol> </ol>
</div> </div>
<!-- <span class="more"> <!-- <span class="more">
<a btn="look_more" href="/pc/rank.html" > <a btn="look_more" href="{$strPcPath}/rank.html" >
<s></s><i>查看更多</i><s></s> <s></s><i>查看更多</i><s></s>
</a> </a>
</span> --> </span> -->
@@ -98,7 +98,7 @@
</ol> </ol>
</div> </div>
<!-- <span class="more"> <!-- <span class="more">
<a btn="look_more" href="/pc/rank.html" > <a btn="look_more" href="{$strPcPath}/rank.html" >
<s></s><i>查看更多</i><s></s> <s></s><i>查看更多</i><s></s>
</a> </a>
</span> --> </span> -->
@@ -122,7 +122,7 @@
</ol> </ol>
</div> </div>
<!-- <span class="more"> <!-- <span class="more">
<a btn="look_more" href="/pc/rank.html" > <a btn="look_more" href="{$strPcPath}/rank.html" >
<s></s><i>查看更多</i><s></s> <s></s><i>查看更多</i><s></s>
</a> </a>
</span> --> </span> -->
@@ -146,7 +146,7 @@
</ol> </ol>
</div> </div>
<!-- <span class="more"> <!-- <span class="more">
<a btn="look_more" href="/pc/rank.html" > <a btn="look_more" href="{$strPcPath}/rank.html" >
<s></s><i>查看更多</i><s></s> <s></s><i>查看更多</i><s></s>
</a> </a>
</span> --> </span> -->
@@ -170,7 +170,7 @@
</ol> </ol>
</div> </div>
<!-- <span class="more"> <!-- <span class="more">
<a btn="look_more" href="/pc/rank.html" > <a btn="look_more" href="{$strPcPath}/rank.html" >
<s></s><i>查看更多</i><s></s> <s></s><i>查看更多</i><s></s>
</a> </a>
</span> --> </span> -->
@@ -194,7 +194,7 @@
</ol> </ol>
</div> </div>
<!-- <span class="more"> <!-- <span class="more">
<a btn="look_more" href="/pc/rank.html" > <a btn="look_more" href="{$strPcPath}/rank.html" >
<s></s><i>查看更多</i><s></s> <s></s><i>查看更多</i><s></s>
</a> </a>
</span> --> </span> -->

View File

@@ -37,7 +37,7 @@
{block name="logo-html"} {block name="logo-html"}
<h2> <h2>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h2> </h2>
@@ -75,14 +75,14 @@
{if $intPage == 1} {if $intPage == 1}
<li class="disabled"><span>«</span></li> <li class="disabled"><span>«</span></li>
{else} {else}
<li><a href="/pc/search.html?keyword=我&page={$intPage-1}">«</a></li> <li><a href="{$strPcPath}/search.html?keyword=我&page={$intPage-1}">«</a></li>
{/if} {/if}
{/case} {/case}
{case value="下一页"} {case value="下一页"}
{if $intPage >= $intTotalPage} {if $intPage >= $intTotalPage}
<li class="disabled"><span>»</span></li> <li class="disabled"><span>»</span></li>
{else} {else}
<li><a href="/pc/search.html?keyword=我&page={$intPage+1}">»</a></li> <li><a href="{$strPcPath}/search.html?keyword=我&page={$intPage+1}">»</a></li>
{/if} {/if}
{/case} {/case}
{case value="..."} {case value="..."}
@@ -91,7 +91,7 @@
{default /} {default /}
{if preg_match('/^\d+$/', $vo.label)} {if preg_match('/^\d+$/', $vo.label)}
<li class='{eq name="vo.label" value="$intPage"}active {/eq}'> <li class='{eq name="vo.label" value="$intPage"}active {/eq}'>
<a href="/pc{$vo.url}">{$vo.label}</a> <a href="{$strPcPath}{$vo.url}">{$vo.label}</a>
</li> </li>
{/if} {/if}
{/switch} {/switch}

View File

@@ -27,7 +27,7 @@
{block name="logo-html"} {block name="logo-html"}
<h1> <h1>
<a href="/pc/"> <a href="{$strPcPath}/">
{$DomainModel->d_name}-{$DomainModel->d_text_logo} {$DomainModel->d_name}-{$DomainModel->d_text_logo}
</a> </a>
</h1> </h1>
@@ -62,7 +62,7 @@
{if $key == 1} {if $key == 1}
<h3> <h3>
{$arrGRM[1]|raw} {$arrGRM[1]|raw}
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' <a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}'
title="{$Novel.og_novel_book_name ?? ''}" title="{$Novel.og_novel_book_name ?? ''}"
class="zdz"> class="zdz">
{$Novel.og_novel_book_name ?? ''} {$Novel.og_novel_book_name ?? ''}
@@ -148,7 +148,7 @@
{/if} {/if}
{/foreach} {/foreach}
</ol> </ol>
<span class="more"><a href="/pc/paihang" ><s></s><i>查看更多</i><s></s></a></span> <span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
</div> </div>
<div class="list_wrap" style="display: none;"> <div class="list_wrap" style="display: none;">
<ol class="list" mod="rank_data_list"> <ol class="list" mod="rank_data_list">
@@ -161,7 +161,7 @@
{/if} {/if}
{/foreach} {/foreach}
</ol> </ol>
<span class="more"><a href="/pc/paihang" ><s></s><i>查看更多</i><s></s></a></span> <span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
</div> </div>
<div class="list_wrap" style="display: none;"> <div class="list_wrap" style="display: none;">
<ol class="list" mod="rank_data_list"> <ol class="list" mod="rank_data_list">
@@ -174,7 +174,7 @@
{/if} {/if}
{/foreach} {/foreach}
</ol> </ol>
<span class="more"><a href="/pc/paihang" ><s></s><i>查看更多</i><s></s></a></span> <span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
</div> </div>
</div> </div>
</div> </div>
@@ -223,7 +223,7 @@
{/if} {/if}
{/volist} {/volist}
</ol> </ol>
<span class="more"><a href="/pc/paihang" ><s></s><i>查看更多</i><s></s></a></span> <span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
</div> </div>
<div class="list_wrap" style="display: none;"> <div class="list_wrap" style="display: none;">
<ol class="list" mod="rank_data_list"> <ol class="list" mod="rank_data_list">
@@ -236,7 +236,7 @@
{/if} {/if}
{/volist} {/volist}
</ol> </ol>
<span class="more"><a href="/pc/paihang" ><s></s><i>查看更多</i><s></s></a></span> <span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
</div> </div>
<div class="list_wrap" style="display: none;"> <div class="list_wrap" style="display: none;">
<ol class="list" mod="rank_data_list"> <ol class="list" mod="rank_data_list">
@@ -249,7 +249,7 @@
{/if} {/if}
{/volist} {/volist}
</ol> </ol>
<span class="more"><a href="/pc/paihang" ><s></s><i>查看更多</i><s></s></a></span> <span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -22,6 +22,9 @@
{block name="head"}{/block} {block name="head"}{/block}
{block name="head-css"}{/block} {block name="head-css"}{/block}
{block name="head-js"}{/block} {block name="head-js"}{/block}
<script>
const strPcPath = `{$strPcPath}`;
</script>
</head> </head>
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}"> <body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">

View File

@@ -15,6 +15,9 @@
{block name="head"}{/block} {block name="head"}{/block}
{block name="head-css"}{/block} {block name="head-css"}{/block}
{block name="head-js"}{/block} {block name="head-js"}{/block}
<script>
const strPcPath = `{$strPcPath}`;
</script>
</head> </head>
<body style="font-size: 12px;"> <body style="font-size: 12px;">

View File

@@ -15,6 +15,9 @@
{block name="head"}{/block} {block name="head"}{/block}
{block name="head-css"}{/block} {block name="head-css"}{/block}
{block name="head-js"}{/block} {block name="head-js"}{/block}
<script>
const strPcPath = `{$strPcPath}`;
</script>
</head> </head>
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}"> <body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
@@ -25,34 +28,34 @@
{block name="logo-html"}{/block} {block name="logo-html"}{/block}
<ul class="nav"> <ul class="nav">
<li class=' {eq name="strPageCode" value="home"}on {/eq}'> <li class=' {eq name="strPageCode" value="home"}on {/eq}'>
<a href="/pc/" target="_self" title="首页">首页</a> <a href="{$strPcPath}/" target="_self" title="首页">首页</a>
</li> </li>
<li class=' {eq name="strPageCode" value="boys"}on {/eq}'> <li class=' {eq name="strPageCode" value="boys"}on {/eq}'>
<a href="/pc/nansheng-xiaoshuo" target="_self" title="男生">男生</a> <a href="{$strPcPath}/nansheng-xiaoshuo" target="_self" title="男生">男生</a>
</li> </li>
<li class=' {eq name="strPageCode" value="girls"}on {/eq}'> <li class=' {eq name="strPageCode" value="girls"}on {/eq}'>
<a href="/pc/nvsheng-xiaoshuo" target="_self" title="女生">女生</a> <a href="{$strPcPath}/nvsheng-xiaoshuo" target="_self" title="女生">女生</a>
</li> </li>
<li class=' {eq name="strPageCode" value="library"}on {/eq}'> <li class=' {eq name="strPageCode" value="library"}on {/eq}'>
<a href="/pc/shuku/all" target="_self" title="书库">书库</a> <a href="{$strPcPath}/shuku/all" target="_self" title="书库">书库</a>
</li> </li>
<li class=' {eq name="strPageCode" value="rank"}on {/eq}'> <li class=' {eq name="strPageCode" value="rank"}on {/eq}'>
<a href="/pc/paihang/all" target="_self" title="排行">排行</a> <a href="{$strPcPath}/paihang/all" target="_self" title="排行">排行</a>
</li> </li>
<!-- <li class=' {eq name="strPageCode" value="article"}on {/eq}'> <!-- <li class=' {eq name="strPageCode" value="article"}on {/eq}'>
<a href="/pc/article/list" target="_self" title="文章">文章</a> <a href="{$strPcPath}/article/list" target="_self" title="文章">文章</a>
</li> --> </li> -->
</ul> </ul>
<div class="headWrap_r"> <div class="headWrap_r">
<div class="search long" id="mod_top_search"> <div class="search long" id="mod_top_search">
<div class="search_sel"> <div class="search_sel">
<input type="text" name="keyword" url="/pc/search.html" class="search-val" value="" placeholder="我要搜.. " <input type="text" name="keyword" url="{$strPcPath}/search.html" class="search-val" value="" placeholder="我要搜.. "
maxlength="100" autocomplete="off"> maxlength="100" autocomplete="off">
</div> </div>
<a href="" class="search_btn"><s></s></a> <a href="" class="search_btn"><s></s></a>
</div> </div>
<div class="login"> <div class="login">
<span class="login_before"><a href="/pc/user"><s></s><i>个人中心</i></a></span> <span class="login_before"><a href="{$strPcPath}/user"><s></s><i>个人中心</i></a></span>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -13,6 +13,9 @@
{block name="head"}{/block} {block name="head"}{/block}
{block name="head-css"}{/block} {block name="head-css"}{/block}
{block name="head-js"}{/block} {block name="head-js"}{/block}
<script>
const strPcPath = `{$strPcPath}`;
</script>
</head> </head>
<body> <body>
@@ -20,18 +23,18 @@
<div class="ibody"> <div class="ibody">
<!--搜索部分 start--> <!--搜索部分 start-->
<div class="wrap1200 logo iMod"> <div class="wrap1200 logo iMod">
<a href="/pc/user" class="fl imotie">个人中心</a> <a href="{$strPcPath}/user" class="fl imotie">个人中心</a>
<ul class="iUl"> <ul class="iUl">
<li> <li>
<a href="/pc/">首页</a> <a href="{$strPcPath}/">首页</a>
</li> </li>
<li> <li>
<a href="/pc/user">个人中心</a> <a href="{$strPcPath}/user">个人中心</a>
</li> </li>
<li class="accounts"> <li class="accounts">
<a href="javaScript:;">账户设置</a> <a href="javaScript:;">账户设置</a>
<p style="display: none;"> <p style="display: none;">
<a href="/pc/user">个人信息</a> <a href="{$strPcPath}/user">个人信息</a>
<!-- <a href="/user/user/password.html">修改密码</a> --> <!-- <a href="/user/user/password.html">修改密码</a> -->
</p> </p>
</li> </li>
@@ -49,11 +52,11 @@
<div class="login_after" id="mod_login_after"> <div class="login_after" id="mod_login_after">
<span class="yh"> <span class="yh">
<img src="/template/kuangyu/user/web/images/user-icon.png" alt="123456"> <img src="/template/kuangyu/user/web/images/user-icon.png" alt="123456">
<a href="/pc/user">123456</a> <a href="{$strPcPath}/user">123456</a>
</span> </span>
<ul class="xiala"> <ul class="xiala">
<li><i class="iconfont"></i><a href="/pc/bookshelf">我的书架</a></li> <li><i class="iconfont"></i><a href="{$strPcPath}/bookshelf">我的书架</a></li>
<li><i class="iconfont"></i><a href="/pc/user">个人中心</a></li> <li><i class="iconfont"></i><a href="{$strPcPath}/user">个人中心</a></li>
<!-- <li><i class="iconfont"></i><a href="/user/user/logout">退出</a></li> --> <!-- <li><i class="iconfont"></i><a href="/user/user/logout">退出</a></li> -->
</ul> </ul>
</div> </div>
@@ -94,12 +97,12 @@
</p> </p>
<ul> <ul>
<li> <li>
<a href="/pc/bookshelf"> <a href="{$strPcPath}/bookshelf">
<i class="iconfont"></i> <i class="iconfont"></i>
我的书架 </a> 我的书架 </a>
</li> </li>
<li> <li>
<a href="/pc/history"> <a href="{$strPcPath}/history">
<i class="iconfont"></i> <i class="iconfont"></i>
最近阅读 </a> 最近阅读 </a>
</li> </li>

View File

@@ -2,8 +2,8 @@
# grok 推荐 # grok 推荐
`` ``
推荐URL/pc/shuku/nansheng/dushixiuxian/lianzai/1 推荐URL{$strPcPath}/shuku/nansheng/dushixiuxian/lianzai/1
全部URL/pc/shuku/all/all/all/1 全部URL{$strPcPath}/shuku/all/all/all/1
理由: 理由:
all 提供语义支持SEO友好。 all 提供语义支持SEO友好。
拼音关键词(如 nansheng、lianzai直接优化中文搜索。 拼音关键词(如 nansheng、lianzai直接优化中文搜索。

View File

@@ -94,10 +94,9 @@ class DomainModel extends BaseModel
* @param string $strKey * @param string $strKey
* @return void * @return void
*/ */
public function getFomartSubject($strKey, $strDiff = '') public function getFomartSubject($strKey, $strDiff = '', bool $boolJoin = true)
{ {
$intSfgId = $this->t_cfg->{$strKey}['sfg_id']; $intSfgId = $this->t_cfg->{$strKey}['sfg_id'];
$SubjectFomartModel = NULL; $SubjectFomartModel = NULL;
$arrAllSubjectFomartModel = SubjectFomartModel::getAllSubjectFomartOnCacheBySfgId($intSfgId); $arrAllSubjectFomartModel = SubjectFomartModel::getAllSubjectFomartOnCacheBySfgId($intSfgId);
@@ -109,11 +108,14 @@ class DomainModel extends BaseModel
$strController = request()->controller(); $strController = request()->controller();
$strAction = request()->action(); $strAction = request()->action();
$strUUId = sprintf('%s-%s-%s-%s-%s', $strDomain, $strController, $strAction, $strKey, $strDiff); if ($boolJoin) {
$strUUId = sprintf('%s-%s-%s-%s-%s', $strDomain, $strController, $strAction, $strKey, $strDiff);
} else {
$strUUId = sprintf('%s-%s-%s', $strDomain, $strKey, $strDiff);
}
$arrConfigSubjectFomart = ConfigSubjectFomartModel::getInstance()->getConfigSubjectFomartByCsfKey($strUUId); $arrConfigSubjectFomart = ConfigSubjectFomartModel::getInstance()->getConfigSubjectFomartByCsfKey($strUUId);
if (empty($arrConfigSubjectFomart)) { if (empty($arrConfigSubjectFomart)) {
$intKey = array_rand($arrAllSubjectFomartModel); $intKey = array_rand($arrAllSubjectFomartModel);
@@ -124,17 +126,22 @@ class DomainModel extends BaseModel
'csf_key' => $strUUId, 'csf_key' => $strUUId,
'sf_id' => $SubjectFomartModel->sf_id, 'sf_id' => $SubjectFomartModel->sf_id,
]); ]);
} else { } else {
$intSfId = $arrConfigSubjectFomart['sf_id']; $intSfId = $arrConfigSubjectFomart['sf_id'];
foreach ($arrAllSubjectFomartModel as $objTemp) { foreach ($arrAllSubjectFomartModel as $objTemp) {
if ($objTemp->sf_id == $intSfId) { if ($objTemp->sf_id == $intSfId) {
$SubjectFomartModel = $objTemp; $SubjectFomartModel = $objTemp;
break;
} }
} }
} }
return $SubjectFomartModel->sf_val; return $SubjectFomartModel->sf_val ?? '';
} }
@@ -148,8 +155,7 @@ class DomainModel extends BaseModel
{ {
$Request = request(); $Request = request();
$strSfVal = $Request->DomainModel->getFomartSubject($strKey); $strSfVal = $Request->DomainModel->getFomartSubject($strKey,'',false);
$arrKeys = []; $arrKeys = [];
$arrVals = []; $arrVals = [];
foreach ($arrArgs as $strKey => $strVal) { foreach ($arrArgs as $strKey => $strVal) {

View File

@@ -117,7 +117,7 @@ class TemplateSeeder
'{strNovelName} - {strNovelAuthor}全集 - {strSiteName}免费小说', '{strNovelName} - {strNovelAuthor}全集 - {strSiteName}免费小说',
'{strNovelName}在线阅读全本 - {strNovelCategoryName} - {strSiteName}', '{strNovelName}在线阅读全本 - {strNovelCategoryName} - {strSiteName}',
'{strNovelName}免费小说章节 - {strNovelAuthor}更新 - {strSiteName}', '{strNovelName}免费小说章节 - {strNovelAuthor}更新 - {strSiteName}',
] ]
], ],
'NOVEL@GETNOVELINFO@KEYWORDS' => [ 'NOVEL@GETNOVELINFO@KEYWORDS' => [
@@ -337,7 +337,12 @@ class TemplateSeeder
'/user', '/user',
] ]
], ],
'PC_URL_PATH' => [
'description' => 'pc端URL目录 模板',
'sfg_id' => 107,
'arrSubjectFomart' => ['/pc', '/web', '/desktop', '/index', '/shouye', '/zhuomian']
],
// SEO 丰富内容 // SEO 丰富内容
'INDEX_POPULAR_NOVELS' => [ 'INDEX_POPULAR_NOVELS' => [
@@ -856,8 +861,7 @@ class TemplateSeeder
] ]
], ],
// 最新替换模板分组id 107
// 最新替换模板分组id 106
]; ];
@@ -993,7 +997,7 @@ class TemplateSeeder
$SubjectFomartModel = SubjectFomartModel::where('sfg_id', $SubjectFomartItem['sfg_id'])->where('sf_val', $SubjectFomart)->find(); $SubjectFomartModel = SubjectFomartModel::where('sfg_id', $SubjectFomartItem['sfg_id'])->where('sf_val', $SubjectFomart)->find();
if (empty($SubjectFomartModel)) { if (empty($SubjectFomartModel)) {
SubjectFomartModel::insert($SubjectFomartItem); SubjectFomartModel::insert($SubjectFomartItem);
} }
}; };
if (empty($SubjectFomartGroupModel)) { if (empty($SubjectFomartGroupModel)) {

View File

@@ -80,16 +80,16 @@ function handleRedirect() {
if (isMobile()) { if (isMobile()) {
// 移动端逻辑 // 移动端逻辑
if (strCurrentPath.startsWith('/pc/')) { if (strCurrentPath.startsWith(strPcPath)) {
// 如果路径包含 "/pc/",去除 "/pc/" // 如果路径包含 "/pc/",去除 "/pc/"
const newPath = strCurrentPath.replace('/pc/', '/'); // 去除 "/pc/" const newPath = strCurrentPath.replace(strPcPath, '/'); // 去除 "/pc/"
window.location.href = `${strCurrentHost}${newPath}`; window.location.href = `${strCurrentHost}${newPath}`;
} }
} else { } else {
// PC 端逻辑 // PC 端逻辑
if (!strCurrentPath.startsWith('/pc/')) { if (!strCurrentPath.startsWith(strPcPath)) {
// 如果路径不包含 "/pc/",添加 "/pc/" // 如果路径不包含 "/pc/",添加 "/pc/"
window.location.href = `${strCurrentHost}/pc${strCurrentPath}`; window.location.href = `${strCurrentHost}${strPcPath}${strCurrentPath}`;
} }
} }
} }

View File

@@ -81,16 +81,16 @@ function handleRedirect() {
if (isMobile()) { if (isMobile()) {
// 移动端逻辑 // 移动端逻辑
if (strCurrentPath.startsWith('/pc/')) { if (strCurrentPath.startsWith(strPcPath)) {
// 如果路径包含 "/pc/",去除 "/pc/" // 如果路径包含 "/pc/",去除 "/pc/"
const newPath = strCurrentPath.replace('/pc/', '/'); // 去除 "/pc/" const newPath = strCurrentPath.replace(strPcPath, '/'); // 去除 "/pc/"
window.location.href = `${strCurrentHost}${newPath}`; window.location.href = `${strCurrentHost}${newPath}`;
} }
} else { } else {
// PC 端逻辑 // PC 端逻辑
if (!strCurrentPath.startsWith('/pc/')) { if (!strCurrentPath.startsWith(strPcPath)) {
// 如果路径不包含 "/pc/",添加 "/pc/" // 如果路径不包含 "/pc/",添加 "/pc/"
window.location.href = `${strCurrentHost}/pc${strCurrentPath}`; window.location.href = `${strCurrentHost}${strPcPath}${strCurrentPath}`;
} }
} }
} }