<div class="layout">
    <div class="width" id="nav">
        <ul>
            <li class="logo"><img src="{if eycms.strlen(eycms[wx_logo])>0}{eycms[wx_logo]}{else}{webroot}theme/weixin/mobile/images/logo.png{/if}" width="30" height="30"></li>
            <li{if cateid=0} class="active"{/if}><a href="{webroot}weixin/">首页</a></li>
            {eycms:rs top="0" table="wx_master_cate" order="ordnum,cateid"}
            <li{if cateid=$rs[cateid]} class="active"{/if}><a href="{listrule}{$rs[cateid]}">{$rs[catename]}</a></li>
            {/eycms:rs}
        </ul>
    </div>
</div>
<div class="top_white"></div>