<?php $name = "nav-s-1"; ?> <link rel="stylesheet" href="/template/mobile/components/nav/style_1.css?v=<?php echo rand(1,100000); ?>" media="all"> <!--定义div盒子--> <div class="<?php echo $name; ?>-content"> <div class="box"> <!--定义内容布局---> <div class="row"> <!--定义内部栅格 上下左右 使用浮动--> <div class="top"> <!--定义内容标签 p span a li img---> <a href="#">当前位置:</a> {eyou:if condition='($page == "zccat")'} <!--职称分类页--> <a href="{eyou:global name='web_basehost' /}">首页</a> <span> <img src="https://oss.zc10000.com/static/images/010.svg" /> </span> {eyou:type typeid='38' empty='暂时没有数据'} <a href="{:get_tid_url_2($field['typeurl'])}">职业工种</a> {/eyou:type} {eyou:elseif condition='($page == "zccat-detail" || $page=="zccat-detail-list")'} <!--职称详情页 zccat-detail 已废弃--> <a href="{eyou:global name='web_basehost' /}">首页</a> <span> <img src="https://oss.zc10000.com/static/images/010.svg" /> </span> {eyou:type typeid='38' empty='暂时没有数据'} <a href="{:get_tid_url_2($field['typeurl'])}">职业工种</a> {/eyou:type} {eyou:if condition='((int)$route_param.catids !== 38)'} <!--<span> <img src="https://oss.zc10000.com/static/images/010.svg" /> </span>--> {eyou:empty name='$detail' /} 产品不完善,不存在{$level} {eyou:else /} <span> <img src="https://oss.zc10000.com/static/images/010.svg" /> </span> <?php if((int)$parentid === 38){ ?> {eyou:type typeid='$route_param.catids' empty='暂时没有数据' id="kcat"} <a href="{$route_domain}{$route_url}"> {eyou:if condition='($eyou.field.subtitle != "")'} {$eyou.field.subtitle} {eyou:else /} {$kcat.typename} {/eyou:if} </a> {/eyou:type} <?php }else{ /*var_dump($parentid);*/ ?> {eyou:type typeid='$parentid' empty='暂时没有数据' id="kcat2"} <a href="{:get_tid_url_2($kcat2['typeurl'],0,0,0,$kcat2['type'],$kcat2['topid'],$kcat2['area_id'])}"> {eyou:if condition='($eyou.field.subtitle != "")'} {$eyou.field.subtitle} {eyou:else /} {$kcat2.typename} {/eyou:if} </a> {/eyou:type} <span> <img src="https://oss.zc10000.com/static/images/010.svg" /> </span> <?php $kid = $route_param['catids']; ?> {eyou:sql sql="SELECT id,typename FROM ey_arctype_cat WHERE id = $kid" cachetime='3600' id="kcat2"} <!--/id{$cid}/ids{$num}--> <a href="{$route_domain}{$route_url}"> {eyou:if condition='($eyou.field.subtitle != "")'} {$eyou.field.subtitle} {eyou:else /} {$kcat2.typename} {/eyou:if} </a> {/eyou:sql} <?php } ?> <!--存在36小类--> {/eyou:empty} {/eyou:if} {eyou:elseif condition='($page == "article_list")'} <!--文章列表页--> <a href="{eyou:global name='web_basehost' /}">首页</a> <span> <img src="https://oss.zc10000.com/static/images/010.svg" /> </span> {eyou:type typeid='$route_param.tid' empty='暂时没有数据'} <a href="{:get_tid_url_2($field['typeurl'])}">{$field.typename}</a> {/eyou:type} {eyou:elseif condition='($page == "article-detail")'} <!--文章列表页--> <a href="{eyou:global name='web_basehost' /}">首页</a> <span> <img src="https://oss.zc10000.com/static/images/010.svg" /> </span> {eyou:type typeid='$eyou.field.typeid' empty='暂时没有数据'} <a href="{:get_tid_url_2($field['typeurl'])}">{$field.typename}</a> {/eyou:type} <span> <img src="https://oss.zc10000.com/static/images/010.svg" /> </span> <a href="">{$eyou.field.title}</a> {eyou:else /} <!--系统的面包屑 不符合某些规则--> {eyou:position style="crumb" /} {/eyou:if} </div> </div> </div> </div>