联系官方销售客服
1835022288
028-61286886
<div class="style1">
<strong>规格<span class="hidden-xs">:</span><i class="icon hidden-xl hidden-lg hidden-md hidden-sm"></i></strong>
<ul>
<li><a class="label {if !$params.guige}label-success{else}label-default{/if}" href="{Router::search_url($params, 'guige', $value)}">全部</a></li>
{php $field = dr_field_options($ci->module['field']['guige']['id']);}
{loop $field $value $name}
<li><a class="label {if $value==$params.guige}label-success{else}label-default{/if}" href="{Router::search_url($params, 'guige', $value)}">{$name}</a></li>
{/loop}
</ul>
</div>
我这样子写,在条件单选的情况下,还是跳转到搜索页面去,请问我哪里出问题了呢,需要怎么修改?