<{assign var="key" value=0}> <{section name=thumb loop=$goods.image_file max=4}> <{assign var="key" value=$key+1}> <{/section}> <{img src="statics/icons/btn_goods_gallery.gif" alt="查看商品相册"}> | # <{$goods.name}> <{if $goods.brief}> <{$goods.brief}> <{/if}> <{if $goods.bn}> <{t}>货　　号：<{/t}><{$goods.bn}> <{/if}> <{if $goods.weight && $goods.weight != 0.000 }> <{t}>商品重量：<{/t}><{$goods.weight}><{t}> 克(g)<{/t}> <{/if}> <{if $goods.brand_name}> <{t}>品　　牌：<{/t}><{$goods.brand_name}> <{/if}> <{if $goods.unit}> <{t}>计量单位：<{/t}><{$goods.unit}> <{/if}> <{if $goods.setting.score && $goods.score}> <{t}>所得积分：<{/t}><{$goods.score}><{/if}> <{if $trading.score && $trading.score <>$goods.score}> <{t}>特价积分：<{/t}><{$trading.score}> <{/if}> <{foreach from=$goods.prototype.props item=prop key=key}> <{assign var="pkey" value=p_$key}> <{assign var="pcol" value=$goods.$pkey}> <{if trim($pcol) !== ''}> <{$prop.name}>： <{if $prop.type == 'select'}> <{$prop.options[$pcol]}> <{else}> <{$pcol}> <{/if}> <{/if}> <{/foreach}> <{if $goods.mktprice && $goods.setting.mktprice}> <{t}>市场价：<{/t}><{$goods.mktprice|cur}> <{/if}> <{if count($goods.products)<1 && !$goods.adjunct}> <{t}>销售价：<{/t}> <{$goods.price|cur}> <{if $goods.mktprice > $goods.price && $goods.setting.mktprice && $goods.setting.saveprice > 0}> 折扣：<{if $goods.setting.saveprice == 1}><{$goods.mktprice-$goods.price|cur}> <{else}><{$goods.price/$goods.mktprice*100|number}>%<{/if}> <{/if}> <{/if}> <{if count($promotions)>0}> <{foreach from=$promotions item=promotion key=key}> <{$promotion.pmt_describe}><{$promotion.pmt_time_begin|userdate}> ~ <{$promotion.pmt_time_end|userdate}> <{/foreach}> <{/if}> <{if $goods.spec || $goods.adjunct && count($goods.adjunct)>0}> <{if $goods.spec}> <{foreach from=$goods.spec item=spec key=key name="goodsSpec"}>
<{$spec}>： |
<{/foreach}> <{/if}> <{if count($goods.products)>0}>
<{foreach from=$goods.spec item=spec key=key}> | <{$spec}> <{/foreach}> | <{t}>货号<{/t}> | <{t}>价格<{/t}>
--- | --- | --- | ---
<{foreach from=$goods.products item=item}>
nostore="nostore"<{/if}>> <{foreach from=$item.props.spec key=key item=value}> | <{$value}> <{/foreach}> | <{$item.bn}> | <{$item.price|cur}><{if 0&&($item.store - $item.freez<= 0)}> <{t}>缺货<{/t}><{/if}>
<{/foreach}>
<{/if}> <{if $goods.adjunct && count($goods.adjunct)>0}> <{foreach from=$goods.adjunct item=adj key="adj_key"}> <{$adj.name}><{if $adj.min_num || $adj.max_num}><{t}>可选 <{/t}><{if $adj.min_num == $adj.max_num}><{$adj.min_num}><{else}><{$adj.min_num|default:0}>-<{$adj.max_num}><{/if}><{t}> 件<{/t}><{/if}>
<{foreach from=$adj.items item=items key="key" name=adjitems}>
class="last"<{/if}>> | href="<{link ctl="product" act="index" arg0=$items.goods_id}>" target="_blank" title="<{$items.name}>"<{/if}>> <{$items.name}><{if $items.pdt_desc}>[<{$items.pdt_desc}>]<{/if}> <{if $items.price != $items.adjprice}> <{t}>原价格：<{/t}><{$items.price|cur}> <{/if}><{t}>配件价格：<{/t}><{$items.adjprice|cur}> | <{t}>数量：<{/t}><{$items.adjprice|cur}> style="display:none"<{/if}>>" <{if $goods.setting.buytarget==2}> target="_blank_cart"<{elseif $goods.setting.buytarget==0}> target="_blank"<{/if}> class="addtocart" rel="nofollow"><{img src="statics/icons/btn_adj_buy.gif" alt="您可以单把独这个商品加入购物车"}>
<{/foreach}>

