This commit is contained in:
make
2025-04-20 18:47:15 +08:00
parent d1b6e5100e
commit 34206fe268
40 changed files with 398 additions and 526 deletions

View File

@@ -20,6 +20,11 @@
</script>
</head>
<!-- 接收子模板传递的 active_nav -->
{block name="strPageCode"}
<?php $strPageCode = 'home'; ?>
{/block}
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
<!--公共头部 开始-->
@@ -27,10 +32,10 @@
<div class="headWrap">
{block name="logo-html"}{/block}
<ul class="nav">
<li class=' {eq name="strPageCode" value="home"}on {/eq}'>
<li class=' {if $strPageCode == "home"}on{/if} '>
<a href="{$strPcPath}/" target="_self" title="首页">首页</a>
</li>
<li class=' {eq name="strPageCode" value="boys"}on {/eq}'>
<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}'>