This commit is contained in:
make
2025-04-23 20:12:04 +08:00
parent a0038033f2
commit c60bbcc7bb
49 changed files with 4464 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{extend name="baseH5" /}
{block name="title"}{$strTitle??''}{/block}
{block name="keywords"}{$strKeywords??''}{/block}
{block name="description"}{$strDescription??''}{/block}
{block name="head"}
<!-- 社交媒体标签 -->
<meta property="og:title" content="{$strTitle??''}" />
<meta property="og:description" content="{$strDescription??''}" />
<meta property="og:url" content="https://{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "{$DomainModel->d_domain}",
"@type": "article",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "{:date('Y-m-d')}"
}
</script>
{/block}
{block name="head-js"}{/block}
{block name="logo-html"}
<h1 class="logo">
<a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>
</h1>
{/block}
{block name="main"}
<div style="height:50px"></div>
article.........
{/block}
{block name="customize"} {/block}

View File

@@ -0,0 +1,64 @@
{extend name="baseH5" /}
{block name="title"}{$strTitle??''}{/block}
{block name="keywords"}{$strKeywords??''}{/block}
{block name="description"}{$strDescription??''}{/block}
{block name="head"}
<!-- 社交媒体标签 -->
<meta property="og:title" content="{$strTitle??''}" />
<meta property="og:description" content="{$strDescription??''}" />
<meta property="og:url" content="https://{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "{$DomainModel->d_domain}",
"@type": "article",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "{:date('Y-m-d')}"
}
</script>
{/block}
{block name="head-js"}{/block}
{block name="logo-html"}
<h1 class="logo">
<a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>/文章
</h1>
{/block}
{block name="main"}
<div style="height:50px"></div>
<div class="mod mod-nav">
<div id="book-nav" class="book-nav">
<ul class="clearfix">
<li><a class="on" href="/article/list.html" btn="search_category">全部</a></li>
<li><a href="/article/list-1-1.html" btn="search_category">高考作文</a></li>
<li><a href="/article/list-2-1.html" btn="search_category">小说解读</a></li>
<li><a href="/article/list-3-1.html" btn="search_category">影视解说</a></li>
<li><a href="/article/list-4-1.html" btn="search_category">王者荣耀</a></li>
<li><a href="/article/list-5-1.html" btn="search_category">日常八卦</a></li>
<li><a href="/article/list-6-1.html" btn="search_category">其它</a></li>
</ul>
</div>
</div>
<div class="mod new-book">
<div class="mod-head">
<h3>深度解说列表</h3>
</div>
<div class="top-index">
<ul class="clearfix">
{foreach $arrNewsNovel as $key => $vo}
{include file="public/articleList" /}
{/foreach}
</ul>
</div>
</div>
{/block}
{block name="customize"} {/block}

View File

