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

149 lines
6.2 KiB
HTML
Raw 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/xiongmao/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/xiongmao/public/img/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
<link href='/template/xiongmao/style2_pc/css/style.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' rel="preload" type="text/css"/>
<link href='/template/xiongmao/style2_pc/css/style.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' rel="stylesheet" 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="nav">
<div class="wp">
{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}
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
<li class='{if $strPageCode == "library" && $strCategoryPinyin == $Request.route.strCategory }home{/if}'>
<a href='{$strPcPath}{site:nflurl category="$strCategoryPinyin" status="all" order="all" page="1"/}'>{$strCategoryName}</a></li>
{/novel:category}
<div class="nav-right" id="qs_login">
<a class="a1 y" href="{$strPcPath}{$strUserUrlTemp}">
<span class="ico ico-login"></span>
个人中心
</a>
</div>
</div>
</div>
<div class="wp">
<h1 class="title z">
<a href="{$strPcPath}/">{$DomainModel->d_name}</a>
</h1>
<div class="search z">
<form id="novel_search" class="search-form" method="get" action="{$strPcPath}{$strSearchIndexUrlTemp}">
<input type="text" class="input-text input-key" name="keyword" placeholder="输入书名/作者进行搜索,宁少字勿错字"/>
<button type="submit" class="btn-tosearch" form="novel_search" value="submit" data-toggle="tooltip" data-placement="right" title="点击进行搜索">
<span class="ico ico-so"></span>
</button>
</form>
</div>
<div class="header-bd">
<a href="{$strPcPath}{$strHistoryUrlTemp}" class="a1" data-toggle="tooltip" data-placement="bottom" title="查看小说历史阅读记录">
<span class="ico ico-liulanliang fs32"></span>
阅读记录
</a>
<a href="{$strPcPath}{$strBookShelfUrlTemp}" class="a1" data-toggle="tooltip" data-placement="bottom" title="查看已保存到云端的小说">
<span class="ico ico-bookshelf fs32"></span>
会员书架
</a>
</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>