使用 grok 检测优化h5 的 html

This commit is contained in:
make
2025-04-10 11:54:34 +08:00
parent fb2a5a30f8
commit 2e9e914f77
9 changed files with 94 additions and 73 deletions

View File

@@ -665,6 +665,7 @@ class Novel extends BaseController
$arrFilter = ['n_id' => $intNId, 'c_sort_num' => $intChapterSort, 'c_page' => $intChapterPage]; $arrFilter = ['n_id' => $intNId, 'c_sort_num' => $intChapterSort, 'c_page' => $intChapterPage];
$arrChapter = $ChapterModel->findOne($arrFilter); $arrChapter = $ChapterModel->findOne($arrFilter);
$strChapterDescription = '';
// 上一章节和下一章节 // 上一章节和下一章节
$arrPreChapter = $arrNextChapter = []; $arrPreChapter = $arrNextChapter = [];
@@ -672,10 +673,17 @@ class Novel extends BaseController
if ($arrChapter) { if ($arrChapter) {
$arrPreChapter = $ChapterModel->getPreChapter($arrChapter['n_id'], $arrChapter['c_sort_num'], $arrChapter['c_page']); $arrPreChapter = $ChapterModel->getPreChapter($arrChapter['n_id'], $arrChapter['c_sort_num'], $arrChapter['c_page']);
$arrNextChapter = $ChapterModel->getNextChapter($arrChapter['n_id'], $arrChapter['c_sort_num'], $arrChapter['c_page']); $arrNextChapter = $ChapterModel->getNextChapter($arrChapter['n_id'], $arrChapter['c_sort_num'], $arrChapter['c_page']);
// 要点-先从章节随机截取后面如果用上ai看看使用ai 提炼 精简内容
$strChapterDescription = strip_tags($arrChapter['content']);
$intCount = mb_strlen($strChapterDescription);
$strChapterDescription = ($intCount > 50) ? mb_substr($strChapterDescription, 0, 50) : $strChapterDescription;
} }
$arrCategoryAll = CategoryModel::$arrCategoryAll; $arrCategoryAll = CategoryModel::$arrCategoryAll;
// 更新值 // 更新值
ConverterMovel::setVal([ ConverterMovel::setVal([
'intPage' => 1, 'intPage' => 1,
@@ -684,6 +692,7 @@ class Novel extends BaseController
'strNovelCategoryName' => $arrNovel['og_novel_category'], 'strNovelCategoryName' => $arrNovel['og_novel_category'],
'strNovelStatus' => $arrNovel['og_novel_status'], 'strNovelStatus' => $arrNovel['og_novel_status'],
'strNovelDescription' => $arrNovel['og_description'], 'strNovelDescription' => $arrNovel['og_description'],
'strChapterDescription' => $strChapterDescription,
'strNovelChapterName' => $arrChapter['name'], 'strNovelChapterName' => $arrChapter['name'],
'strNovelChapterSort' => $arrChapter['c_sort_num'], 'strNovelChapterSort' => $arrChapter['c_sort_num'],
]); ]);

View File

