联系官方销售客服
1835022288
028-61286886
请问下面那种标签调用联动菜单的效率更好
<a class="{if !$params.sjsjb}curr {else}label-default{/if}" href="{Router::search_url($params, 'sjsjb', NULL)}">不限</a> {if $catid==1} {list action=linkage code=sjsjb pid=$params.scfg more=1} <a id="level={$key}" class="{if in_array($t.ii, $pids)}curr {else}label-default{/if}" href="{Router::search_url($params, 'sjsjb', $t.id)}">{$t.name}</a> {/list} {/if}
<a class="curr {if !$params.sjsjb}label-success{else}label-default{/if}" href="{Router::search_url($params, 'sjsjb', NULL)}">不限</a> {linkage code=sjsjb pid=0} <a id="level={$key}" class="where-item {if in_array($t.ii, $pids)}label-success{else}label-default{/if}" href="{Router::search_url($params, 'sjsjb', $t.id)}">{$t.name}</a> {/linkage}