debug
This commit is contained in:
@@ -13,6 +13,43 @@
|
||||
{block name="head-css"}
|
||||
<link rel="canonical" href='{Request->DomainModel->d_domain}/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrChapter.c_sort_num ?? 1}'>
|
||||
{/block}
|
||||
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:url" content="{Request->DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:image" content="https://example.com/{$imagePath??'default.jpg'}" />
|
||||
<meta property="og:site_name" content="我的小说站" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Article",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "2025-04-05T00:00:00Z",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{$authorName??'佚名'}"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "我的小说站",
|
||||
"url": "{Request->DomainModel->d_domain}"
|
||||
},
|
||||
"image": "https://example.com/{$imagePath??'default.jpg'}",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "{Request->DomainModel->d_domain}/chapter/{$chapterId??''}"
|
||||
}
|
||||
"isPartOf": {
|
||||
"@type": "Book",
|
||||
"name": "《仙途漫漫》",
|
||||
"url": "https://example.com/book/123"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="theme-0 w800" data-bid='/pc/xiaoshuo/name-1' >
|
||||
@@ -34,13 +71,13 @@
|
||||
<!-- <dd>
|
||||
<div class="book-wrap cf">
|
||||
<div class="book-cover fl">
|
||||
<a class="link" href='/pc/xiaoshuo/name-1' target="_blank">
|
||||
<a class="link" href='/pc/xiaoshuo/name-1' >
|
||||
<img src="https://www.630zw.org/img/176943.jpg"
|
||||
alt="捻转步舞曲[花滑]"></a>
|
||||
</div>
|
||||
<div class="book-info fl">
|
||||
<h4>
|
||||
<a href='/pc/xiaoshuo/name-1' target="_blank">捻转步舞曲[花滑]</a>
|
||||
<a href='/pc/xiaoshuo/name-1' >捻转步舞曲[花滑]</a>
|
||||
</h4>
|
||||
<p>
|
||||
<span>分类:</span>
|
||||
@@ -56,7 +93,7 @@
|
||||
</dd> -->
|
||||
|
||||
</dl>
|
||||
<a class="all" href='/pc/history' target="_blank">
|
||||
<a class="all" href='/pc/history' >
|
||||
查看全部<em class="iconfont"></em>
|
||||
</a>
|
||||
</div>
|
||||
@@ -65,29 +102,29 @@
|
||||
<cite>快速导航</cite>
|
||||
<div class="dropdown type-list">
|
||||
<div class="type-box">
|
||||
<h3><a href="/pc/" target="_blank">首页</a></h3>
|
||||
<h3><a href="/pc/" >首页</a></h3>
|
||||
</div>
|
||||
<div class="type-box">
|
||||
<h3><a href='/pc/shuku/nansheng-xiaoshuo/all/all/page1' target="_blank">男生</a></h3>
|
||||
<h3><a href='/pc/shuku/nansheng-xiaoshuo/all/all/page1' >男生</a></h3>
|
||||
{foreach $arrCategoryAll.man as $key=>$vo }
|
||||
<a href="/pc/shuku/nansheng-xiaoshuo/{$key}/all/page1" target="_blank">{$vo}</a>
|
||||
<a href="/pc/shuku/nansheng-xiaoshuo/{$key}/all/page1" >{$vo}</a>
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
<div class="type-box">
|
||||
<h3><a href="/pc/shuku/nvsheng-xiaoshuo/{$key}/all/page1" target="_blank">女生</a></h3>
|
||||
<h3><a href="/pc/shuku/nvsheng-xiaoshuo/{$key}/all/page1" >女生</a></h3>
|
||||
{foreach $arrCategoryAll.women as $key=>$vo }
|
||||
<a href="/pc/shuku/nvsheng-xiaoshuo/{$key}/all/page1" target="_blank">{$vo}</a>
|
||||
<a href="/pc/shuku/nvsheng-xiaoshuo/{$key}/all/page1" >{$vo}</a>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="type-box">
|
||||
<h3><a href="/pc/shuku/all" target="_blank">书库</a></h3>
|
||||
<h3><a href="/pc/shuku/all" >书库</a></h3>
|
||||
</div>
|
||||
<div class="type-box">
|
||||
<h3><a href="/pc/paihang/all" target="_blank">排行</a></h3>
|
||||
<h3><a href="/pc/paihang/all" >排行</a></h3>
|
||||
</div>
|
||||
<!-- <div class="type-box">
|
||||
<h3><a href="/pc/seo.html" target="_blank">文章</a></h3>
|
||||
<h3><a href="/pc/seo.html" >文章</a></h3>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
@@ -96,7 +133,7 @@
|
||||
<div class="read-login fr">
|
||||
<ul>
|
||||
<li id="min-search">
|
||||
<form action="/search.html" method="post" target="_blank">
|
||||
<form action="/pc/search.html" method="get" >
|
||||
<input class="submit-input" type="submit" id="searchSubmit">
|
||||
<input id="pin-input" class="pin-input hide" name="keyword" type="text" placeholder="">
|
||||
<label id="pin-search" for="searchSubmit">
|
||||
@@ -120,19 +157,19 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="crumbs-nav">
|
||||
<a href="/" target="_blank">首页</a>
|
||||
<a href="/pc/" >首页</a>
|
||||
<em class="iconfont"></em>
|
||||
{if $arrNovel.category_sex == 'man'}
|
||||
<a href='/pc/shuku/nansheng-xiaoshuo/all/all/page1' target="_blank">男生</a>
|
||||
<a href='/pc/shuku/nansheng-xiaoshuo/all/all/page1' >男生</a>
|
||||
<em class="iconfont"></em>
|
||||
<a href='/pc/shuku/nansheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1' target="_blank">{$arrNovel.og_novel_category}</a>
|
||||
<a href='/pc/shuku/nansheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1' >{$arrNovel.og_novel_category}</a>
|
||||
{else}
|
||||
<a href='/pc/shuku/nvsheng-xiaoshuo/all/all/page1' target="_blank">女生</a>
|
||||
<a href='/pc/shuku/nvsheng-xiaoshuo/all/all/page1' >女生</a>
|
||||
<em class="iconfont"></em>
|
||||
<a href='/pc/shuku/nvsheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1' target="_blank">{$arrNovel.og_novel_category}</a>
|
||||
<a href='/pc/shuku/nvsheng-xiaoshuo/{$arrNovel.category_pinyin}/all/page1' >{$arrNovel.og_novel_category}</a>
|
||||
{/if}
|
||||
<em class="iconfont"></em>
|
||||
<a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' target="_blank">{$arrNovel.og_novel_book_name}</a>
|
||||
<a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' >{$arrNovel.og_novel_book_name}</a>
|
||||
</div>
|
||||
<div class="read-main-wrap font-family01" style="font-size:18px" id="j_readMainWrap">
|
||||
<div id="j_chapterBox">
|
||||
@@ -144,9 +181,9 @@
|
||||
<h3 class="j_chapterName">{$arrChapter.name ?? ''}</h3>
|
||||
<div class="text-info cf">
|
||||
<div class="info fl">
|
||||
<a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' target="_blank"> <em class="iconfont"></em> {$arrNovel.og_novel_book_name}</a>
|
||||
<a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' > <em class="iconfont"></em> {$arrNovel.og_novel_book_name}</a>
|
||||
<a href="javascript:"
|
||||
target="_blank"> <em class="iconfont"></em> {$arrNovel.og_novel_author}</a>
|
||||
> <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_updateTime">{$arrChapter.created_at ?? ''}</span></i>
|
||||
</div>
|
||||
@@ -161,7 +198,7 @@
|
||||
</div>
|
||||
<!-- start 顶部广告 -->
|
||||
<!-- <div id="page-ops" class="page-ops">
|
||||
<a href="#" target="_blank">
|
||||
<a href="#" >
|
||||
<img src="">
|
||||
<span class="op-tag"></span>
|
||||
</a>
|
||||
@@ -210,7 +247,7 @@
|
||||
</a>
|
||||
</dd>
|
||||
<dd>
|
||||
<a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' target="_blank">
|
||||
<a href='/pc{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' >
|
||||
<i><em class="iconfont"></em><span>详情</span></i>
|
||||
</a>
|
||||
</dd>
|
||||
@@ -358,7 +395,7 @@
|
||||
</a>
|
||||
</dd>
|
||||
<dd id="j_discussHref">
|
||||
<a href="//forum.qidian.com/NewForum/List.aspx?forumId=1010981643" target="_blank">
|
||||
<a href="//forum.qidian.com/NewForum/List.aspx?forumId=1010981643" >
|
||||
<i>
|
||||
<em class="iconfont"></em>
|
||||
<span>评论</span>
|
||||
@@ -380,18 +417,22 @@
|
||||
<script src="/public/jquery/jquery-3.7.1.min.js"></script>
|
||||
<!-- <script type="text/javascript" src="/template/kuangyu/reader/web/js/jquery.qrcode.min.js"></script> -->
|
||||
<script>
|
||||
const strNovelId = '{$arrNovel.n_id}';
|
||||
|
||||
<?php
|
||||
unset($arrNovel['n_related_novel'], $arrNovel['n_forge_novel'],$arrNovel['n_page_description']); // 直接删除
|
||||
?>
|
||||
const strNovelId = `{$arrNovel.n_id}`;
|
||||
const arrNovel = `<?php echo json_encode($arrNovel); ?>`;
|
||||
const strChapterSort =`{$arrChapter.c_sort_num}`;
|
||||
const strChapterName = `{$arrChapter.name}`;
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var book = {};
|
||||
//书信息
|
||||
book.Info = {
|
||||
"Id": 332,
|
||||
"Name": '我真是一条龙',
|
||||
"authorName": '兔子很淡定'
|
||||
};
|
||||
//页面初始化章节信息
|
||||
book.chapter = {
|
||||
//页面进入加载的章节id
|
||||
id: '4b2d5aab58d71',
|
||||
|
||||
Reference in New Issue
Block a user