238 lines
9.7 KiB
HTML
238 lines
9.7 KiB
HTML
{extend name="basePc" /}
|
|
|
|
{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}
|
|
{block name="head"}
|
|
<!-- 社交媒体标签 -->
|
|
<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://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>
|
|
<a href="{$strPcPath}/">
|
|
{$DomainModel->d_name}-{$DomainModel->d_text_logo}
|
|
</a>
|
|
</h1>
|
|
{/block}
|
|
|
|
{block name="main"}
|
|
|
|
{site:grm page_code="pc_index" diff="0" num="150" g_key="arrGrm" /}
|
|
|
|
|
|
|
|
<div id="main">
|
|
<div id="hotcontent">
|
|
<div class="l">
|
|
{novel:list count="4" sort_type="tuijian" n_status="lianzai" d_key="key" d_val="Novel" p_val="page_data"
|
|
cache_life="86400"}
|
|
<div class="item">
|
|
<div class="image">
|
|
{if !empty($arrGrm[$key])}
|
|
{$arrGrm[$key]|raw}
|
|
{/if}
|
|
<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"
|
|
data-src="{$Novel.n_cover_path ?? ''}"
|
|
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读" width="120" height="150">
|
|
</a>
|
|
</div>
|
|
<dl>
|
|
<dt>
|
|
<span>{$Novel.n_author ?? ''}</span>
|
|
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
|
{$Novel.n_name ?? ''}
|
|
</a>
|
|
</dt>
|
|
<dd>{$Novel.n_description ?? ''}</dd>
|
|
</dl>
|
|
<div class="clear"></div>
|
|
</div>
|
|
{/novel:list}
|
|
</div>
|
|
<div class="r">
|
|
<h2>经典推荐</h2>
|
|
<ul>
|
|
{novel:list count="9" sort_type="tuijian" n_status="wanjie" d_key="key" d_val="Novel"
|
|
p_val="page_data" cache_life="86400"}
|
|
<li>
|
|
<span class="s2">
|
|
{if !empty($arrGrm[$key+4])}
|
|
{$arrGrm[$key+4]|raw}
|
|
{/if}
|
|
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>
|
|
</span>
|
|
<span class="s5">{$Novel->n_author}</span>
|
|
</li>
|
|
{/novel:list}
|
|
|
|
</ul>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div class="novelslist">
|
|
<?php $start = 0 ;?>
|
|
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
|
<?php $start +=1 ;?>
|
|
{if $start < 4}
|
|
<div class="content">
|
|
<h2>{$strCategoryName} </h2>
|
|
|
|
|
|
{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="top">
|
|
<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"
|
|
data-src="{$Novel.n_cover_path ?? ''}"
|
|
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读" width="120"
|
|
height="150"></a></div>
|
|
<dl>
|
|
<dt><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></dt>
|
|
<dd>{$Novel->n_description}</dd>
|
|
</dl>
|
|
<div class="clear"></div>
|
|
</div>
|
|
{/novel:list}
|
|
<ul>
|
|
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="key" d_val="Novel"
|
|
p_val="page_data" cache_life="86400"}
|
|
<li>
|
|
{if !empty($arrGrm[$key+9+10*$start])}
|
|
{$arrGrm[$key+9+10*$start]|raw}
|
|
{/if}
|
|
<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>
|
|
{/novel:list}
|
|
|
|
</ul>
|
|
</div>
|
|
{/if}
|
|
{/novel:category}
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div class="novelslist">
|
|
<?php $start = 0 ;?>
|
|
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
|
<?php $start +=1 ;?>
|
|
{if 3< $start && $start < 7}
|
|
<div class="content">
|
|
<h2>{$strCategoryName} </h2>
|
|
|
|
|
|
{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="top">
|
|
<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"
|
|
data-src="{$Novel.n_cover_path ?? ''}"
|
|
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读" width="120"
|
|
height="150"></a></div>
|
|
<dl>
|
|
<dt><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></dt>
|
|
<dd>{$Novel->n_description}</dd>
|
|
</dl>
|
|
<div class="clear"></div>
|
|
</div>
|
|
{/novel:list}
|
|
<ul>
|
|
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="key" d_val="Novel"
|
|
p_val="page_data" cache_life="86400"}
|
|
<li>
|
|
{if !empty($arrGrm[$key+9+10*$start])}
|
|
{$arrGrm[$key+9+10*$start]|raw}
|
|
{/if}
|
|
<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>
|
|
{/novel:list}
|
|
|
|
</ul>
|
|
</div>
|
|
{/if}
|
|
{/novel:category}
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
<div id="newscontent">
|
|
<div class="l">
|
|
<h2>最近更新小说列表</h2>
|
|
<ul>
|
|
{novel:list count="50" sort_type="update" d_key="key" d_val="Novel" p_val="page_data"
|
|
cache_life="86400"}
|
|
<li>
|
|
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
|
<span class="s2">
|
|
{if !empty($arrGrm[$key + 100])}
|
|
{$arrGrm[$key + 100]|raw}
|
|
{/if}
|
|
<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" /}' >{$Novel->n_latest_chapter_name ?? ''}</a>
|
|
</span>
|
|
<span class="s4">{$Novel->n_author}</span>
|
|
<span class="s5">{:date('m-d')}</span>
|
|
</li>
|
|
{/novel:list}
|
|
</ul>
|
|
</div>
|
|
<div class="r">
|
|
<h2>最新入库小说</h2>
|
|
<ul>
|
|
{novel:list count="50" sort_type="news" d_key="key" d_val="Novel" p_val="page_data"
|
|
cache_life="86400"}
|
|
<li>
|
|
<span class="s2">
|
|
{if !empty($arrGrm[$key + 100])}
|
|
{$arrGrm[$key + 100]|raw}
|
|
{/if}
|
|
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>
|
|
</span>
|
|
<span class="s5">{$Novel->n_author}</span>
|
|
</li>
|
|
|
|
|
|
{/novel:list}</ul>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
</div>
|
|
{/block}
|
|
|
|
{block name="customize-footer-after"}
|
|
|
|
{/block} |