debug
This commit is contained in:
@@ -1,29 +1,42 @@
|
||||
{extend name="basePc" /}
|
||||
{block name="title"}{$strTitle??''}{/block}
|
||||
{block name="keywords"}{$strKeywords??''}{/block}
|
||||
{block name="description"}{$strDescription??''}{/block}
|
||||
|
||||
{block name="title"}{site:replace code="INDEX@INDEX@TITLE"}{/block}
|
||||
{block name="keywords"}{site:replace code="INDEX@INDEX@KEYWORDS"}{/block}
|
||||
{block name="description"}{site:replace code="INDEX@INDEX@DESCRIPTION"}{/block}
|
||||
|
||||
{block name="head-css"}
|
||||
<link rel="canonical" href="https://{$DomainModel->d_domain}/">
|
||||
<link rel="canonical" href="https://{$DomainModel->d_domain}/">
|
||||
{/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}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content='{site:replace code="INDEX@INDEX@TITLE"}' />
|
||||
<meta property="og:description" content='{site:replace code="INDEX@INDEX@DESCRIPTION"}' />
|
||||
<meta property="og:url" content="https://{$DomainModel->d_domain}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<!-- 结构化数据 -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://{$DomainModel->d_domain}",
|
||||
"@type": "book",
|
||||
"headline": "{$strTitle??''}",
|
||||
"description": "{$strDescription??''}",
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
}
|
||||
</script>
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebSite",
|
||||
"name": "{$DomainModel->d_name}",
|
||||
"url": "https://{$DomainModel->d_domain}",
|
||||
"headline": '{site:replace code="INDEX@INDEX@TITLE"}',
|
||||
"description": '{site:replace code="INDEX@INDEX@DESCRIPTION"}',
|
||||
"datePublished": "{:date('Y-m-d')}"
|
||||
|
||||
"potentialAction": {
|
||||
"@type": "SearchAction",
|
||||
"target": 'https://{$DomainModel->d_domain}{site:souurl key="search_term_string" p="1"/}',
|
||||
"query-input": "required name=search_term_string"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
{/block}
|
||||
{block name="head-js"}{/block}
|
||||
|
||||
{block name="strPageCode"}
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
{/block}
|
||||
|
||||
{block name="logo-html"}
|
||||
<h1>
|
||||
@@ -35,57 +48,56 @@
|
||||
|
||||
{block name="main"}
|
||||
|
||||
{site:grm page_code="pc_index" diff="0" num="150" g_key="arrGrm" /}
|
||||
|
||||
<div class="content">
|
||||
|
||||
<h2 class="site-description">{$DomainModel->d_index_description}</h2>
|
||||
|
||||
|
||||
<div class="f1 area2 pdcon">
|
||||
{novel:pagerexp page="1" limit="13"
|
||||
sort_type="tuijian"
|
||||
n_status="lianzai"
|
||||
d_key="d_key"
|
||||
button_num="10" cache_life="86400" func="generateCategoryPager" export_name="resData" /}
|
||||
|
||||
<div class="f1_L">
|
||||
<div class="tjw">
|
||||
<ul id="mod_index_lb_nv_pic">
|
||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||
{if $key < 6}
|
||||
{include file="pc/public/swiperListImg" start="1" /}
|
||||
{/if}
|
||||
{/volist}
|
||||
{volist name="$resData.data" id="Novel" key="key"}
|
||||
{if $key < 6} {include file="pc/public/swiperListImg" start="1" /} {/if}
|
||||
{/volist}
|
||||
</ul>
|
||||
</div>
|
||||
<ol id="btn_index_lb_nv">
|
||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||
{if $key < 6}
|
||||
{include file="pc/public/swiperListText" /}
|
||||
{/if}
|
||||
{/volist}
|
||||
<ol id="btn_index_lb_nv">
|
||||
{volist name="$resData.data" id="Novel" key="key"}
|
||||
{if $key < 6} {include file="pc/public/swiperListText" /} {/if} {/volist}
|
||||
</ol>
|
||||
<div class="book_inf" id="mod_index_lb_nv_txt">
|
||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||
{if $key == 1}
|
||||
{volist name="$resData.data" id="Novel" key="key"}
|
||||
{if $key == 1}
|
||||
<h3>
|
||||
{$arrGRM[1]|raw}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'
|
||||
title="{$Novel.n_name ?? ''}"
|
||||
class="zdz">
|
||||
{$Novel.n_name ?? ''}
|
||||
{$arrGrm[1]|raw}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'
|
||||
title="{$Novel.n_name ?? ''}" class="zdz">
|
||||
{$Novel.n_name ?? ''}
|
||||
</a>
|
||||
</h3>
|
||||
<p class="int"> {$Novel.n_description ?? ''}</p>
|
||||
{/if}
|
||||
{/volist}
|
||||
<p class="int"> {$Novel.n_description ?? ''}</p>
|
||||
{/if}
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
<div class="md">
|
||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||
{if $key > 5 && $key < 10}
|
||||
{include file="pc/public/hostListImg" start="5" /}
|
||||
{/if}
|
||||
{/volist}
|
||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||
{if $key > 9 }
|
||||
{$arrGRM[$key+9]|raw}
|
||||
{include file="pc/public/hostListText" start="9"/}
|
||||
{/if}
|
||||
{/volist}
|
||||
|
||||
{volist name="$resData.data" id="Novel" key="key"}
|
||||
{if $key > 5 && $key < 10} {include file="pc/public/hostListImg" start="5" /} {/if} {/volist}
|
||||
{volist
|
||||
name="$resData.data" id="Novel" key="key" } {if $key> 9 }
|
||||
{$arrGrm[$key+9]|raw}
|
||||
{include file="pc/public/hostListText" start="9"/}
|
||||
{/if}
|
||||
{/volist}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--热门推荐 开始-->
|
||||
@@ -96,18 +108,17 @@
|
||||
<span class="log_line"></span>
|
||||
</div>
|
||||
<ul class="f2_list" mod="hot_tj">
|
||||
{volist name="arrRecommendEndNovel" id="Novel" key="key"}
|
||||
{include file="pc/public/endNovelList" start="13" /}
|
||||
{/volist}
|
||||
{novel:list count="12" sort_type="tuijian" n_status="wanjie" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{include file="pc/public/endNovelList" start="13" /}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="adv">
|
||||
{volist name="arrAdBanner" id="Ad" key="key"}
|
||||
{include file="pc/public/adBanner" /}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="adv">
|
||||
|
||||
</div> -->
|
||||
|
||||
<!--热门推荐 结束-->
|
||||
|
||||
<div class="f3 area">
|
||||
@@ -116,74 +127,71 @@
|
||||
<h4><s class="hot"></s>男生频道</h4>
|
||||
<span class="log_line"></span>
|
||||
</div>
|
||||
{volist name="arrBoyNewsNovel" id="Novel" key="key"}
|
||||
{if $key == 1}
|
||||
{include file="pc/public/indexBoyNewsOne" start="25" /}
|
||||
{/if}
|
||||
{/volist}
|
||||
{novel:list count="1" n_sex="man" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{include file="pc/public/indexBoyNewsOne" start="25" /}
|
||||
{/novel:list}
|
||||
<div class="f3_C">
|
||||
<ul>
|
||||
{volist name="arrBoyNewsNovel" id="Novel" key="key"}
|
||||
{if $key >= 2}
|
||||
{include file="pc/public/indexBoyNewsList" start="26" /}
|
||||
{/if}
|
||||
{/volist}
|
||||
{novel:list count="4" n_sex="man" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{include file="pc/public/indexBoyNewsList" start="26" /}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="com_R">
|
||||
<h2>
|
||||
<s></s>排行榜
|
||||
<span class="btn_toggle_mod_bang" style="color: #fff; background: #c4c4c4;">周</span>
|
||||
<span class="btn_toggle_mod_bang">月</span>
|
||||
<span class="btn_toggle_mod_bang">总</span>
|
||||
<span class="btn_toggle_mod_bang">月</span>
|
||||
<span class="btn_toggle_mod_bang">总</span>
|
||||
</h2>
|
||||
<div class="list_wrap">
|
||||
<ol class="list" mod="rank_data_list">
|
||||
{foreach $arrBoyWeekRankNovel as $key=>$Novel}
|
||||
{if $key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="30"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="31"/}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{novel:list count="10" n_sex="man" sort_type="update" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{if $d_key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="30"/}
|
||||
{/if}
|
||||
{if $d_key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="31"/}
|
||||
{/if}
|
||||
{/novel:list}
|
||||
</ol>
|
||||
<span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
|
||||
<span class="more"><a href="{$strPcPath}/paihang"><s></s><i>查看更多</i><s></s></a></span>
|
||||
</div>
|
||||
<div class="list_wrap" style="display: none;">
|
||||
<ol class="list" mod="rank_data_list">
|
||||
{foreach $arrBoyMoonRankNovel as $key=>$Novel}
|
||||
{if $key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="41"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="42"/}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{novel:list count="10" n_sex="man" sort_type="update" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{if $d_key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="41"/}
|
||||
{/if}
|
||||
{if $d_key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="42"/}
|
||||
{/if}
|
||||
{/novel:list}
|
||||
</ol>
|
||||
<span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
|
||||
<span class="more"><a href="{$strPcPath}/paihang"><s></s><i>查看更多</i><s></s></a></span>
|
||||
</div>
|
||||
<div class="list_wrap" style="display: none;">
|
||||
<ol class="list" mod="rank_data_list">
|
||||
{foreach $arrBoyTotalRankNovel as $key=>$Novel}
|
||||
{if $key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="53"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="54"/}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{novel:list count="10" n_sex="man" sort_type="update" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{if $d_key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="53"/}
|
||||
{/if}
|
||||
{if $d_key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="54"/}
|
||||
{/if}
|
||||
{/novel:list}
|
||||
</ol>
|
||||
<span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
|
||||
<span class="more"><a href="{$strPcPath}/paihang"><s></s><i>查看更多</i><s></s></a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="adv">
|
||||
{volist name="arrAdBanner" id="Ad" key="key"}
|
||||
{include file="pc/public/adBanner" /}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="f3 area">
|
||||
<div class="area_head">
|
||||
@@ -191,75 +199,74 @@
|
||||
<h4><s class="hot"></s>女生频道</h4>
|
||||
<span class="log_line"></span>
|
||||
</div>
|
||||
{volist name="arrGirlNewsNovel" id="Novel" key="key"}
|
||||
{if $key == 1}
|
||||
{include file="pc/public/indexBoyNewsOne" start="55"/}
|
||||
{/if}
|
||||
{/volist}
|
||||
{novel:list count="1" n_sex="women" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{include file="pc/public/indexBoyNewsOne" start="55"/}
|
||||
{/novel:list}
|
||||
<div class="f3_C">
|
||||
<ul>
|
||||
{volist name="arrGirlNewsNovel" id="Novel" key="key"}
|
||||
{if $key >= 2}
|
||||
{include file="pc/public/indexBoyNewsList" start="56"/}
|
||||
{/if}
|
||||
{/volist}
|
||||
{novel:list count="4" n_sex="women" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{include file="pc/public/indexBoyNewsList" start="56"/}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="com_R">
|
||||
<h2>
|
||||
<s></s>排行榜
|
||||
<span class="btn_toggle_mod_bang" style="color: #fff; background: #c4c4c4;">周</span>
|
||||
<span class="btn_toggle_mod_bang">月</span>
|
||||
<span class="btn_toggle_mod_bang">总</span>
|
||||
<span class="btn_toggle_mod_bang">月</span>
|
||||
<span class="btn_toggle_mod_bang">总</span>
|
||||
</h2>
|
||||
<div class="list_wrap">
|
||||
<ol class="list" mod="rank_data_list">
|
||||
{volist name="arrGirlWeekRankNovel" id="Novel" key="key"}
|
||||
{if $key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="59"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="60"/}
|
||||
{/if}
|
||||
{/volist}
|
||||
{novel:list count="10" n_sex="women" sort_type="update" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{if $d_key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="59"/}
|
||||
{/if}
|
||||
{if $d_key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="60"/}
|
||||
{/if}
|
||||
{/novel:list}
|
||||
</ol>
|
||||
<span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
|
||||
<span class="more"><a href="{$strPcPath}/paihang"><s></s><i>查看更多</i><s></s></a></span>
|
||||
</div>
|
||||
<div class="list_wrap" style="display: none;">
|
||||
<ol class="list" mod="rank_data_list">
|
||||
{volist name="arrGirlMoonRankNovel" id="Novel" key="key"}
|
||||
{if $key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="71"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="72" /}
|
||||
{/if}
|
||||
{/volist}
|
||||
{novel:list count="10" n_sex="women" sort_type="update" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{if $d_key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="71"/}
|
||||
{/if}
|
||||
{if $d_key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="72" /}
|
||||
{/if}
|
||||
{/novel:list}
|
||||
</ol>
|
||||
<span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
|
||||
<span class="more"><a href="{$strPcPath}/paihang"><s></s><i>查看更多</i><s></s></a></span>
|
||||
</div>
|
||||
<div class="list_wrap" style="display: none;">
|
||||
<ol class="list" mod="rank_data_list">
|
||||
{volist name="arrBGirlTotalRankNovel" id="Novel" key="key"}
|
||||
{if $key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="83"/}
|
||||
{/if}
|
||||
{if $key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="84"/}
|
||||
{/if}
|
||||
{/volist}
|
||||
{novel:list count="10" n_sex="women" sort_type="update" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{if $d_key == 1}
|
||||
{include file="pc/public/indexBoyRankOne" start="83"/}
|
||||
{/if}
|
||||
{if $d_key >= 2}
|
||||
{include file="pc/public/indexBoyRankList" start="84"/}
|
||||
{/if}
|
||||
{/novel:list}
|
||||
</ol>
|
||||
<span class="more"><a href="{$strPcPath}/paihang" ><s></s><i>查看更多</i><s></s></a></span>
|
||||
<span class="more"><a href="{$strPcPath}/paihang"><s></s><i>查看更多</i><s></s></a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="adv">
|
||||
{volist name="arrAdBanner" id="Ad" key="key"}
|
||||
{include file="pc/public/adBanner" /}
|
||||
{/volist}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="f4 area">
|
||||
<div class="area_head">
|
||||
<span class="log_line"></span>
|
||||
@@ -278,9 +285,10 @@
|
||||
<li class="sj">更新时间</li>
|
||||
</ul>
|
||||
</li>
|
||||
{volist name="arrNewsUpdateNovel" id="Novel" key="key"}
|
||||
{include file="pc/public/indexNewsUpdateList" start="95"/}
|
||||
{/volist}
|
||||
{novel:list count="30" sort_type="update" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
{include file="pc/public/indexNewsUpdateList" start="95"/}
|
||||
{/novel:list}
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
@@ -290,6 +298,6 @@
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name="customize-footer-after"}
|
||||
{block name="customize-footer-after"}
|
||||
|
||||
{/block}
|
||||
Reference in New Issue
Block a user