Files
SEONexus/code/app/home/view/kuangYu/basePc.html
2025-09-17 13:51:58 +08:00

141 lines
6.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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" href='/template/kuangyu/home/bai_web/css/style.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' type="text/css">
<link rel="stylesheet" href='/template/kuangyu/home/bai_web/css/style.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' type="text/css">
<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="header">
<div class="headWrap">
{block name="logo-html"}{/block}
<ul class="nav">
{if $DomainModel->info_id > 0}
<li class=' {if $strPageCode == "info"}on{/if} '>
<a href="{$strPcPath}/" target="_self" title="首页">首页</a>
</li>
<li class=' {if $strPageCode == "home"}on{/if} '>
<a href="{$strPcPath}/nindex/" target="_self" title="首页">小说首页</a>
</li>
{else}
<li class=' {if $strPageCode == "home"}on{/if} '>
<a href="{$strPcPath}/" target="_self" title="首页">首页</a>
</li>
{/if}
<li class=' {if $strPageCode == "man"}on{/if} '>
<a href="{$strPcPath}{$strNanUrlTemp}" target="_self" title="男生">男生</a>
</li>
<li class=' {eq name="strPageCode" value="women"}on {/eq}'>
<a href="{$strPcPath}{$strNvUrlTemp}" target="_self" title="女生">女生</a>
</li>
<li class=' {eq name="strPageCode" value="library"}on {/eq}'>
<a href="{$strPcPath}{$strCategoryIndexUrlTemp}" target="_self" title="书库">书库</a>
</li>
<li class=' {eq name="strPageCode" value="rank"}on {/eq}'>
<a href="{$strPcPath}{$strRankUrlTemp}" target="_self" title="排行">排行</a>
</li>
<!-- <li class=' {eq name="strPageCode" value="article"}on {/eq}'>
<a href="{$strPcPath}/article/list" target="_self" title="文章">文章</a>
</li> -->
</ul>
<div class="headWrap_r">
<div class="search long" id="mod_top_search">
<div class="search_sel">
<input type="text" name="keyword" url="{$strPcPath}{$strSearchIndexUrlTemp}" class="search-val" value="" placeholder="我要搜.. "
maxlength="100" autocomplete="off">
</div>
<a href="" class="search_btn"><s></s></a>
</div>
<div class="login">
<span class="login_before"><a href="{$strPcPath}{$strUserUrlTemp}"><s></s><i>个人中心</i></a></span>
</div>
</div>
</div>
</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 type="text/javascript" src="/template/kuangyu/home/bai_web/js/global.js"></script>
<script src='/template/kuangyu/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>