<{/foreach}> <{/if}>
<{t}>总价：<{/t}>

<{/if}> target="_blank_cart"<{elseif $goods.setting.buytarget==0}> target="_blank"<{/if}>>

| <{t}>销售价：<{/t}>

- star="<{$goods.goods_id}>"<{/if}> title="<{$goods.name}>" class="star-off"> href="<{link ctl="passport" act="login"}>" <{else}>href="#" rel="nofollow" onclick="return false;" <{/if}> class="btn-fav"><{t}>收藏此商品<{/t}>

<{if count($package)>0}>
<{t}>捆绑销售<{/t}>
<{foreach from=$package item=package key=key name=packageitems}>

<{foreach from=$package.items item=items name=packagetd}> href="<{link ctl="product" act="index" arg0=$items.goods_id}>" target="_blank" title="<{$items.name}>"<{/if}>> href="<{link ctl="product" act="index" arg0=$items.goods_id}>" target="_blank" title="<{$items.name}>"<{/if}>><{$items.name}>×<{$items.pkgnum}> <{t}>价格:<{/t}><{$items.price|cur}> <{if !$smarty.foreach.packagetd.last}> | +<{/if}> <{/foreach}>

- ### <{$package.name}><{$package.intro}>

- <{t}>原价：<{/t}><{$package.mktprice|cur}>
- <{t}>捆绑价：<{/t}><{$package.price|cur}>
- <{if $package.mktprice > $package.price && $goods.setting.mktprice && $goods.setting.saveprice > 0}> 折扣： <{if $goods.setting.saveprice == 1}><{$package.mktprice-$package.price|cur}> <{else}><{$package.price/$package.mktprice*100|number}>%<{/if}><{/if}>
- "<{if $goods.setting.buytarget == 2}> target="_blank_cart"<{elseif $goods.setting.buytarget == 0}> target="_blank"<{/if}>><{img class="buy" src="statics/icons/btn_pkg_buy.gif" alt="购买"}>

<{/foreach}>
<{/if}>
<{foreach from=$addons item=tmpl}> <{require file=$tmpl}> <{/foreach}> <{if count($goods.params)>0 && $goods.params}>

## <{t}>详细参数<{/t}>

<{foreach from=$goods.params item=params key=group}>
<{$group}>
<{foreach from=$params item=value key=key}> <{if $value != ''}>
<{$key}> | <{$value|default:'-'}>
<{/if}> <{/foreach}> <{/foreach}>

<{/if}> <{if $goods.intro}>
<{$goods.intro}>
<{/if}> <{if $goods.link_count > 0}>

## <{t}>相关商品<{/t}>

<{foreach from=$goods.link item=linklist name=goods}> " style='<{if $env.thumbnail_pic_width !=0 && $env.thumbnail_pic_width !=0}> width:<{$env.thumbnail_pic_height}>px;height:<{$env.thumbnail_pic_height}>px;<{/if}> overflow:hidden;text-align:center;vertical-align: middle;margin:0px auto; line-height:<{$env.small_pic_height}>px;' >
###### " title="<{$linklist.name}>"><{$linklist.name}>
<{$linklist.price|cur}> <{$linklist.mktprice|cur}> | <{t}>查看图片<{/t}> <{assign var="dddd" value="333"}> <{goodsmenu product=$linklist setting=$setting login=$login}>
<{if !($smarty.foreach.goods.iteration%4)}>
<{if !$smarty.foreach.goods.last}>
<{/if}> <{elseif $smarty.foreach.goods.last}>
<{/if}> <{/foreach}>

