This commit is contained in:
make
2025-04-29 16:36:22 +08:00
parent 0137ecaa69
commit e0de1404f6
11 changed files with 67 additions and 48 deletions

View File

@@ -34,6 +34,7 @@
<header class="top">
<a href="/" title="{$DomainModel->d_name}" class="iconfont icon-shouye z fs30 sv"></a>
<a href="{$strCategoryIndexUrlTemp}" title="小说书库" class="iconfont icon-iconfonticonfontshujupaixing z fs24 "></a>
<div class="y" id="qs_login1">
<a href="{$strUserUrlTemp}" rel="nofollow"
class="iconfont icon-login y fs24">
@@ -45,10 +46,10 @@
<div class="nav">
<ul>
{if $DomainModel->info_id > 0}
<li><a href="/"> </a></li>
<li><a href="/">首页</a></li>
<li><a href="/nindex/">小说首页</a></li>
{else}
<li><a href="/"> </a></li>
<li><a href="/">首页</a></li>
{/if}
<li><a href="{$strCategoryIndexUrlTemp}">小说分类</a></li>

View File

@@ -35,24 +35,23 @@
{block name='body-class'}index_xs{/block}
{block name="logo-html"}
<h1 class="logo">
<a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>
</h1>
{/block}
{block name="main"}
{site:grm page_code="h5_index" diff="0" num="60" g_key="arrGrm" /}
<div class="rs">
<p><span>热搜推荐:</span></p>
<h1 class="logo">
<a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>
</h1>
<h3>
{$DomainModel->d_index_description}
</h3>
</div>
<div class="index_body">
<div class="index_qb fmtj">
<div class="tl t1">
<span>完结小说推荐</span>
<h2>完结小说推荐</h2>
<i>{$DomainModel->d_domain}</i>
</div>

View File

@@ -22,7 +22,7 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
{if $Request.route.strGender == 'all' && $Request.route.strCategory == 'all' && $Request.route.strStatus == 'all'}
<meta property="og:url" content="https://{$DomainModel->d_domain}{$strCategoryIndexUrlTemp}" />
{else}
<link rel="canonical" href='https://{$DomainModel->d_domain}{site:nflurl gender="$Request.route.strGender" category="$Request.route.strCategory" status="$Request.route.strStatus" page="1"/}'>
<meta property="og:url"
content='https://{$DomainModel->d_domain}{site:nflurl gender="$Request.route.strGender" category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}' />
{/if}
@@ -54,6 +54,7 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
"@type": "Organization",
"name": "{$DomainModel->d_name}",
}
}
</script>
{/if}
@@ -65,18 +66,14 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
{block name="head-js"}{/block}
{block name="logo-html"}
<h1 class="logo">
<a href="/">{$DomainModel->d_name}-{site:getval code="strNovelSex" /}{site:getval code="strNovelCategoryName" /}{site:getval code="strNovelStatus" /}免费阅读</a>
</h1>
{/block}
{block name="strPageCode"}
<?php $strPageCode = 'library'; ?>
{/block}
{block name="main"}
<ul class="qs_nav">
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
<li class='{eq name="strCategoryPinyin" value="$Request.route.strCategory"}active_rank {/eq}'>
@@ -87,7 +84,15 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
</ul>
<p class="site-description">{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}</p>
<div class="rs">
<h1 class="logo">
<a href="/">{$DomainModel->d_name}-{site:getval code="strNovelSex" /}{site:getval code="strNovelCategoryName" /}{site:getval code="strNovelStatus" /}免费阅读</a>
</h1>
<h3>
{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}
</h3>
</div>
<nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
@@ -108,10 +113,10 @@ button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resD
<div class="qs_list">
<div class="index_qb dv1" style="margin-top:10px;">
{volist name="$resData.data" id="Novel" key="key"}
<a class="list br-b-1" href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}">
<a class="list br-b-1" href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}最新章节 {$Novel.n_category ?? ''}在线阅读">
{$arrGrm[$key]|raw}
<div class="fmy">
<h4>{$Novel.n_name}</h4>
<h2>{$Novel.n_name}</h2>
<div class="info">
{$Novel.n_description}
</div>

View File

@@ -105,7 +105,7 @@
{block name='body-class'}info_xs{/block}
{block name="main"}
<h1 class="site-description ">{$arrNovel['n_name']}最新章节 - {$arrNovel['n_author']} - {$DomainModel->d_name}</h1>
<div class="header_info">
<div class="xs_info xsjs">
@@ -120,7 +120,10 @@
</h2>
<div class="xs_introduce">
{$arrNovel.n_description}
<br>
{$arrNovel.strFocus}
</div>
</div>
<div class="xs_fmzz"></div>
</div>
@@ -183,7 +186,9 @@
<i>{$DomainModel->d_domain}</i>
<h2 class="btn_cl_1">最新更新</h2>
<ul class="ph_list">
{novel:list count="8" sort_type="update" n_category="$arrNovel.n_category_pinyin" d_key="key" d_val="Novel" cache_life="86400"}
{include file="public/novelListS" start="0"/}
{/novel:list}
</ul>
</div>

