联系官方销售客服
1835022288
028-61286886
<ul class="clearfix"> <span class="{if !$params.gongyi}cur{else}{/if}" ><a href="{Router::search_url($params, 'gongyi', NULL)}">全部</a></span> {php $field = dr_field_options($ci->module['field']['gongyi']['id']);} {loop $field $value $name} <span class="{if $value==$params.gongyi}cur{else}{/if}" ><a href="{Router::search_url($params, 'gongyi', $value)}">{$name}</a></span> {/loop} </ul>
为什么这样写变成联动了,我写的是单选按钮