@@ -19,7 +19,7 @@
<!-- <script src="/public/jquery/jquery-3.7.1.min.js"></script> --> <!-- <script src="/public/jquery/jquery-3.7.1.min.js"></script> -->
<!-- 社交媒体标签 --> <!-- 社交媒体标签 -->
<meta property="og:title" content="{$arrNovel['og_novel_book_name']??'未知小说'}" /> <meta property="og:title" content="{$arrNovel['og_novel_book_name']??'未知小说'} {$arrChapter.name} - {$DomainModel->d_name}" />
<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}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' /> content='https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' />
@@ -38,42 +38,38 @@
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}/pc/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'] ?? '未知小说'}" /> <meta name="twitter:title" content="{$arrNovel['og_novel_book_name']??'未知小说'} {$arrChapter.name} - {$DomainModel->d_name}" />
<meta name="twitter:description" content="{$strDescription ?? '暂无简介'}" /> <meta name="twitter:description" content="{$strDescription ?? '暂无简介'}" />
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" /> <meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
<!-- 结构化数据 --> <!-- 结构化数据 -->
<script type="application/ld+json"> <script type="application/ld+json">
{ {
"@context": "https://{$DomainModel->d_domain}", "@context": "https://schema.org",
"@type": "book",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "{$arrNovel.og_novel_update_time ?? ''}",
"author": {
"@type": "Person",
"name": "{$arrNovel['og_novel_author'] ??'佚名'}"
},
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}"
},
"image": "{$Novel.n_cover_path ?? ''}",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}"
}
"isPartOf": {
"@type": "Book", "@type": "Book",
"name": "{$arrNovel['og_novel_book_name'] ?? '未知小说'}", "name": "{$arrNovel['og_novel_book_name'] ?? '未知小说'}",
"url": '{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' "author": {
} "@type": "Person",
"name": "{$arrNovel['og_novel_author'] ??'佚名'}"
},
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}"
},
"image": "{$arrNovel.n_cover_path ?? ''}",
"url": "https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}",
"inLanguage": "zh-CN",
"genre": "{$arrNovel.og_novel_category ??''}",
"datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}",
"hasPart": {
"@type": "CreativeWork",
"name": "{$arrChapter.name ?? ''}",
"url": "https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}",
"description": "{$strDescription}"
}
} }
</script> </script>
</head> </head>
<body class="skin-default"> <body class="skin-default">
@@ -116,7 +112,6 @@
</div> </div>
<article id="chapterContent" class="read-article" style="font-size: 1.125rem"> <article id="chapterContent" class="read-article" style="font-size: 1.125rem">
<section class="read-section jsChapterWrapper" data-chapter-id="4b2d5aab58d71"> <section class="read-section jsChapterWrapper" data-chapter-id="4b2d5aab58d71">
<!-- <h3>01 天龙问世</h3> -->
{$arrChapter.content|raw} {$arrChapter.content|raw}
</section> </section>
@@ -142,12 +137,14 @@
</content> </content>
<div class="page-read-top"> <div class="page-read-top">
<h2 id="chapterTitle" class="read-book-name">
<a href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'> <h1 id="chapterTitle" class="read-book-name">
{$arrNovel.og_novel_book_name} <a href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>
{$arrNovel.og_novel_book_name}
</a> </a>
</h2> <a href="/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num}">{$arrChapter.name}</a>
<h1 id="chapterTitle" class="read-book-name">{$arrChapter.name}</h1>
</h1>
</div> </div>
<mark id="readPageMark" class="read-page-mark">你刚刚阅读到这里</mark> <mark id="readPageMark" class="read-page-mark">你刚刚阅读到这里</mark>
<p id="pageNum" class="read-page-num">1/1</p> <p id="pageNum" class="read-page-num">1/1</p>

View File