View File

@@ -16,7 +16,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" />
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name ?? ''} - {$DomainModel->d_name}" />
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}' />
<meta property="og:url"
content='https://{$DomainModel->d_domain}{$strPcPath}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' />
@@ -30,12 +30,12 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
content='https://{$DomainModel->d_domain}{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num"/}'>
<meta property="og:novel:status" content="{$arrNovel.n_status ?? ''}">
<meta property="og:novel:update_time" content="{$arrNovel.n_update_time ?? ''}">
<meta property="og:novel:latest_chapter_name" content="{$arrChapter.c_name}">
<meta property="og:novel:latest_chapter_name" content="{$arrChapter.c_name ?? ''}">
<meta property="og:novel:latest_chapter_url"
content='https://{$DomainModel->d_domain}{$strPcPath}{site:lcpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'>
<!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" />
<meta name="twitter:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name ?? ''} - {$DomainModel->d_name}" />
<meta name="twitter:description" content="{$strDescription ?? '暂无简介'}" />
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
@@ -111,7 +111,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="0"/}'
itemprop="item">
<span itemprop="name">{$arrChapter['c_name']}</span>
<span itemprop="name">{$arrChapter['c_name'] ?? ''}</span>
</a>
<meta itemprop="position" content="3" />
</li>
@@ -150,7 +150,6 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<p style="font-size:12px;">
{novel:list count="6" sort_type="news" n_category="$Request.route.strCategory" d_key="key" d_val="Novel"
p_val="page_data"
cache_life="86400"}
&nbsp;&nbsp;<a
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name ??

View File

@@ -1,11 +1,11 @@
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}" class="list">
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}最新章节 {$Novel.n_category ?? ''}在线阅读" class="list">
{$arrGrm[$key]|raw}
<div class="img">
<img class="lazyload-img" data-encrypted="false" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
</div>
<div class="fmy">
<h4>{$Novel.n_name}</h4>
<h2>{$Novel.n_name}</h2>
<div class="info">{$Novel.n_description}</div>
</div>
</a>

View File

@@ -1,6 +1,6 @@
<li class="s2">
<h5 class="tit">
{$arrGrm[$key+[start]]|raw}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name ?? ''}</a>
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}最新章节 {$Novel.n_category ?? ''}在线阅读">{$Novel.n_name ?? ''}</a>
</h5> <i class="num"><em>{$key}</em></i>
</li>

View File

@@ -1,9 +1,9 @@
<li>
{$arrGrm[$key+[start]]|raw}
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' class="s">
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' class="s" title="{$Novel.n_name}最新章节 {$Novel.n_category ?? ''}在线阅读">
{$Novel.n_name ?? ''}
</a>
<a href='{site:souurl key="$Novel.n_author" p="1"/}'>
<a href='{site:souurl key="$Novel.n_author" p="1"/}' title="{$Novel.n_author}写的 {$Novel.n_category ?? ''}{$Novel.n_name}在线阅读">
{$Novel.n_author ?? ''}</a>
</li>

View File

@@ -252,7 +252,7 @@ class ChapterService
$arrChapter['pre_chapter'] = $arrPreChapter;
$arrChapter['next_chapter'] = $arrNextChapter;
// var_dump($arrChapter['c_name']);exit;
// 更新值
ConverterMovel::setVal([
'intPage' => 1,
@@ -262,8 +262,8 @@ class ChapterService
'strNovelStatus' => $arrNovel['n_status'],
'strNovelDescription' => $arrNovel['n_description'],
'strChapterDescription' => $strChapterDescription,
'strNovelChapterName' => $arrChapter['c_name'],
'strNovelChapterSort' => $arrChapter['c_sort_num'],
'strNovelChapterName' => $arrChapter['c_name'] ?? '',
'strNovelChapterSort' => $arrChapter['c_sort_num'] ?? 0,
]);
return $arrChapter;

View File

