Files
SEONexus/code/app/home/view/default/Index/index.html
2025-04-17 23:24:49 +08:00

106 lines
3.5 KiB
HTML

{extend name="baseH5" /}
{block name="title"}{$strTitle??''}{/block}
{block name="keywords"}{$strKeywords??''}{/block}
{block name="description"}{$strDescription??''}{/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="website" />
<!-- 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}",
"headline": "{$strTitle??''}",
"description": "{$strDescription??''}",
"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="logo-html"}
<h1 class="bookname">
<a href="/" style="color:#ffffff">{$DomainModel->d_name}</a>-免费在线阅读热门小说
</h1>
{/block}
{block name="main"}
<h2 class="site-description">{$DomainModel->d_index_description}</h2>
<div class="wrap-box" style="margin-top:0;">
<h3 class="wrap-title"><span>封面推荐</span></h3>
<div class="rec-focus">
{foreach $arrRecommendNovel as $key=>$Novel }
<dl class="rec-focus-book">
<dt class="book-img">
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
<img height="100" width="80" alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读"
src="{$Novel.n_cover_path ?? ''}" >
</a>
</dt>
<dd class="book-info">
<h2><a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name}</a></h2>
<p>作者:{$Novel.n_author}</p>
<p>{$Novel.n_description}</p>
</dd>
</dl>
{/foreach}
</div>
</div>
{foreach $arrAllCategoryNovel as $category}
<div class="wrap-box">
<h3 class="wrap-title">
<span>{$category.xsfl_name}</span>
<a class="more" href="/{$SiteModel['site_fenlei_path']}/{$category.xsfl_source_id}-0-0-1.html">更多..</a>
</h3>
<div class="sort-box">
<dl class="sort-book-first">
{foreach $arrNovels[$category.xsfl_source_id] as $key2 => $vo}
{if $key2 == 0}
<dt class="book-img"><a href="/{$SiteModel['site_xiangqing_path']}/{$vo.xsxq_id}.html"><img height="100" width="80"
src="{$vo.xsxq_feng_mian_url}" alt="{$vo.xsxq_ming_zi}"></a></dt>
<dd class="book-info">
<h4><a href="/{$SiteModel['site_xiangqing_path']}/{$vo.xsxq_id}.html">{$vo.xsxq_ming_zi}</a></h4>
<p>作者:{$vo.xsxq_zuozhe}</p>
<p>{$vo.xsxq_jie_shao}</p>
</dd>
{/if}
{/foreach}
</dl>
<ul class="sort-book-list">
{foreach $arrNovels[$category.xsfl_source_id] as $key2 => $vo}
{if $key2 >= 1}
<li><a href="/{$SiteModel['site_xiangqing_path']}/{$vo.xsxq_id}.html">{$vo.xsxq_ming_zi}</a><span>{$vo.xsxq_zuozhe}</span></li>
{/if}
{/foreach}
</ul>
</div>
</div>
{/foreach}
{/block}
{block name="customize"}
{/block}