<{if $setting.columNum >1}> <{capture name=titleImg}>
<{/capture}> <{capture name=goodsCat}> <{if $setting.showTitle=="on"}>

#### <{$setting.titleDesc}>

<{/if}> <{/capture}>
<{foreach from=$data item=titleDate key=key1}> <{if $key1 == $setting.onSelect }>
onClick<{/if}><{if $setting.changeEffect==2}>onMouseOver<{/if}> ="ef_<{$widgets_id}>.changeTableing(<{$key1}>)"><{$setting.explain.$key1}>
<{else}>
onClick<{/if}><{if $setting.changeEffect==2}>onMouseOver<{/if}> ="ef_<{$widgets_id}>.changeTableing(<{$key1}>,'<{$widgets_id}>_more<{$key1}>')"><{$setting.explain.$key1}>
<{/if}> <{/foreach}>
<{capture name=goodsLoop}> <{foreach from=$data item=data key=key1}>
style="display:none"<{else}><{/if}> > <{foreach from=$data item=sData key=key name=goodslist}> <{capture name=goodsImg}> <{if $setting.showGoodsImg=="on"}>
" target="_blank" title="<{$sData.name}>"> <{if $setting.goodsImgWidth}>width="<{$setting.goodsImgWidth}>"<{/if}> <{if $setting.goodsImgHeight}>height="<{$setting.goodsImgHeight}>"<{/if}><{/if}> alt="<{$sData.name}>">
<{/if}> <{/capture}> <{capture name=goodsName}> <{if $setting.showGoodsName=="on"}>

###### " target="_blank" title="<{$sData.name}>"><{$sData.name|cut:$setting.max_length}>

<{/if}> <{/capture}> <{capture name=goodsDesc}> <{if $setting.showGoodsDesc=="on"}>

<{assign var="savePC" value=$sData.mktprice-$sData.price}> <{if $setting.showGoodsMktPrice=="on"}>
- <{$setting.mktPriceText|default:'市场价'}><{$setting.mktPriceSep|default:':'}><{$sData.mktprice|cur}>
<{/if}> <{if $setting.showGoodsPrice=="on"}>
- <{$setting.priceText|default:'销售价'}><{$setting.priceSep|default:':'}><{$sData.price|cur}>
<{/if}> <{if $savePC>0 && $setting.showGoodsSave=="on"}>
- <{$setting.saveText|default:'节省'}><{$setting.saveSep|default:':'}><{$savePC|cur}>
<{/if}> <{if $setting.showGoodsInfo=="on" && $sData.brief}>
- 简介：<{$sData.brief}>
<{/if}> <{if $setting.showCount=="on"}>
- <{$setting.countText|default:'折扣'}><{assign var ="aCount" value=$sData.price/$sData.mktprice*100}> <{math equation="countResult" countResult=$aCount format="%.0f"}> <{$setting.countSep|default:':'}>
<{/if}>

<{if $setting.showBuyArea=="on"}>

<{goodsmenu product=$sData}>

<{/if}> <{/if}> <{/capture}>
%;">
<{if $setting.showGoodsImg=="off"}> <{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}> <{elseif $setting.showGoodsName=="off" && $setting.showGoodsDesc=="off"}> <{$smarty.capture.goodsImg}> <{elseif $setting.goodsImgPosition=="top"}> <{$smarty.capture.goodsImg}> <{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}> <{elseif $setting.goodsImgPosition=="center"}> <{$smarty.capture.goodsName}> <{$smarty.capture.goodsImg}> <{$smarty.capture.goodsDesc}> <{elseif $setting.goodsImgPosition=="bottom"}> <{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}> <{$smarty.capture.goodsImg}> <{elseif $setting.goodsImgPosition=="left"}>

<{$smarty.capture.goodsImg}> | <{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}>

<{elseif $setting.goodsImgPosition=="right"}>

<{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}> | <{$smarty.capture.goodsImg}>

<{/if}>
<{if $setting.column!=1 &&($smarty.foreach.goodslist.iteration % $setting.column|default:4) == 0}>
<{/if}> <{/foreach}>
<{if $setting.showMore == "on"}> 更多...<{/if}>
<{/foreach}> <{/capture}>
<{if $setting.showTitleImg=="off"}>
<{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}>
<{elseif $setting.titleImgPosition=="top"}> <{$smarty.capture.titleImg}>
<{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}>
<{elseif $setting.titleImgPosition=="center"}> <{$smarty.capture.goodsCat}> <{$smarty.capture.titleImg}>
<{$smarty.capture.goodsLoop}>
<{elseif $setting.titleImgPosition=="bottom"}>
<{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}>
<{$smarty.capture.titleImg}> <{elseif $setting.titleImgPosition=="left"}>