@@ -7,15 +7,15 @@
return [
'{strNovelName} - {strNovelAuthor}- {strNovelCategoryName} - 免费在线阅读 - {strSiteName}',
'{strNovelName} - {strNovelAuthor} - {strSiteName} - 免费阅读',
'《{strNovelName}》{strNovelName}全文阅读 - {strNovelCategoryName} - {strSiteName}',
'{strNovelName}{strNovelCategoryName} - {strNovelName}阅读 - {strSiteName}',
'{strNovelName}完整版免费阅读 |{strNovelName}最新章节免费阅读 - {strSiteName}',
'{strNovelName}全文免费阅读 | {strNovelName}最新章节更新 - {strSiteName}',
'「{strNovelName}」{strNovelCategoryName}全文免费 {strNovelName}免费阅读更新 - {strSiteName}',
'《{strNovelName}》{strNovelName}小说最新章节免费阅读 - {strNovelCategoryName} - {strSiteName}',
'{strNovelName}{strNovelCategoryName} {strNovelName}最新章节 - {strSiteName}',
'{strNovelName}免费无弹窗 | {strNovelName}最新章节目录 - {strSiteName}',
'《{strNovelName}》{strNovelAuthor}小说 , {strNovelName}免费在线阅读 - {strSiteName}',
'《{strNovelName}》全文阅读 - {strNovelCategoryName} - {strSiteName}',
'{strNovelName}{strNovelCategoryName} - 免费阅读 - {strSiteName}',
'{strNovelName}完整版免费阅读 |最新章节免费阅读 - {strSiteName}',
'{strNovelName}全文免费阅读 | 最新章节更新 - {strSiteName}',
'「{strNovelName}」{strNovelCategoryName}全文免费 免费阅读更新 - {strSiteName}',
'《{strNovelName}》小说最新章节免费阅读 - {strNovelCategoryName} - {strSiteName}',
'{strNovelName}{strNovelCategoryName} 最新章节 - {strSiteName}',
'{strNovelName}免费无弹窗 | 最新章节目录 - {strSiteName}',
'《{strNovelName}》{strNovelAuthor}小说 , 免费在线阅读 - {strSiteName}',
'{strNovelName} - {strNovelAuthor} - 免费在线小说 - {strSiteName}',
'{strNovelName}最新章节在线阅读 - {strNovelCategoryName} - {strSiteName}',
'《{strNovelName}》免费阅读全集 - {strNovelAuthor} - {strSiteName}',

View File

@@ -285,19 +285,19 @@ header.top>div>a.sv{background: #fff;color: #ff689b;}
.index_qb{background: #fff;padding:0 10px;margin-top: 10px;}
.index_qb .tl{background: #fff;height: 36px;line-height: 40px;font-size: 12px;color: #C3C3C3;border-bottom: solid 1px #eee;}
.index_qb .tl span{font-size: 16px;padding: 0 5px 0 3px;height: 18px;line-height: 18px;overflow: hidden;display: block;margin-top: 9px;float: left;color: #C70000;border-left: 3px solid #C70000;}
.index_qb .tl span , .index_qb .tl h2, .index_qb .tl h3{font-size: 16px;padding: 0 5px 0 3px;height: 18px;line-height: 18px;overflow: hidden;display: block;margin-top: 9px;float: left;color: #C70000;border-left: 3px solid #C70000;}
.index_qb .tl>i{float:right}
.index_qb .t2 span{font-size: 16px;padding: 0 5px 0 3px;height: 18px;line-height: 18px;overflow: hidden;display: block;margin-top: 9px;float: left;color: #00A9A9;border-left: 3px solid #00C7C7;}
.index_qb .list{display: block;position: relative;padding:5px 0;overflow: hidden;width: 100%;}
.index_qb .list:last-child{border-bottom:0;}
.index_xs .index_qb{background:#fff;padding:0;}
.list .img{display: block;width:60px;height:75px;float:left;overflow: hidden;background: url(/qs_theme/defaultimg.png) 0 0 / 100% #eee;position: relative;box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);border-radius: 3px;}
.list .img{display: block;width:60px;height:75px;float:left;overflow: hidden;background: #eee;position: relative;box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);border-radius: 3px;}
.list .img img{width:60px;height:75px;position: relative;transform: scale(1.03);-ms-transform: scale(1.03);transition: all 0.5s;}
.list:hover .img img{transform: scale(1.1);-ms-transform: scale(1.1);}
.list .autho{line-height:21px;font-size:12px;display:block;}
.list .fmy{margin:0 0 0 70px;overflow:hidden;color: #999;font-size: 12px;}
.list .fmy h4{color:#ff689b;letter-spacing: 2px;height: 20px;line-height: 18px;font-size: 16px;overflow: hidden;}
.list .fmy h4,.list .fmy h2{color:#ff689b;letter-spacing: 2px;height: 20px;line-height: 18px;font-size: 16px;overflow: hidden;}
.list .fmy .info{max-height:54px;line-height:18px;overflow: hidden;margin: 5px 0;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp:3;-webkit-box-orient: vertical;}
.list .fmy.author .info{height:74px;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 4;-webkit-box-orient: vertical;}
.sort_list .page{text-align:center;padding:10px 0;line-height: 29px;background: #fff;}
@@ -514,3 +514,13 @@ margin-bottom: 10px;
color: #888;
line-height: 1.6;
}
.rs h1{
font-size: 1rem;
}
.rs h2 , .rs h3{
font-size: 0.8rem;
}
.rs{background: #fff;box-sizing: border-box;padding:0px 10px 10px;}