本次更新

1.domain 增加了几个字段,已经 backup,
2.视图模板,替换模板分组,替换模板 数据增加了seed 播种
3. 标记了TODO
This commit is contained in:
make
2025-04-05 20:41:47 +08:00
parent 25bf602048
commit 9945b6b137
52 changed files with 2675 additions and 255 deletions

View File

@@ -1,6 +1,23 @@
{extend name="basePcUser" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-js"}{/block}

View File

@@ -1,6 +1,23 @@
{extend name="basePcUser" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-js"}{/block}

View File

@@ -1,6 +1,23 @@
{extend name="basePcUser" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-js"}{/block}

View File

@@ -1,6 +1,23 @@
{extend name="basePc" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-js"}{/block}

View File

@@ -1,6 +1,23 @@
{extend name="basePc" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-js"}{/block}

View File

@@ -1,6 +1,23 @@
{extend name="basePc" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-js"}{/block}
{block name="head-css"}
<link rel="canonical" href='{Request->DomainModel->d_domain}/{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>

View File

@@ -1,6 +1,23 @@
{extend name="basePc" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-js"}{/block}
{block name="head-css"}

View File

@@ -1,6 +1,23 @@
{extend name="basePc" /}
{block name='nav-active-class'}boy{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-css"}

View File

@@ -2,14 +2,16 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<meta name="keywords" content="狂雨小说">
<meta name="description" content="狂雨小说">
<title>01 天龙问世_我真是一条龙-狂雨小说</title>
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="keywords" content="{$strKeywords??''}">
<meta name="description" content="{$strDescription??''}">
<title>{$strTitle??''}</title>
<link rel="icon" href="/template/kuangyu/public/img/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="/template/kuangyu/reader/web/css/style.css" type="text/css">
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
{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}'>
<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}
</head>
@@ -139,19 +141,21 @@
data-info="0|-1|486ef2abee55d|0">
<div class="main-text-wrap">
<div class="text-head">
<h3 class="j_chapterName">{$arrChapter.name}</h3>
<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="javascript:"
target="_blank"> <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>
<i><em class="iconfont"></em><span class="j_updateTime">{$arrChapter.created_at ?? ''}</span></i>
</div>
</div>
</div>
<div class="read-content j_readContent">
{$arrChapter.content|raw}
{if $arrChapter && $arrChapter.content}
{$arrChapter.content|raw }
{/if}
</div>
</div>
</div>
@@ -170,14 +174,14 @@
<span></span>
</div>
<div class="chapter-control dib-wrap">
{if $arrChapter.c_sort_num == 1}
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
<a id="j_chapterPrev" href="javascript:void(0);">上一章</a>
{else}
<a id="j_chapterPrev" href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrPreChapter.c_sort_num}">上一章</a>
<a id="j_chapterPrev" href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrPreChapter.c_sort_num ?? 1}">上一章</a>
{/if}
<span>|</span>
{if $arrNextChapter && $arrNextChapter.c_sort_num}
<a id="j_chapterNext" href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrNextChapter.c_sort_num}">下一章</a>
<a id="j_chapterNext" href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$arrNextChapter.c_sort_num ?? 1}">下一章</a>
{/if}
</div>
</div>

View File

@@ -1,6 +1,23 @@
{extend name="basePc" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-css"}
<link rel="canonical" href='{Request->DomainModel->d_domain}/xiaoshuo/$arrNovel.og_novel_pin_yin-$arrNovel.n_id/mulu/zheng" /}'>
{/block}

View File

@@ -1,7 +1,23 @@
{extend name="basePc" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{block name="head-js"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-css"}
<link rel="canonical" href='{Request->DomainModel->d_domain}/{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}'>
{/block}
@@ -132,7 +148,7 @@
<div class="pl_con">
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
<!-- n_forge_id -->
<a href='/pc/kan/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}-{$ForgeNovel.n_forge_id}' target="_blank" class="red">{$ForgeNovel.n_forge_title}</a>
<a href='/pc/kan-xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}-{$ForgeNovel.n_forge_id}' target="_blank" class="red">{$ForgeNovel.n_forge_title}</a>
{/volist}
</div>

View File

@@ -1,6 +1,24 @@
{extend name="basePc" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-css"}
<link rel="canonical" href="{Request->DomainModel->d_domain}/paihang/all">
{/block}

View File

@@ -1,6 +1,23 @@
{extend name="basePc" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{block name="head-js"}{/block}
@@ -10,7 +27,7 @@
<div class="find">
<div class="fi_t">
<div class="result">搜索<span style="color:red">“{$strKeywords}”</span>相关结果共有 <span style="color:red">{$arrPage.total}</span> 部小说</div>
<div class="result">搜索<span style="color:red">“{$strSearchKeywords}”</span>相关结果共有 <span style="color:red">{$arrPage.total}</span> 部小说</div>
<!-- <div class="boFi">
<span>{$strKeywords}<s></s></span>
<input type="text" class="search-val" url="/search.html" name="search_keyword" value="1"

View File

@@ -1,6 +1,7 @@
{extend name="basePcUser" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{block name="title"}{$strTitle??''}{/block}
{block name="keywords"}{$strKeywords??''}{/block}
{block name="description"}{$strDescription??''}{/block}
{block name="head-js"}{/block}

View File

@@ -1,8 +1,26 @@
{extend name="basePc" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{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="{Request->DomainModel->d_domain}" />
<meta property="og:type" content="article" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"datePublished": "2025-04-05"
}
</script>
{/block}
{block name="head-js"}{/block}
<link rel="canonical" href="/" />
{block name="main"}
<div class="content">