36 lines
1.8 KiB
HTML
36 lines
1.8 KiB
HTML
<header class="{$TpStyle.dom_prefix}-h76-dock">
|
|
<div class="{$TpStyle.dom_prefix}-h76-top">
|
|
<a href="/" class="{$TpStyle.dom_prefix}-h76-brand">{$DomainModel->d_name}</a>
|
|
<div class="{$TpStyle.dom_prefix}-h76-acts">
|
|
<button type="button"
|
|
class="{$TpStyle.dom_prefix}-h76-btn"
|
|
onclick="document.body.classList.toggle('{$TpStyle.dom_prefix}-h76-copen')">分类</button>
|
|
<button type="button"
|
|
class="{$TpStyle.dom_prefix}-h76-btn"
|
|
onclick="document.body.classList.toggle('{$TpStyle.dom_prefix}-h76-sopen')">搜索</button>
|
|
</div>
|
|
</div>
|
|
|
|
<form class="{$TpStyle.dom_prefix}-h76-search" action="{$strSearchListUrlTemp}">
|
|
<input type="text" name="keyword" placeholder="快速搜索:片名 / 演员">
|
|
<button type="submit" class="{$TpStyle.dom_prefix}-h76-sbtn">提交</button>
|
|
</form>
|
|
|
|
<nav class="{$TpStyle.dom_prefix}-h76-nav">
|
|
<ul class="{$TpStyle.dom_prefix}-h76-home">
|
|
{if $DomainModel->info_id > 0}
|
|
<li class="{if $strPageCode == 'info'}active{/if}"><a href="/">首页</a></li>
|
|
<li class="{if $strPageCode == 'home'}active{/if}"><a href="/vindex">影视首页</a></li>
|
|
{else}
|
|
<li class="{if $strPageCode == 'home'}active{/if}"><a href="/">首页</a></li>
|
|
{/if}
|
|
</ul>
|
|
<ul class="{$TpStyle.dom_prefix}-h76-cats">
|
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
|
<li class="{if $val.v_category_en==$Request.route.strParentCategory}active{/if}">
|
|
<a href="{site:vciurl parent_category='$val.v_category_en' /}">{$val.v_category}</a>
|
|
</li>
|
|
{/video:categorytype}
|
|
</ul>
|
|
</nav>
|
|
</header> |