Files
SEONexus/code/app/home/view/kuangYu/novel/getNovelInfo.html
2025-04-14 11:50:33 +08:00

241 lines
9.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{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="{$arrNovel['og_novel_book_name']??'未知小说'}" />
<meta property="og:description" content="{$strDescription??'暂无简介'}" />
<meta property="og:url"
content='https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' />
<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.og_novel_category ?? ''}">
<meta property="og:novel:author" content="{$arrNovel.og_novel_author ?? ''}">
<meta property="og:novel:book_name" content="{$arrNovel.og_novel_book_name ?? ''}">
<meta property="og:novel:read_url"
content='https://{$DomainModel->d_domain}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$intFirstChapterSort"/}'>
<meta property="og:novel:status" content="{$arrNovel.og_novel_status ?? ''}">
<meta property="og:novel:update_time" content="{$arrNovel.og_novel_update_time ?? ''}">
<meta property="og:novel:latest_chapter_name" content="{$arrLatestChapter.name ?? ''}">
<meta property="og:novel:latest_chapter_url"
content='https://{$DomainModel->d_domain}{site:lcpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>
<!-- 可选:支持 Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{$arrNovel['og_novel_book_name'] ?? '未知小说'}" />
<meta name="twitter:description" content="{$strDescription ?? '暂无简介'}" />
<meta name="twitter:image" content="{$arrNovel.n_cover_path ?? ''}" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Book",
"name": "{$arrNovel['og_novel_book_name'] ?? '未知小说'}",
"description": "{$arrNovel['og_description'] ??'暂无简介'}",
"author": {
"@type": "Person",
"name": "{$arrNovel['og_novel_author'] ??'佚名'}"
},
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}"
},
"datePublished": "{$arrNovel['og_novel_update_time'] ?? time()}",
"image": "{$arrNovel.n_cover_path ?? ''}",
"url": 'https://{$DomainModel->d_domain}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}',
"genre": "{$arrNovel.og_novel_category ??''}",
"inLanguage": "zh-CN",
"bookFormat": "https://{$DomainModel->d_domain}/EBook",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "100",
},
}
</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"}
<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">
<a href='{site:nflurl gender="all" category="$arrNovel[category_pinyin]" status="all" page="1"/}' itemprop="item">
<span itemprop="name">{$arrNovel.og_novel_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[og_novel_pin_yin]" /}' itemprop="item">
<span itemprop="name">{$arrNovel['og_novel_book_name']}</span>
</a>
<meta itemprop="position" content="3" />
</li>
</ol>
<h1 class="site-description ">{$arrNovel['og_novel_book_name']}最新章节 - {$arrNovel['og_novel_author']} - {$DomainModel->d_name}</h1>
</nav>
<!--info-->
<div class="mod mod-info">
{$arrGRM[0]|raw}
<div class="book-info">
<dl class="base clearfix">
<dt>
<img src="/static/img/default.jpg" data-src="{$arrNovel.n_cover_path ?? ''}"
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>
</dt>
<dd>
<h2>{$arrNovel['og_novel_book_name']}</h2>
<p class="info">
<span>分类:{$arrNovel.og_novel_category}</span>
<span>作者:<a href='{site:souurl key="$arrNovel[og_novel_author]" p="1"/}'>{$arrNovel.og_novel_author}</a></span>
<!-- <span>字数54.20万字</span> -->
<span>阅读:{$arrNovelClicks.total}</span>
</p>
</dd>
</dl>
{$arrGRM[1]|raw}
<div class="btns">
<ul>
{if !empty($intFirstChapterSort)}
<li>
{$arrGRM[2]|raw}
<a class="read-online reading" href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$intFirstChapterSort"/}'
>点击阅读</a>
</li>
{/if}
<li>
<a class="b5673b5cd4b" onclick="addBookshelfFun()">加入书架</a>
</li>
</ul>
</div>
<div class="intro">
{$arrGRM[3]|raw}
<div class="content">
<p>
{$arrNovel.og_description ?? ''}
</p>
</div>
</div>
</div>
</div>
<!-- hot-book -->
<div class="mod mod-info">
<div class="book-info">
<div class="mod-head">
<h3>最新要点</h3>
</div>
{$arrGRM[4]|raw}
<div class="intro">
<div class="content">
<p>
{$strFocus}
</p>
<p class="xianglingtuijian">相邻推荐:
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
{$arrGRM[$key+20]|raw}
<a
href='{site:nnurl n_id="$Novel[n_id]" n_py="$Novel[og_novel_pin_yin]" n_fid="$ForgeNovel[n_forge_id]"/}'>{$ForgeNovel.n_forge_title}</a>
{/volist}
</p>
</div>
</div>
</div>
</div>
<!-- hot-book -->
<div class="mod mod-attentions">
<div class="mod-head">
<h3>{$arrNovel.og_novel_book_name}最新章节</h3>
</div>
<div class="attentions">
<ul class="clearfix">
{volist name="arrChapter" id="Chapter" key="key"}
<li>
{$arrGRM[$key]|raw}
<a href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" c_sort="$Chapter[c_sort_num]" c_page="0"/}'
title="{$arrNovel.og_novel_book_name}-{$Chapter.name}">{$Chapter.name}</a>
</li>
{/volist}
</ul>
<div class="chapters-more">
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" order="zheng" page="1"/}'
class="reading btn-bookshelf">{$arrNovel.og_novel_book_name}更多章节</a>
</div>
</div>
</div>
<div class="mod mod-guess">
<div class="mod-head">
<h3>同类作品</h3>
</div>
<div class="book-slide">
<ul class="clearfix">
{foreach $arrRelateveNovel as $Novel}
<li>
{$arrGRM[$key+10]|raw}
<a href='{site:nurl n_id="Novel.n_id" n_py="Novel.og_novel_pin_yin"/}'>
<img class="lazy lazyload-img" data-encrypted="false" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''}" />
<span>{$Novel.og_novel_book_name ?? ''}</span>
<em>
<aria>作者:</aria>{$Novel.og_novel_author ?? ''}
</em>
</a>
</li>
{/foreach}
</ul>
</div>
</div>
</div>
<script>
const strNovelId = `{$arrNovel.n_id}`;
const arrNovel = {
'n_id' : `{$arrNovel['n_id']}`,
'og_novel_pin_yin' : `{$arrNovel['og_novel_pin_yin']}`,
'n_cover_path' : `{$arrNovel['n_cover_path']}`,
'og_novel_book_name' : `{$arrNovel['og_novel_book_name']}`,
'og_novel_author' : `{$arrNovel['og_novel_author']}`,
'og_novel_status' : `{$arrNovel['og_novel_status']}`,
'og_novel_update_time' : `{$arrNovel['og_novel_update_time']}`,
'c_sort_num' : 1,
'c_name' : `第一章`,
};
</script>
{/block}
{block name="customize"}
{/block}
{block name="footer-js"}
{/block}