@@ -4,18 +4,18 @@
{block name="description"}{$strDescription??''}{/block} {block name="description"}{$strDescription??''}{/block}
{block name="head"} {block name="head"}
<!-- 社交媒体标签 --> <!-- 社交媒体标签 -->
<meta property="og:title" content="{$arrNovel['og_novel_book_name']??'未知小说'}" /> <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}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' /> content='https://{$DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrLatestChapter.c_sort_num ?? 1}' />
<meta property="og:type" content="book" /> <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}" />
<meta property="og:novel:category" content="{$arrNovel.og_novel_category ?? ''}"> <meta property="og:novel:category" content="{$arrNovel.og_novel_category ?? ''}">
<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}/pc/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 ?? ''}">
@@ -26,13 +26,14 @@
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" /> <meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" />
<meta name="twitter:description" content="{$strDescription ?? '暂无简介'}" /> <meta name="twitter:description" content="{$strDescription ?? '暂无简介'}" />
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" /> <meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
<!-- 结构化数据 --> <!-- 结构化数据 -->
<script type="application/ld+json"> <script type="application/ld+json">
{ {
"@context": 'https://{$DomainModel->d_domain}/{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}', "@context": "https://schema.org",
"@type": "Book", "@type": "Book",
"name": "{$arrNovel['og_novel_book_name'] ?? '未知小说'}", "name": "{$arrNovel['og_novel_book_name'] ?? '未知小说'}",
"description": "{$arrNovel['og_description'] ??'暂无简介'}",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "{$arrNovel['og_novel_author'] ??'佚名'}" "name": "{$arrNovel['og_novel_author'] ??'佚名'}"
@@ -42,17 +43,14 @@
"name": "{$DomainModel->d_name}", "name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}" "url": "https://{$DomainModel->d_domain}"
}, },
"datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}", "url": "https://{$DomainModel->d_domain}/xiaoshuo/$arrNovel[og_novel_pin_yin]/mulu/zheng/{$intPage}",
"image": "{$Novel.n_cover_path ?? ''}",
"url": '{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}',
"genre": "{$arrNovel.og_novel_category ??''}",
"inLanguage": "zh-CN", "inLanguage": "zh-CN",
"bookFormat": "https://{$DomainModel->d_domain}/EBook", "genre": "{$arrNovel['og_novel_category'] ?? '未知分类'}",
"aggregateRating": { "hasPart": {
"@type": "AggregateRating", "@type": "WebPage",
"ratingValue": "4.5", "name": "{$arrNovel['og_novel_book_name'] ?? '未知小说'}章节目录 第{$intPage}页",
"reviewCount": "100", "url": "https://{$DomainModel->d_domain}/xiaoshuo/$arrNovel[og_novel_pin_yin]/mulu/zheng/{$intPage}"
}, }
} }
</script> </script>
{block name="head-js"}{/block} {block name="head-js"}{/block}
@@ -74,7 +72,7 @@
<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="/shuku/all/{arrNovel.category_pinyin}/all/page1" itemprop="item"> <a href="/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" />
@@ -92,7 +90,7 @@
<div class="mod mod-attentions"> <div class="mod mod-attentions">
{$arrGRM[0]|raw} {$arrGRM[0]|raw}
<div class="mod-head"> <div class="mod-head">
<h1>{$arrNovel['og_novel_book_name']}-章节目录第{$intPage}页</h1> <h1>{$arrNovel['og_novel_book_name']}章节目录 - {$arrNovel['og_novel_author']} - {$DomainModel->d_name} 第{$intPage}页</h1>
</div> </div>
@@ -105,7 +103,7 @@
<li> <li>
{$arrGRM[$key]|raw} {$arrGRM[$key]|raw}
<a href="/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$Chapter.c_sort_num}" <a href="/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$Chapter.c_sort_num}"
title="{$Chapter.name}">{$Chapter.name}</a> title="{$arrNovel['og_novel_book_name']} {$Chapter.name}">{$Chapter.name}</a>
</li> </li>
{/volist} {/volist}
</ul> </ul>

View File

