This commit is contained in:
make
2025-04-20 21:50:58 +08:00
parent 34206fe268
commit 3216cffb5e
15 changed files with 352 additions and 233 deletions

View File

@@ -1,24 +1,27 @@
{extend name="basePc" /}
{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:url" content="https://{$DomainModel->d_domain}{$strRankUrlTemp}" />
<meta property="og:type" content="article" />
<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" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://{$DomainModel->d_domain}{$strRankUrlTemp}",
"@type": "NewsArticle",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"@context": "https://{$DomainModel->d_domain}/paihang/all",
"@type": "book",
"headline": '{site:replace code="NOVEL@GETNOVELRANK@TITLE"}',
"description": '{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}',
"datePublished": "{:date('Y-m-d')}"
}
</script>
{/block}
{block name="head-css"}
<link rel="canonical" href="https://{$DomainModel->d_domain}{$strRankUrlTemp}">
{/block}
@@ -31,7 +34,15 @@
</a>
</h2>
{/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="content content_back">
<nav class="breadcrumb" aria-label="breadcrumb">
@@ -49,11 +60,7 @@
</li>
</ol>
</nav>
<!--大标题 开始-->
<!-- <div class="rank_bt">
<a href="{$strPcPath}/rank.html" class="all_btn">完整榜单</a>
</div> -->
<!--大标题 结束-->
<!--各种榜单 开始-->
<div class="ki_li">
<div class="com_R">
@@ -63,14 +70,14 @@
<div class="list_wrap">
<div class="swi">
<ol class="list" mod="rank_data_list">
{foreach $arrDayRankNovel as $key=>$Novel}
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
{if $key == 0}
{include file="pc/public/indexBoyRankOne" start="0"/}
{/if}
{if $key >= 1}
{include file="pc/public/indexBoyRankList" start="1"/}
{/if}
{/foreach}
{/novel:list}
</ol>
</div>
<!-- <span class="more">
@@ -87,14 +94,14 @@
<div class="list_wrap">
<div class="swi">
<ol class="list" mod="rank_data_list">
{foreach $arrWeekRankNovel as $key=>$Novel}
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
{if $key == 0}
{include file="pc/public/indexBoyRankOne" start="10"/}
{/if}
{if $key >= 1}
{include file="pc/public/indexBoyRankList" start="11"/}
{/if}
{/foreach}
{/novel:list}
</ol>
</div>
<!-- <span class="more">
@@ -111,14 +118,14 @@
<div class="list_wrap">
<div class="swi">
<ol class="list" mod="rank_data_list">
{foreach $arrMoonRankNovel as $key=>$Novel}
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
{if $key == 0}
{include file="pc/public/indexBoyRankOne" start="20"/}
{/if}
{if $key >= 1}
{include file="pc/public/indexBoyRankList" start="21"/}
{/if}
{/foreach}
{/novel:list}
</ol>
</div>
<!-- <span class="more">
@@ -135,14 +142,14 @@
<div class="list_wrap">
<div class="swi">
<ol class="list" mod="rank_data_list">
{foreach $arrTotalRankNovel as $key=>$Novel}
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
{if $key == 0}
{include file="pc/public/indexBoyRankOne" start="30"/}
{/if}
{if $key >= 1}
{include file="pc/public/indexBoyRankList" start="31"/}
{/if}
{/foreach}
{/novel:list}
</ol>
</div>
<!-- <span class="more">
@@ -159,14 +166,14 @@
<div class="list_wrap">
<div class="swi">
<ol class="list" mod="rank_data_list">
{foreach $arrNewsNovelRankNovel as $key=>$Novel}
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
{if $key == 0}
{include file="pc/public/indexBoyRankOne" start="40"/}
{/if}
{if $key >= 1}
{include file="pc/public/indexBoyRankList" start="41"/}
{/if}
{/foreach}
{/novel:list}
</ol>
</div>
<!-- <span class="more">
@@ -183,14 +190,14 @@
<div class="list_wrap">
<div class="swi">
<ol class="list" mod="rank_data_list">
{foreach $arrEdnNovelRankNovel as $key=>$Novel}
{novel:list count="10" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"}
{if $key == 0}
{include file="pc/public/indexBoyRankOne" start="50"/}
{/if}
{if $key >= 1}
{include file="pc/public/indexBoyRankList" start="51"/}
{/if}
{/foreach}
{/novel:list}
</ol>
</div>
<!-- <span class="more">