我想把产品栏目里的 screen多筛选 搞到 首页 中调用,但不知道如何实现它们之间的联动。请大佬教一下怎么写。
{screen molds="product" orderby="orders desc" as="s"} <li> <div class="filter-s"> <label>{$s['fieldname']}</label> <a href="{$s['url']}" {if(!isset($filters[$s['field']]))}class="is-checked" {/if}><span class="filter-text">全部</span></a> {foreach $s['list'] as $ss} <a href="{$ss['url']}" {if(isset($filters[$s['field']]) && strpos(','.$filters[$s['field']].',',','.$ss['key'].',')!==false)} class="is-checked" {/if} ><span class="filter-text">{$ss['value']}</span></a> {/foreach} </div> </li> {/screen}