@@ -0,0 +1,206 @@
{extend name="baseH5" /}
{block name="get-data"}
{novel:pagerexp page="$Request.get.page" limit="30"
n_category="$Request.route.strCategory"
n_sex="$Request.route.strGender"
n_status="$Request.route.strStatus"
d_key="d_key"
button_num="10" cache_life="86400" func="generateCategoryPager" export_name="resData" /}
{site:grm page_code="pc_novel_library" diff="$resData.p_data.page" num="70" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="NOVEL@GETLIBRARY@TITLE"}{/block}
{block name="keywords"}{site:replace code="NOVEL@GETLIBRARY@KEYWORDS"}{/block}
{block name="description"}{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}{/block}
{block name="head"}
<!-- 社交媒体标签 -->
<meta property="og:title" content='{site:replace code="NOVEL@GETLIBRARY@TITLE"}' />
<meta property="og:description" content='{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}' />
{if $Request.route.strGender == 'all' && $Request.route.strCategory == 'all' && $Request.route.strStatus == 'all'}
<meta property="og:url" content="https://{$DomainModel->d_domain}{$strCategoryIndexUrlTemp}" />
{else}
<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}
<meta property="og:type" content="book" />
<!-- 结构化数据 -->
{if $Request.route.strGender == 'all' && $Request.route.strCategory == 'all' && $Request.route.strStatus == 'all'}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "CollectionPage",
"url": 'https://{$DomainModel->d_domain}{$strCategoryIndexUrlTemp}',
"name": '{site:replace code="NOVEL@GETLIBRARY@TITLE"}',
"description": '{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}',
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}",
}
}
</script>
{else}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "CollectionPage",
"url": 'https://{$DomainModel->d_domain}{site:nflurl category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}',
"name": '{site:replace code="NOVEL@GETLIBRARY@TITLE"}',
"description": '{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}',
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}",
}
}
</script>
{/if}
{/block}
{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"}
<div class="wrap">
<p class="site-description">{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}</p>
<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">
<a href="/" itemprop="item">
<span itemprop="name">首页</span>
</a>
<meta itemprop="position" content="1" />
</li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="{$strCategoryIndexUrlTemp}" itemprop="item">
<span itemprop="name">书库</span>
</a>
<meta itemprop="position" content="2" />
</li>
</ol>
</nav>
<!-- book-nav -->
<div class="mod mod-nav">
<div id="book-nav" class="book-nav">
<ul class="clearfix">
<li class='{eq name="$Request.route.strGender" value="all"}on {/eq} {eq name="$Request.route.strGender" value=""}on {/eq}'>
<a href='{site:nflurl gender="all" category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
title="全部">全部</a>
</li>
<li class='{eq name="$Request.route.strGender" value="$strNanUrl"}on {/eq}'>
<a href='{site:nflurl gender="$strNanUrl" category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
title="男生">男生</a>
</li>
<li class='{eq name="$Request.route.strGender" value="$strNvUrl"}on {/eq}'>
<a href='{site:nflurl gender="$strNvUrl" category="$Request.route.strCategory" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
title="女生">女生</a>
</li>
</ul>
</div>
<div id="book-nav" class="book-nav">
<ul class="clearfix">
<li class='{eq name="$Request.route.strCategory" value="all"}on {/eq} {eq name="$Request.route.strCategory" value=""}on {/eq}'>
<a href='{site:nflurl gender="$Request.route.strGender" category="all" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
btn="search_category">全部</a>
</li>
{if $Request.route.strGender == "all" || $Request.route.strGender == ""}
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
<li class='{eq name="strCategoryPinyin" value="$Request.route.strCategory"}on {/eq}'>
<a href='{site:nflurl gender="$Request.route.strGender" category="$strCategoryPinyin" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
btn="search_category">{$strCategoryName}</a>
</li>
{/novel:category}
{/if}
{eq name="$Request.route.strGender" value="$strNanUrl"}
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName" n_sex="man"}
<li class='{eq name="strCategoryPinyin" value="$Request.route.strCategory"}on {/eq}'>
<a href='{site:nflurl gender="$Request.route.strGender" category="$strCategoryPinyin" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
btn="search_category">{$strCategoryName}</a>
</li>
{/novel:category}
{/eq}
{eq name="$Request.route.strGender" value="$strNvUrl"}
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName" n_sex="women"}
<li class='{eq name="strCategoryPinyin" value="$Request.route.strCategory"}on {/eq}'>
<a href='{site:nflurl gender="$Request.route.strGender" category="$strCategoryPinyin" status="$Request.route.strStatus" page="$Request.route.intPage"/}'
btn="search_category">{$strCategoryName}</a>
</li>
{/novel:category}
{/eq}
</ul>
</div>
<div id="book-nav" class="book-nav">
<ul class="clearfix">
<li class='{eq name="$Request.route.strStatus" value="all"}on {/eq} {eq name="$Request.route.strStatus" value=""}on {/eq}'>
<a href={site:nflurl gender="$Request.route.strGender" category="$Request.route.strCategory" status="all" page="$Request.route.intPage"/}'
btn="search_category">全部</a>
</li>
<li class='{eq name="$Request.route.strStatus" value="lianzai"}on {/eq}'>
<a href={site:nflurl gender="$Request.route.strGender" category="$Request.route.strCategory" status="lianzai" page="$Request.route.intPage"/}'
btn="search_category">连载</a>
</li>
<li class='{eq name="$Request.route.strStatus" value="wanjie"}on {/eq}'>
<a href={site:nflurl gender="$Request.route.strGender" category="$Request.route.strCategory" status="wanjie" page="$Request.route.intPage"/}'
btn="search_category">完本</a>
</li>
</ul>
</div>
</div>
<div class="mod new-book">
<div class="book-list">
<ul class="clearfix">
{volist name="$resData.data" id="Novel" key="key"}
{include file="public/novelListH" start="0"/}
{/volist}
</ul>
</div>
<div class="pages">
<ul class="pager">
{volist name="$resData.p_data.pager" id="vo" key="k"}
{switch $vo.label}
{case value="上一页"}
{if $resData.p_data.page == 1}
<li class="disabled"><span>«</span></li>
{else}
<li><a href="{$vo.url}">«</a></li>
{/if}
{/case}
{case value="下一页"}
{if $resData.p_data.page >= $resData.p_data.total}
<li class="disabled"><span>»</span></li>
{else}
<li><a href="{$vo.url}">»</a></li>
{/if}
{/case}
{/switch}
{/volist}
</ul>
</div>
</div>
<!-- hot-book -->
</div>
{/block}
{block name="customize"} {/block}

View File

@@ -0,0 +1,166 @@
{extend name="baseH5" /}
{block name="get-data"}
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
{site:grm page_code="h5_novel_catalog " diff="$Request.url" num="120" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="NOVEL@GETNOVELCATALOG@TITLE"}{/block}
{block name="keywords"}{site:replace code="NOVEL@GETNOVELCATALOG@KEYWORDS"}{/block}
{block name="description"}{site:replace code="NOVEL@GETNOVELCATALOG@DESCRIPTION"}{/block}
{block name="head"}
<!-- 社交媒体标签 -->
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'}" />
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION"}' />
<meta property="og:url"
content='https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' />
<meta property="og:type" content="book" />
<meta property="og:image" content="{$arrNovel.n_cover_path ?? ''}" />
<meta property="og:site_name" content="{$DomainModel->d_name}" />
<meta property="og:novel:category" content="{$arrNovel.n_category ?? ''}">
<meta property="og:novel:author" content="{$arrNovel.n_author ?? ''}">
<meta property="og:novel:book_name" content="{$arrNovel.n_name ?? ''}">
<meta property="og:novel:read_url"
content='https://{$DomainModel->d_domain}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrNovel.intFirstChapterSort"/}'>
<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="{$arrNovel.n_latest_chapter_name ?? ''}">
<meta property="og:novel:latest_chapter_url"
content='https://{$DomainModel->d_domain}{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'] ?? '未知小说'}" />
<meta name="twitter:description" content='{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION"}' />
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Book",
"name": "{$arrNovel['n_name'] ?? '未知小说'}",
"description": "{$arrNovel['n_description'] ??'暂无简介'}",
"author": {
"@type": "Person",
"name": "{$arrNovel['n_author'] ??'佚名'}"
},
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}"
},
"datePublished": "{$arrNovel['n_update_time'] ?? time()}",
"image": "{$arrNovel.n_cover_path ?? ''}",
"url": 'https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}',
"genre": "{$arrNovel.n_category ??''}",
"inLanguage": "zh-CN",
"bookFormat": "https://{$DomainModel->d_domain}/EBook",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "100",
},
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "首页",
"item": "https://{$DomainModel->d_domain}"
},
{
"@type": "ListItem",
"position": 2,
"name": "{$arrNovel.n_category ??''}",
"item": 'https://{site:nflurl category="$arrNovel.n_category_pinyin" order="all" status="all" page="1"/}'
},
{
"@type": "ListItem",
"position": 3,
"name": "{$arrNovel['n_name']}",
"item": '{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'
}
]
}
</script>
{/block}
{block name="head-js"}{/block}
{block name="logo-html"}
<h2 class="logo">
<a href="/">{$DomainModel->d_name}-{$DomainModel->d_text_logo}</a>
</h2>
{/block}
{block name="main"}
{chapter:pagerexp page="$Request.route.intPage" limit="100" n_id="$Request.route.intNovelId" d_key="d_key" d_val="chapter"
cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="generateChapterPager" export_name="resData" /}
<div class="wrap">
<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">
<a href="/" itemprop="item">
<span itemprop="name">首页</span>
</a>
<meta itemprop="position" content="1" />
</li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<?php $arrNovel['n_category_pinyin'] ?? $arrNovel['n_category_pinyin'] = 'all'?>
<a href='{site:nflurl gender="all" category="$arrNovel.n_category_pinyin" status="all" page="1"/}' itemprop="item">
<span itemprop="name">{$arrNovel.n_category}</span>
</a>
<meta itemprop="position" content="2" />
</li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}' itemprop="item">
<span itemprop="name">{$arrNovel['n_name']}</span>
</a>
<meta itemprop="position" content="3" />
</li>
</ol>
</nav>
<!-- hot-book -->
<div class="mod mod-attentions">
{$arrGrm[0]|raw}
<div class="mod-head">
<h1>{$arrNovel['n_name']}章节目录 - {$arrNovel['n_author']} - {$DomainModel->d_name} 第{$Request.route.intPage}页</h1>
</div>
<div class="attentions">
<!-- 目录下拉分页-->
{include file="public/allChapterPage" start="0"/}
<ul class="clearfix">
{volist name="resData.data" id="Chapter" key="key"}
<li>
{$arrGrm[$key]|raw}
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'
title="{$arrNovel['n_name']} {$Chapter.c_name}">{$Chapter.c_name}</a>
</li>
{/volist}
</ul>
<!-- 目录下拉分页-->
{include file="public/allChapterPage" /}
<div class="chapters-more">
</div>
</div>
</div>
</div>
{/block}