<{$smarty.capture.titleImg}> | <{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}>

<{elseif $setting.titleImgPosition=="right"}>

<{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}> | <{$smarty.capture.titleImg}>

<{/if}>
<{else}> <{capture name=titleImg}>
<{/capture}> <{capture name=goodsCat}> <{if $setting.showTitle=="on"}>

#### <{$setting.titleDesc}>

<{/if}> <{/capture}> <{capture name=goodsLoop}> <{foreach from=$data item=data key=key name=goodslist}> <{capture name=goodsImg}> <{if $setting.showGoodsImg=="on"}>
" target="_blank" title="<{$data.name}>"><{if $setting.goodsImgWidth}>width="<{$setting.goodsImgWidth}>"<{/if}> <{if $setting.goodsImgHeight}>height="<{$setting.goodsImgHeight}>"<{/if}><{/if}> alt="<{$data.name}>">
<{/if}> <{/capture}> <{capture name=goodsName}> <{if $setting.showGoodsName=="on"}>

###### " target="_blank" title="<{$data.name}>"><{$data.name|cut:$setting.max_length}>

<{/if}> <{/capture}> <{capture name=goodsDesc}> <{if $setting.showGoodsDesc=="on"}>

<{assign var="savePC" value=$data.mktprice-$data.price}> <{if $setting.showGoodsMktPrice=="on"}>
- <{$setting.mktPriceText|default:'市场价'}><{$setting.mktPriceSep|default:':'}><{$data.mktprice|cur}>
<{/if}> <{if $setting.showGoodsPrice=="on"}>
- <{$setting.priceText|default:'销售价'}><{$setting.priceSep|default:':'}><{$data.price|cur}>
<{/if}> <{if $savePC>0 && $setting.showGoodsSave=="on"}>
- <{$setting.saveText|default:'节省'}><{$setting.saveSep|default:':'}><{$savePC|cur}>
<{/if}> <{if $setting.showGoodsInfo=="on" && $data.brief}>
- 简介：<{$data.brief}>
<{/if}> <{if $setting.showCount=="on"}>
- <{$setting.countText|default:'折扣'}><{assign var ="aCount" value=$data.price/$data.mktprice*100}> <{math equation="countResult" countResult=$aCount format="%.0f"}> <{$setting.countSep|default:':'}>
<{/if}>

<{if $setting.showBuyArea=="on"}>

<{goodsmenu product=$data}>

<{/if}> <{/if}> <{/capture}>
%;">
<{if $setting.showGoodsImg=="off"}> <{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}> <{elseif $setting.showGoodsName=="off" && $setting.showGoodsDesc=="off"}> <{$smarty.capture.goodsImg}> <{elseif $setting.goodsImgPosition=="top"}> <{$smarty.capture.goodsImg}> <{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}> <{elseif $setting.goodsImgPosition=="center"}> <{$smarty.capture.goodsName}> <{$smarty.capture.goodsImg}> <{$smarty.capture.goodsDesc}> <{elseif $setting.goodsImgPosition=="bottom"}> <{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}> <{$smarty.capture.goodsImg}> <{elseif $setting.goodsImgPosition=="left"}>

<{$smarty.capture.goodsImg}> | <{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}>

<{elseif $setting.goodsImgPosition=="right"}>

<{$smarty.capture.goodsName}> <{$smarty.capture.goodsDesc}> | <{$smarty.capture.goodsImg}>

<{/if}>
<{/foreach}>
<{if $setting.showMore == "on" && $data}>
更多...
<{/if}> <{/capture}>
<{if $setting.showTitleImg=="off"}>
<{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}>
<{elseif $setting.titleImgPosition=="top"}> <{$smarty.capture.titleImg}>
<{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}>
<{elseif $setting.titleImgPosition=="center"}> <{$smarty.capture.goodsCat}> <{$smarty.capture.titleImg}>
<{$smarty.capture.goodsLoop}>
<{elseif $setting.titleImgPosition=="bottom"}>
<{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}>
<{$smarty.capture.titleImg}> <{elseif $setting.titleImgPosition=="left"}>

<{$smarty.capture.titleImg}> | <{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}>

<{elseif $setting.titleImgPosition=="right"}>

<{$smarty.capture.goodsCat}> <{$smarty.capture.goodsLoop}> | <{$smarty.capture.titleImg}>

<{/if}>
<{/if}>