<{/if}> <{if $comment.switch.ask == 'on'}>

## <{t}>购买咨询<{/t}>"><{t}>（已有<{/t}><{$comment.askCount|default:'0'}><{t}>条咨询）<{/t}>

<{if count($comment.list.ask) == 0}>
<{$comment.null_notice.ask}>
<{else}>
<{foreach from=$comment.list.ask item=comlist name=asklist}>
<{$comlist.author}> <{t}>说：<{/t}> <{$comlist.time|cdate:'SDATE_STIME'}>
<{$comlist.comment|escape:'html'}>
" arg1="ask"><{t}>回复此评论<{/t}>
<{foreach from=$comlist.items item=items}>
<{$items.author}> <{t}>回复：<{/t}> <{$items.time|cdate:'SDATE_STIME'}>
<{$items.comment}>
<{/foreach}>
<{/foreach}>
"><{t}>查看所有咨询>><{/t}>
<{/if}> ">

#### <{t}>发表咨询<{/t}>

*<{t}>咨询标题：<{/t}> | <{input type="text" class="inputstyle" required="true" size=50 name="title"}>
*<{t}>联系方式：<{/t}> | <{input type="text" class="inputstyle" required="true" size=20 name="contact"}><{t}>(可以是电话、email、qq等)<{/t}>
*<{t}>咨询内容：<{/t}> | <{input type="textarea" class="inputstyle" required="true" rows="5" name="comment" style="width:80%;"}>

<{/if}> <{if $comment.switch.discuss == 'on'}>

## <{t}>商品评论<{/t}>"><{t}>（已有<{/t}><{$comment.discussCount|default:'0'}><{t}>条评论）<{/t}>

<{if count($comment.list.discuss) == 0}>
<{$comment.null_notice.discuss}>
<{else}>
<{foreach from=$comment.list.discuss item=comlist name=discusslist}>
<{$comlist.author}> <{t}>说：<{/t}> <{$comlist.time|cdate:'SDATE_STIME'}>
<{$comlist.comment|escape:'html'}>
" arg1="ask"><{t}>回复此评论<{/t}>
<{foreach from=$comlist.items item=items}>
<{$items.author}> <{t}>回复：<{/t}> <{$items.time|cdate:'SDATE_STIME'}>
<{$items.comment}>
<{/foreach}>
<{/foreach}>
"><{t}>查看所有评论>><{/t}>
<{/if}> ">

#### <{t}>发表评论<{/t}>

*<{t}>评论标题：<{/t}> | <{input type="text" class="inputstyle" required="true" size=50 name="title"}>
*<{t}>联系方式：<{/t}> | <{input type="text" class="inputstyle" required="true" size=20 name="contact"}><{t}>(可以是电话、email、qq等)<{/t}>
*<{t}>评论内容：<{/t}> | <{input type="textarea" class="inputstyle" required="true" rows="5" name="comment" style="width:80%;"}>

<{/if}> <{if count($gift)>0}>

## <{t}>赠品<{/t}>

<{foreach from=$gift item=gift key=key}>
<{input type="checkbox" name="g[]" value=$gift.goods_id }> " title="<{$gift.name}>" style='<{if $env.thumbnail_pic_width !=0 && $env.thumbnail_pic_width !=0}> width:<{$env.thumbnail_pic_height}>px;height:<{$env.thumbnail_pic_height}>px;<{/if}> overflow:hidden;text-align:center;vertical-align: middle;margin:0px auto; line-height:<{$env.small_pic_height}>px;'>

###### " title="<{$gift.name}>"><{$gift.name}>

- <{$gift.intro}>
- <{$gift.describe}>

<{/foreach}>
<{/if}> <{if count($coupon)>0}>

## <{t}>可得优惠券<{/t}>

<{foreach from=$coupon item=coupon key=key}>
- <{$coupon.cpns_name}>
<{/foreach}>

<{/if}>