debug
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{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}/">
|
||||
{/block}
|
||||
@@ -27,7 +27,8 @@
|
||||
<div class="container biqunaicc">
|
||||
<div class="row">
|
||||
<div class="layout layout-col2">
|
||||
{foreach $arrRecommendSerializationNovel as $key=>$Novel }
|
||||
{novel:list count="4" sort_type="tuijian" n_status="lianzai" d_key="d_key" d_val="Novel" p_val="page_data"
|
||||
cache_life="86400"}
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
@@ -50,32 +51,32 @@
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/novel:list}
|
||||
</div>
|
||||
<div class="layout layout-col1">
|
||||
<h2 class="layout-tit">经典推荐</h2>
|
||||
<ul class="txt-list txt-list-row3">
|
||||
{foreach $arrRecommendEndNovel as $key=>$Novel }
|
||||
{novel:list count="9" sort_type="tuijian" n_status="wanjie" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
||||
<span class="s2"><a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||
<span class="s5"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||
</li>
|
||||
{/foreach}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="layout">
|
||||
{foreach $arrCategoryAll as $category}
|
||||
{foreach $arrCategoryAll as $category}
|
||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
||||
<div class="tp-box">
|
||||
<h2>{$category.xsfl_name}</h2> <!-- 分类标题 -->
|
||||
<h2>{$strCategoryName}</h2> <!-- 分类标题 -->
|
||||
<div class="top">
|
||||
{foreach $arrNovels[$category.xsfl_source_id] as $key2 => $Novel}
|
||||
{if $key2 == 0}
|
||||
{novel:list count="1" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
<div class="image">
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img class="lazyload-img" src="/static/img/default.jpg"
|
||||
@@ -90,21 +91,18 @@
|
||||
<dd><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'
|
||||
style="color: #555">{$Novel.n_description ?? ''}</a></dd>
|
||||
</dl>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/novel:list}
|
||||
</div>
|
||||
<ul>
|
||||
{foreach $arrNovels[$category.xsfl_source_id] as $key2 => $Novel}
|
||||
{if $key2 >= 1}
|
||||
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="86400"}
|
||||
<li><a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>/<a
|
||||
href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/novel:list}
|
||||
</ul>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
{/novel:category}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -112,7 +110,8 @@
|
||||
<div class="layout layout2 layout-col1 fr">
|
||||
<h2 class="layout-tit">最新入库小说</h2>
|
||||
<ul class="txt-list txt-list-row3">
|
||||
{novel:list count="50" sort_type="news" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="0"}
|
||||
{novel:list count="50" sort_type="news" d_key="d_key" d_val="Novel" p_val="page_data"
|
||||
cache_life="86400"}
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||
<span class="s2"><a
|
||||
@@ -125,13 +124,14 @@
|
||||
<div class="layout layout2 layout-col2 fl">
|
||||
<h2 class="layout-tit">最近更新小说列表</h2>
|
||||
<ul class="txt-list txt-list-row5">
|
||||
{novel:list count="50" sort_type="update" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="0"}
|
||||
{novel:list count="50" sort_type="update" d_key="d_key" d_val="Novel" p_val="page_data"
|
||||
cache_life="86400"}
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||
<span class="s2"><a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||
<span class="s3"><a
|
||||
href='{$strPcPath}{site:lcpurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'
|
||||
href='{$strPcPath}{site:lcpurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin" /}'
|
||||
title="{$Novel->n_latest_chapter_name ?? 'null'}">{$Novel->n_latest_chapter_name ??
|
||||
'null'}</a></span>
|
||||
<span class="s4"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||
|
||||
Reference in New Issue
Block a user