<header class="om-header">
    <div class="om-header-container">
        <span class="logo"><a href="{$site_url}" title="{$site_name}"><img name="logo" src="{$config(site_mobile_logo)}" alt="{$site_name}" title="{$site_name}" /></a></span>
        {if:OW.int("{$config(user_login_close)}")=0}
        <div class="user"><a class="unlogin" href="{$login_url}"><i></i></a></div>
        {/if}
        <div class="main-menu"><a class="menu" id="mobile-menu-icon" href="javascript:;"><i></i></a></div>
    </div>
</header>
<div class="ow-aside-menu" id="aside-menu">
    <div class="aside-wrapper">
        <a class="aside-close" id="mobile-menu-close" href="javascript:;"><i></i></a>
        <div id="mobile-menu">
            {nav type="1" parent_id="0"}
            <ul class="menu">
            {nav:loop}
            <li class="n1"><a class="n1" href="[nav:url]">[nav:name]</a>
                {if:OW.int("[nav:children]")>0}
                    <span class="arrows"><i></i></span>
                    {nav2 parent_id="[nav:nav_id]"}
                    <ul class="sub-menu">
                    {nav2:loop}
                    <li class="n2"><a class="n2" href="[nav2:url]">[nav2:name]</a></li>
                    {/nav2:loop}
                    </ul>
                    {/nav2}
                {/if}
            </li>
            {/nav:loop}
            </ul>
            {/nav}
        </div>
        <div class="search">
            <form action="{$site_url}" method="get">
                <input type="hidden" name="ctl" value="search"><input type="hidden" name="is_shop" value="0">
                <input type="text" class="text-search" name="keyword" value="{$search_keyword}" placeholder="关键词" /><button type="submit" class="btn-search" name="btn_search">搜 索</button>
            </form>
        </div>
    </div>
</div>
<nav class="om-nav" id="ow_nav" style="display:none;">
    <section>
        <ul class="base" id="ow_nav_base">
            {nav type="5" parent_id="0"}
            {nav:loop}
            <li class="n1" n1="true" i="[nav:i]" url="[nav:url]"><a class="n1" href="[nav:url]"><i style="background-image:url([nav:icon]);"></i>[nav:name]</a>
                {if:OW.int("[nav:children]")>0}
                    <span class="caret"></span>
                    {nav2 parent_id="[nav:nav_id]"}
                    <div class="subnav" name="subnav" i="[nav:i]">
                    <ul>
                    {nav2:loop}
                    <li class="n2"><a class="n2" href="[nav2:url]">[nav2:name]</a></li>
                    {/nav2:loop}
                    </ul>
                    </div>
                    {/nav2}
                {/if}
            </li>
            {/nav:loop}
            {/nav}
        </ul>
    </section>
</nav>