View File

@@ -0,0 +1,117 @@
{extend name="baseH5" /}
{block name="get-data"}
{site:helper func="initSexTKD" /}
{/block}
{block name="title"}{site:replace code="NOVEL@GETNOVELCHANNEL@TITLE"}{/block}
{block name="keywords"}{site:replace code="NOVEL@GETNOVELCHANNEL@KEYWORDS"}{/block}
{block name="description"}{site:replace code="NOVEL@GETNOVELCHANNEL@DESCRIPTION"}{/block}
{block name="head"}
<?php
$strPageCode = $Request->param('strChannel');
?>
<!-- 社交媒体标签 -->
<meta property="og:title" content='{site:replace code="NOVEL@GETNOVELCHANNEL@TITLE"}' />
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELCHANNEL@DESCRIPTION"}' />
<meta property="og:url"
content="https://{$DomainModel->d_domain}{$strPageCode == 'man' ? $strNanUrlTemp : $strNvUrlTemp }" />
<meta property="og:type" content="book" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
@context": "https://schema.org”,
"@type": "book",
"headline": '{site:replace code="NOVEL@GETNOVELCHANNEL@TITLE"}',
"description": '{site:replace code="NOVEL@GETNOVELCHANNEL@DESCRIPTION"}',
"url": "https://{$DomainModel->d_domain}/{$strPageCode == 'man' ? $strNanUrlTemp : $strNvUrlTemp }",
"datePublished": "{:date('Y-m-d')}"
}
</script>
{/block}
{block name="head-js"}{/block}
{block name="logo-html"}
<h1 class="logo">
{eq name="strPageCode" value="man"}
<a href="/">{$DomainModel->d_name}-男生小说免费阅读</a>
{else}
<a href="/">{$DomainModel->d_name}-女生小说免费阅读</a>
{/eq}
</h1>
{/block}
{block name="main"}
{site:grm page_code="pc_index" diff="0" num="50" g_key="arrGrm" /}
<!--wrap-->
<div class="wrap">
<p class="site-description">{site:replace code="NOVEL@GETNOVELCHANNEL@DESCRIPTION"}</p>
<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">
<a href="/" itemprop="item">
<span itemprop="name">首页</span>
</a>
<meta itemprop="position" content="1" />
</li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
{eq name="strPageCode" value="man"}
<a href="{$strNanUrlTemp}" itemprop="item">
<span itemprop="name">男生</span>
</a>
{else}
<a href="{$strNvUrlTemp}" itemprop="item">
<span itemprop="name">女生</span>
</a>
{/eq}
<meta itemprop="position" content="2" />
</li>
</ol>
</nav>
<div class="mod hot-book">
<div class="mod-head">
<h2>热门推荐</h2>
</div>
<div class="book-slide">
<ul class="clearfix">
{novel:list count="8" sort_type="tuijian" n_status="lianzai" n_sex="$strPageCode" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
{include file="public/novelListS" start="0"/}
{/novel:list}
</ul>
</div>
</div>
<div class="mod hot-book">
<div class="mod-head">
<h2>完结推荐</h2>
</div>
<div class="book-slide">
<ul class="clearfix">
{novel:list count="8" sort_type="tuijian" n_status="wanjie" n_sex="$strPageCode" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
{include file="public/novelListS" start="13"/}
{/novel:list}
</ul>
</div>
</div>
<div class="mod new-book">
<div class="mod-head">
<h2>最近更新</h2>
</div>
<div class="book-list">
<ul class="clearfix">
{novel:list count="8" sort_type="update" n_sex="$strPageCode" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}
{include file="public/novelListH" start="21"/}
{/novel:list}
</ul>
</div>
</div>
</div>
{/block} {block name="customize"} {/block}