<@page id ="product"/>
<#assign proCat = query("select id,name,img,summary from wcm_cms_product_cat where sid = ${website.id} and pid is null and is_show = 1 order by orderno,id desc")>
<#assign procat720 = ""/>
<#list proCat as proc>
<#assign proCatImg = query("select field1,field2,field3 from wcm_common_universal_data where table_id = 2145 and data_id = ${proc.id} limit 0,1")>
-
<#list proCatImg as procimg>
<#if procimg.field3??>
<#assign procat720 = procimg.field3/>
#if>

#list>
${proc.name!''}
#list>
<#list proCat as proc>
<#if proc_index == 0>
<#assign proList = query("select id,model_name,img,summary,link720 from wcm_cms_product where sid = ${website.id} and is_show = 1 and cat_id = ${proc.id!''} order by orderno,id desc limit 0,4")>
<#if procat720?? && procat720!=''>
<#else>
${proc.name!''}
${proc.summary!''}
相识更多
#if>
<#list proList as pro>
-
#list>
-
#if>
#list>