debug
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
{extend name="baseH5" /}
|
||||
{block name="title"}{$strTitle??''}{/block}
|
||||
{block name="keywords"}{$strKeywords??''}{/block}
|
||||
{block name="description"}{$strDescription??''}{/block}
|
||||
|
||||
{block name="title"}{site:replace code="NOVEL@GETNOVELRANK@TITLE"}{/block}
|
||||
{block name="keywords"}{site:replace code="NOVEL@GETNOVELRANK@KEYWORDS"}{/block}
|
||||
{block name="description"}{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}{/block}
|
||||
|
||||
{block name="head"}
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content="{$strTitle??''}" />
|
||||
<meta property="og:description" content="{$strDescription??''}" />
|
||||
<meta property="og:title" content='{site:replace code="NOVEL@GETNOVELRANK@TITLE"}' />
|
||||
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}' />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}/paihang/all" />
|
||||
<meta property="og:type" content="book" />
|
||||
<!-- 结构化数据 -->
|
||||
@@ -13,8 +15,8 @@
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}/paihang/all",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"headline": '{site:replace code="NOVEL@GETNOVELRANK@TITLE"}',
|
||||
"description": '{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}',
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
@@ -27,9 +29,17 @@
|
||||
</h1>
|
||||
{/block}
|
||||
|
||||
{block name="strPageCode"}
|
||||
<?php $strPageCode = 'rank'; ?>
|
||||
{/block}
|
||||
|
||||
|
||||
{block name="main"}
|
||||
|
||||
{site:grm page_code="h5_rank" diff="0" num="100" g_key="arrGrm" /}
|
||||
|
||||
<div class="wrap">
|
||||
<p class="site-description">{$strDescription??''}</p>
|
||||
<p class="site-description">{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}</p>
|
||||
|
||||
<nav class="breadcrumb" aria-label="breadcrumb">
|
||||
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
||||
@@ -53,7 +63,7 @@
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{volist name="arrDayRankNovel" id="Novel" key="key"}
|
||||
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="0"/}
|
||||
{/if}
|
||||
@@ -61,7 +71,7 @@
|
||||
{include file="public/novelListRank" start="1"/}
|
||||
{/if}
|
||||
|
||||
{/volist}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -72,7 +82,7 @@
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{volist name="arrWeekRankNovel" id="Novel" key="key"}
|
||||
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="10"/}
|
||||
{/if}
|
||||
@@ -80,7 +90,7 @@
|
||||
{include file="public/novelListRank" start="11"/}
|
||||
{/if}
|
||||
|
||||
{/volist}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -91,7 +101,7 @@
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{volist name="arrMoonRankNovel" id="Novel" key="key"}
|
||||
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="20"/}
|
||||
{/if}
|
||||
@@ -99,7 +109,7 @@
|
||||
{include file="public/novelListRank" start="21"/}
|
||||
{/if}
|
||||
|
||||
{/volist}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -110,14 +120,14 @@
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{volist name="arrTotalRankNovel" id="Novel" key="key"}
|
||||
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="30"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="public/novelListRank" start="31"/}
|
||||
{/if}
|
||||
{/volist}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -128,14 +138,14 @@
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{volist name="arrNewsNovelRankNovel" id="Novel" key="key"}
|
||||
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="40"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="public/novelListRank" start="41"/}
|
||||
{/if}
|
||||
{/volist}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -146,14 +156,14 @@
|
||||
</div>
|
||||
<div class="top-index">
|
||||
<ul class="clearfix">
|
||||
{volist name="arrEdnNovelRankNovel" id="Novel" key="key"}
|
||||
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
|
||||
{if $key == 1}
|
||||
{include file="public/novelListH" start="50"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="public/novelListRank" start="51"/}
|
||||
{/if}
|
||||
{/volist}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user