@@ -29,8 +29,8 @@
<!-- 结构化数据 --> <!-- 结构化数据 -->
<script type="application/ld+json"> <script type="application/ld+json">
{ {
"@context": 'https://{$DomainModel->d_domain}/{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}', "@context": "https://schema.org",
"@type": "book", "@type": "Book",
"name": "{$arrNovel['og_novel_book_name'] ?? '未知小说'}", "name": "{$arrNovel['og_novel_book_name'] ?? '未知小说'}",
"description": "{$arrNovel['og_description'] ??'暂无简介'}", "description": "{$arrNovel['og_description'] ??'暂无简介'}",
"author": { "author": {
@@ -43,8 +43,8 @@
"url": "https://{$DomainModel->d_domain}" "url": "https://{$DomainModel->d_domain}"
}, },
"datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}", "datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}",
"image": "{$Novel.n_cover_path ?? ''}", "image": "{$arrNovel.n_cover_path ?? ''}",
"url": '{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}', "url": 'https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}',
"genre": "{$arrNovel.og_novel_category ??''}", "genre": "{$arrNovel.og_novel_category ??''}",
"inLanguage": "zh-CN", "inLanguage": "zh-CN",
"bookFormat": "https://{$DomainModel->d_domain}/EBook", "bookFormat": "https://{$DomainModel->d_domain}/EBook",
@@ -53,6 +53,7 @@
"ratingValue": "4.5", "ratingValue": "4.5",
"reviewCount": "100", "reviewCount": "100",
}, },
} }
</script> </script>
{/block} {/block}
@@ -60,12 +61,14 @@
{block name="logo-html"} {block name="logo-html"}
<h2 class="logo"> <h2 class="logo">
<a href="/">{$DomainModel->d_name}-{$arrNovel['og_novel_book_name']}最新章节</a> <a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>
</h2> </h2>
{/block} {/block}
{block name="main"} {block name="main"}
<div class="wrap"> <div class="wrap">
<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">
@@ -87,6 +90,7 @@
<meta itemprop="position" content="3" /> <meta itemprop="position" content="3" />
</li> </li>
</ol> </ol>
<h1 class="site-description ">{$arrNovel['og_novel_book_name']}最新章节 - {$arrNovel['og_novel_author']} - {$DomainModel->d_name}</h1>
</nav> </nav>
<!--info--> <!--info-->
@@ -95,13 +99,13 @@
<div class="book-info"> <div class="book-info">
<dl class="base clearfix"> <dl class="base clearfix">
<dt> <dt>
<img src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" <img src="/static/img/default.jpg" data-src="{$arrNovel.n_cover_path ?? ''}"
alt="{$Novel->og_novel_book_name ?? ''}封面" class="lazy lazyload-img" /> alt="{$arrNovel['og_novel_book_name'] ?? ''}小说封面 - {$arrNovel.og_novel_author}最新章节" class="lazy lazyload-img" />
<i class='{eq name="arrNovel.og_novel_status" value="连载中"}serial{else}finish {/eq}'>已完结</i> <i class='{eq name="arrNovel.og_novel_status" value="连载中"}serial{else}finish {/eq}'>已完结</i>
</dt> </dt>
<dd> <dd>
<h1>{$arrNovel['og_novel_book_name']}</h1> <h2>{$arrNovel['og_novel_book_name']}</h2>
<p class="info"> <p class="info">
<span>分类:{$arrNovel.og_novel_category}</span> <span>分类:{$arrNovel.og_novel_category}</span>
<span>作者:<a href="/search.html?keyword=兔子很淡定">{$arrNovel.og_novel_author}</a></span> <span>作者:<a href="/search.html?keyword=兔子很淡定">{$arrNovel.og_novel_author}</a></span>
@@ -163,7 +167,7 @@
<!-- hot-book --> <!-- hot-book -->
<div class="mod mod-attentions"> <div class="mod mod-attentions">
<div class="mod-head"> <div class="mod-head">
<h3>目录</h3> <h3>{$arrNovel.og_novel_book_name}最新章节</h3>
</div> </div>
<div class="attentions"> <div class="attentions">
<ul class="clearfix"> <ul class="clearfix">
@@ -178,7 +182,7 @@
</ul> </ul>
<div class="chapters-more"> <div class="chapters-more">
<a href="/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng" <a href="/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng"
class="reading btn-bookshelf">更多章节</a> class="reading btn-bookshelf">{$arrNovel.og_novel_book_name}更多章节</a>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -50,7 +50,7 @@ pc-首页
3.地图生成 3.地图生成
4.收录推送 4.收录推送
5.友情链接 5.友情链接
6.热搜词 收索下面展示全站通用每个站点随机展示10条 6.热搜词 顶部收索下面展示全站通用每个站点随机展示10条

View File

