{if $setting.columNum >1}>
<{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=key1}>
<{/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.goods item=goods_data key=key name=goodslist}>
<{capture name=goodsImg}>
<{if $setting.showGoodsImg=="on"}><{/if}>
<{/capture}>
<{capture name=goodsName}>
<{if $setting.showGoodsName=="on"}>
<{/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}>
<{math equation="countResult" countResult=$aCount format="%.0f"}>
<{$setting.countSep|default:':'}>
<{/if}>
<{if $setting.showBuyArea=="on"}>
<{/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.link}>
<{/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}>