98 lines
3.9 KiB
HTML
98 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="robots" content="index, follow" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<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="stylesheet" href="/template/kuangyu/home/bai_web/css/style.css" 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>
|
|
</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">
|
|
<li class=' {if $strPageCode == "home"}on{/if} '>
|
|
<a href="{$strPcPath}/" target="_self" title="首页">首页</a>
|
|
</li>
|
|
<li class=' {if $strPageCode == "boys"}on{/if} '>
|
|
<a href="{$strPcPath}{$strNanUrlTemp}" target="_self" title="男生">男生</a>
|
|
</li>
|
|
<li class=' {eq name="strPageCode" value="girls"}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"></script>
|
|
|
|
{block name="footer-js"}{/block}
|
|
|
|
<!-- 全局统计 -->
|
|
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
|
|
|
<!-- 单站统计 -->
|
|
{$DomainModel->d_statis|raw}
|
|
|
|
</body>
|
|
|
|
</html> |