@@ -24,6 +24,7 @@ class ConverterMovel
'{strNovelName}' => '', '{strNovelName}' => '',
'{strNovelChapterName}' => '', '{strNovelChapterName}' => '',
'{strNovelChapterSort}' => '', '{strNovelChapterSort}' => '',
'{strChapterDescription}' => '',
'{strNovelCategoryName}' => '', '{strNovelCategoryName}' => '',
'{strNovelSex}' => '', '{strNovelSex}' => '',
'{strNovelStatus}' => '', '{strNovelStatus}' => '',
@@ -31,6 +32,7 @@ class ConverterMovel
'{strNovelAuthor}' => '', '{strNovelAuthor}' => '',
'{strNovelDescription}' => '', '{strNovelDescription}' => '',
'{strSearchKeywords}' => '', '{strSearchKeywords}' => '',
]; ];
static public $arrDescription = [ static public $arrDescription = [
@@ -44,6 +46,7 @@ class ConverterMovel
'{strNovelName}' => '这个是当前页面小说描述', '{strNovelName}' => '这个是当前页面小说描述',
'{strNovelChapterName}' => '当前页面小说章节名字', '{strNovelChapterName}' => '当前页面小说章节名字',
'{strNovelChapterSort}' => '当前页面小说章节排序号', '{strNovelChapterSort}' => '当前页面小说章节排序号',
'{strChapterDescription}' => '当前页面小说章节描述',
'{strNovelCategoryName}' => '当前页面小说分类名字', '{strNovelCategoryName}' => '当前页面小说分类名字',
'{strNovelSex}' => '当前页面小说是男生还是女生 小说', '{strNovelSex}' => '当前页面小说是男生还是女生 小说',
'{strNovelStatus}' => '当前页面小说状态 是连载还是完结', '{strNovelStatus}' => '当前页面小说状态 是连载还是完结',

View File

@@ -87,6 +87,7 @@ class TemplateSeeder
'description' => '详情Title 替换模板分组ID', 'description' => '详情Title 替换模板分组ID',
'sfg_id' => 10, 'sfg_id' => 10,
'arrSubjectFomart' => [ 'arrSubjectFomart' => [
'{strNovelName} - {strNovelAuthor} - 免费在线阅读 - {strSiteName}',
'{strNovelName} - {strNovelAuthor} - {strSiteName} - 免费阅读', '{strNovelName} - {strNovelAuthor} - {strSiteName} - 免费阅读',
] ]
], ],
@@ -94,7 +95,7 @@ class TemplateSeeder
'description' => '详情Keywords 替换模板分组ID', 'description' => '详情Keywords 替换模板分组ID',
'sfg_id' => 11, 'sfg_id' => 11,
'arrSubjectFomart' => [ 'arrSubjectFomart' => [
'{strNovelName}, {strNovelAuthor}, {strNovelCategoryName}小说, {strNovelSex}小说, {strNovelStatus}小说, {strSiteName}, 免费阅读', '{strNovelName}, {strNovelAuthor}, {strNovelCategoryName}, {strNovelSex}小说, {strNovelStatus}小说, {strSiteName}, 免费阅读',
] ]
], ],
'NOVEL@GETNOVELINFO@DESCRIPTION' => [ 'NOVEL@GETNOVELINFO@DESCRIPTION' => [
@@ -109,20 +110,21 @@ class TemplateSeeder
'description' => '目录Title 替换模板分组ID', 'description' => '目录Title 替换模板分组ID',
'sfg_id' => 13, 'sfg_id' => 13,
'arrSubjectFomart' => [ 'arrSubjectFomart' => [
'{strNovelName}章节目录 - {strSiteName} - 第{intPage}页', '{strNovelName}章节目录 - {strNovelAuthor} - 免费查看 - {strSiteName} 第{intPage}页',
] ]
], ],
'NOVEL@GETNOVELCHAPTERALL@KEYWORDS' => [ 'NOVEL@GETNOVELCHAPTERALL@KEYWORDS' => [
'description' => '目录Keywords 替换模板分组ID', 'description' => '目录Keywords 替换模板分组ID',
'sfg_id' => 14, 'sfg_id' => 14,
'arrSubjectFomart' => [ 'arrSubjectFomart' => [
'{strNovelName}, {strNovelName}章节目录, {strNovelAuthor}, {strNovelCategoryName}小说, {strNovelSex}小说, {strSiteKeywords}, {strSiteName}', '{strNovelName}, 章节目录, {strNovelAuthor}, {strNovelCategoryName}, 免费阅读,{strNovelSex}小说, {strSiteKeywords}, {strSiteName}',
] ]
], ],
'NOVEL@GETNOVELCHAPTERALL@DESCRIPTION' => [ 'NOVEL@GETNOVELCHAPTERALL@DESCRIPTION' => [
'description' => '目录Description 替换模板分组ID', 'description' => '目录Description 替换模板分组ID',
'sfg_id' => 15, 'sfg_id' => 15,
'arrSubjectFomart' => [ 'arrSubjectFomart' => [
'{strSiteName}提供{strNovelName}章节目录免费查看,第{intPage}页包含最新{strNovelStatus}章节,{strNovelAuthor}创作,畅享{strSiteDomain}', '{strSiteName}提供{strNovelName}章节目录免费查看,第{intPage}页包含最新{strNovelStatus}章节,{strNovelAuthor}创作,畅享{strSiteDomain}',
] ]
], ],
@@ -131,21 +133,22 @@ class TemplateSeeder
'description' => '内容Title 替换模板分组ID', 'description' => '内容Title 替换模板分组ID',
'sfg_id' => 16, 'sfg_id' => 16,
'arrSubjectFomart' => [ 'arrSubjectFomart' => [
'{strNovelName} {strNovelChapterSort}章 {strNovelChapterName} - {strSiteName}', '{strNovelName} {strNovelChapterName} - {strNovelAuthor} - 免费阅读 - {strSiteName}',
'{strNovelName} {strNovelChapterName} - {strSiteName}',
] ]
], ],
'NOVEL@GETNOVELCHAPTER@KEYWORDS' => [ 'NOVEL@GETNOVELCHAPTER@KEYWORDS' => [
'description' => '内容Keywords 替换模板分组ID', 'description' => '内容Keywords 替换模板分组ID',
'sfg_id' => 17, 'sfg_id' => 17,
'arrSubjectFomart' => [ 'arrSubjectFomart' => [
'{strNovelName}, 第{strNovelChapterSort}章, {strNovelChapterName}, {strNovelAuthor}, {strSiteKeywords}, {strSiteName}, 免费阅读', '{strNovelName}, {strNovelChapterName}, {strNovelAuthor}, {strSiteKeywords}, 免费阅读, {strSiteName}',
] ]
], ],
'NOVEL@GETNOVELCHAPTER@DESCRIPTION' => [ 'NOVEL@GETNOVELCHAPTER@DESCRIPTION' => [
'description' => '内容Description 替换模板分组ID', 'description' => '内容Description 替换模板分组ID',
'sfg_id' => 18, 'sfg_id' => 18,
'arrSubjectFomart' => [ 'arrSubjectFomart' => [
'{strSiteName}提供{strNovelName}第{strNovelChapterSort}章{strNovelChapterName}免费阅读,{strNovelAuthor}创作,畅享{strSiteDomain}', '{strNovelName}{strNovelChapterName}免费在线阅读,{strNovelAuthor}著。{strChapterDescription},快来{strSiteName}畅读精彩章节',
] ]
], ],

View File

@@ -257,9 +257,13 @@ aria {
} }
.site-description{ .site-description{
font-size: 0.7rem; font-size: 0.7rem;
padding: 0.5rem 1rem; padding: 0.5rem 0.5rem;
line-height: 1rem; line-height: 1rem;
} }
.breadcrumb .site-description{
padding: 0.5rem 0rem 0rem;
}
/*尾部*/ /*尾部*/
.footer{ .footer{
margin-top: 0.75rem; margin-top: 0.75rem;
@@ -502,7 +506,7 @@ aria {
border-radius: 0.1875rem; border-radius: 0.1875rem;
} }
.mod-head h1{ .mod-head h1{
font-size: 1.125rem; font-size: 0.7rem;
text-align: center; text-align: center;
line-height: 40px; line-height: 40px;
width: 100%; width: 100%;

View File

@@ -375,6 +375,9 @@ a.read-load-icon[class] {
left: 1rem; left: 1rem;
color: rgba(0,0,0,.7); */ color: rgba(0,0,0,.7); */
} }
.read-book-name a{
display: block;
}
.read-page-mark { .read-page-mark {
font-size: 0; font-size: 0;
position: absolute; position: absolute;