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

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

<{/if}> <{/capture}> <{capture name=goodsLoop}> <{foreach from=$data.goods item=goods_data key=key name=goodslist}> <{capture name=goodsImg}> <{if $setting.showGoodsImg=="on"}>
" target="_blank" title="<{$goods_data.name}>"><{if $setting.goodsImgWidth}>width="<{$setting.goodsImgWidth}>"<{/if}><{if $setting.goodsImgHeight}>height="<{$setting.goodsImgHeight}>"<{/if}><{/if}> src="<{$goods_data.thumbnail_pic|default:$env.conf.site.default_thumbnail_pic|storager}>" title="<{$goods_data.name}>">
<{/if}> <{/capture}> <{capture name=goodsName}> <{if $setting.showGoodsName=="on"}>

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

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

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

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

<{goodsmenu product=$goods_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}>
<{if $setting.column!=1 &&($smarty.foreach.goodslist.iteration % $setting.column|default:4) == 0}>
<{/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}> <{if $setting.showMore == "on" && $data.link}>
更多...
<{/if}>