This commit is contained in:
make
2025-04-11 23:56:23 +08:00
parent 9350a2afff
commit bc92b44086
37 changed files with 246 additions and 216 deletions

View File

@@ -15,6 +15,9 @@
{block name="head"}{/block}
{block name="head-css"}{/block}
{block name="head-js"}{/block}
<script>
const strPcPath = `{$strPcPath}`;
</script>
</head>
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
@@ -25,34 +28,34 @@
{block name="logo-html"}{/block}
<ul class="nav">
<li class=' {eq name="strPageCode" value="home"}on {/eq}'>
<a href="/pc/" target="_self" title="首页">首页</a>
<a href="{$strPcPath}/" target="_self" title="首页">首页</a>
</li>
<li class=' {eq name="strPageCode" value="boys"}on {/eq}'>
<a href="/pc/nansheng-xiaoshuo" target="_self" title="男生">男生</a>
<a href="{$strPcPath}/nansheng-xiaoshuo" target="_self" title="男生">男生</a>
</li>
<li class=' {eq name="strPageCode" value="girls"}on {/eq}'>
<a href="/pc/nvsheng-xiaoshuo" target="_self" title="女生">女生</a>
<a href="{$strPcPath}/nvsheng-xiaoshuo" target="_self" title="女生">女生</a>
</li>
<li class=' {eq name="strPageCode" value="library"}on {/eq}'>
<a href="/pc/shuku/all" target="_self" title="书库">书库</a>
<a href="{$strPcPath}/shuku/all" target="_self" title="书库">书库</a>
</li>
<li class=' {eq name="strPageCode" value="rank"}on {/eq}'>
<a href="/pc/paihang/all" target="_self" title="排行">排行</a>
<a href="{$strPcPath}/paihang/all" target="_self" title="排行">排行</a>
</li>
<!-- <li class=' {eq name="strPageCode" value="article"}on {/eq}'>
<a href="/pc/article/list" target="_self" title="文章">文章</a>
<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="/pc/search.html" class="search-val" value="" placeholder="我要搜.. "
<input type="text" name="keyword" url="{$strPcPath}/search.html" 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="/pc/user"><s></s><i>个人中心</i></a></span>
<span class="login_before"><a href="{$strPcPath}/user"><s></s><i>个人中心</i></a></span>
</div>
</div>
</div>