161 lines
7.1 KiB
HTML
161 lines
7.1 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
|
||
<head>
|
||
{block name="get-data"}{/block}
|
||
<meta charset="UTF-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||
{// 移动端适配 }
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta name="applicable-device" content="pc">
|
||
<meta http-equiv="Cache-Control" content="no-transform">
|
||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
|
||
{// 移动端 APP 样式,主要是移动端体验,对 SEO 没直接影响 }
|
||
<meta name="format-detection" content="telephone=no,email=no">
|
||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||
<link rel="apple-touch-icon" href="/template/kuangyu/public/img/favicon.ico">
|
||
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
||
<meta name="theme-color" content="#000000">
|
||
<meta name="mobile-web-app-capable" content="yes">
|
||
<!-- <link rel="manifest" href="/manifest.json"> -->
|
||
{// 搜索引擎收录控制 }
|
||
<meta name="robots" content="index, follow">
|
||
|
||
<title>{block name="title"}{/block}</title>
|
||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||
<meta name="description" content='{block name="description"}{/block}'>
|
||
<link rel="icon" href="/template/kuangyu/public/img/favicon.ico" type="image/x-icon" />
|
||
<link rel="preload" type="text/css" href='/template/haozi/book_pc/css/common.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' />
|
||
<link rel="stylesheet" type="text/css" href='/template/haozi/book_pc/css/common.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' />
|
||
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
|
||
|
||
{block name="head"}{/block}
|
||
{block name="head-css"}{/block}
|
||
{block name="head-js"}{/block}
|
||
<script>
|
||
const strPcPath = `{$strPcPath}`;
|
||
</script>
|
||
<script>
|
||
(function () {
|
||
var bp = document.createElement('script');
|
||
var curProtocol = window.location.protocol.split(':')[0];
|
||
if (curProtocol === 'https') {
|
||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||
}
|
||
else {
|
||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||
}
|
||
var s = document.getElementsByTagName("script")[0];
|
||
s.parentNode.insertBefore(bp, s);
|
||
})();
|
||
</script>
|
||
</head>
|
||
|
||
<!-- 接收子模板传递的 active_nav -->
|
||
{block name="strPageCode"}
|
||
<?php $strPageCode = 'home'; ?>
|
||
{/block}
|
||
|
||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||
|
||
<div class="ywtop">
|
||
<div class="ywtop_con">
|
||
<div class="topbar">
|
||
<ul>
|
||
{if $DomainModel->info_id > 0}
|
||
<li class='{if $strPageCode == "home"}home{/if}'>
|
||
<a href="{$strPcPath}/">首 页</a>
|
||
</li>
|
||
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
|
||
{else}
|
||
<li class='{if $strPageCode == "home"}home{/if}'>
|
||
<a href="{$strPcPath}/">首 页</a>
|
||
</li>
|
||
{/if}
|
||
|
||
<li><a href='{$strPcPath}{site:rankurl status="all" order="total" page="1"/}'>总排行</a></li>
|
||
|
||
<li><a href='{$strPcPath}{site:nflurl category="all" status="all" order="tuijian" page="1"/}'>总推荐</a></li>
|
||
<li><a href='{$strPcPath}{site:nflurl category="all" status="all" order="news" page="1"/}'>最新入库</a></li>
|
||
<li><a href='{$strPcPath}{site:nflurl category="all" status="all" order="update" page="1"/}'>最新更新</a></li>
|
||
<li><a href="{$strPcPath}{$strHistoryUrlTemp}" >阅读记录</a></li>
|
||
<li id="bookcase"><a href="{$strPcPath}{$strBookShelfUrlTemp}" >您的书架</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="header">
|
||
<div class="header_logo"><a href="{$strPcPath}/">{$DomainModel->d_name}</a>
|
||
<p>{$DomainModel->d_domain}</p>
|
||
</div>
|
||
<div class="header_search">
|
||
<form style="margin:0;padding:0;" action="{$strPcPath}{$strSearchIndexUrlTemp}" method="get">
|
||
<!-- <input type="hidden" name="searchtype" value="all"> -->
|
||
<input class="search" id="bdcsMain" name="keyword" type="text" maxlength="30" value="可搜书名和作者,请您少字也别输错字。"
|
||
title="请正确输入"
|
||
onfocus="this.style.color = '#000000';this.focus();if(this.value=='可搜书名和作者,请您少字也别输错字。'){this.value='';}"
|
||
ondblclick="javascript:this.value=''">
|
||
<input type="submit" class="searchBtn" value="搜索" title="搜索">
|
||
</form>
|
||
</div>
|
||
<div class="userpanel">
|
||
<p><a href='{$strPcPath}{site:rankurl status="all" order="daily" page="1"/}'>日排行</a>
|
||
<a href='{$strPcPath}{site:rankurl status="all" order="weekly" page="1"/}'>周排行</a>
|
||
<a href='{$strPcPath}{site:rankurl status="all" order="monthly" page="1"/}'>月排行</a></p>
|
||
</div>
|
||
</div>
|
||
<div class="clear"></div>
|
||
<div class="nav">
|
||
<ul>
|
||
{if $DomainModel->info_id > 0}
|
||
<li class='{if $strPageCode == "home"}active_nav_btn{/if}'><a href="{$strPcPath}/">首 页</a></li>
|
||
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
|
||
{else}
|
||
<li class='{if $strPageCode == "home"}active_nav_btn{/if}'><a href="{$strPcPath}/">{$DomainModel->d_name}首页</a></li>
|
||
{/if}
|
||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
||
<li class='{if $strPageCode == "library" && $strCategoryPinyin == $Request.route.strCategory }active_nav_btn{/if}'>
|
||
<a href='{$strPcPath}{site:nflurl category="$strCategoryPinyin" status="all" order="all" page="1"/}'>
|
||
{$strCategoryName}
|
||
</a>
|
||
</li>
|
||
{/novel:category}
|
||
<li><a href='{$strPcPath}{site:nflurl category="all" status="wanjie" order="all" page="1"/}'>完本榜</a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
|
||
{block name="main"} {/block}
|
||
|
||
|
||
|
||
|
||
{block name="customize-footer-after"}{/block}
|
||
|
||
{include file="pc/public/footer" /}
|
||
|
||
{block name="customize"}{/block}
|
||
|
||
<script>
|
||
const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`;
|
||
</script>
|
||
|
||
<script src="/public/jquery/jquery-3.7.1.min.js"></script>
|
||
<script src="/public/layer/layer.js"></script>
|
||
<script src="/public/lazyload/jquery.lazyload.min.js"></script>
|
||
<script src='/template/haozi/public/js/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
|
||
|
||
{block name="footer-js"}{/block}
|
||
|
||
<!-- 全局统计 -->
|
||
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
||
|
||
<!-- 单站统计 -->
|
||
{$DomainModel->d_statis|raw}
|
||
|
||
</body>
|
||
|
||
</html> |