<{require file="product/goodspics.html"}> | target="_blank_cart"<{elseif $goods.setting.buytarget==3}> target="_dialog_minicart"<{/if}>> # <{$goods.name|escape:"html"}> <{if $goods.brief}> <{$goods.brief}> <{/if}> <{if $goods.bn && $goodsBnShow}> <{t}>商品编号：<{/t}><{$goods.bn}> <{/if}> <{if $goods.weight && $goods.weight != 0.000 }> <{t}>商品重量：<{/t}><{if $goods.weight}><{$goods.weight}><{else}><{$goods.weight.0.bn}><{/if}><{t}> 克(g)<{/t}> <{/if}> <{if $goods.product_bn || $goods.products.0.bn}> <{t}>货　　号：<{/t}><{if $goods.product_bn}><{$goods.product_bn}><{else}><{$goods.products.0.bn}><{/if}> <{/if}> <{if $goods.brand_name}> <{t}>品　　牌：<{/t}><{if $goodsproplink}><{$goods.brand_name}><{else}><{$goods.brand_name}><{/if}> <{/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}> <{if $goodspropposition<>2}> <{if $goods.prototype.setting.use_props eq 1}> <{foreach from=$goods.prototype.ordernum item=propord key=key}> <{if $goods.prototype.props.$propord.show}> <{assign var="pkey" value="p_{$propord}"}> <{assign var="pcol" value=$goods.$pkey}> <{if trim($pcol) !== ''}> <{$goods.prototype.props.$propord.name}>： <{if $goods.prototype.props.$propord.type == 'select'}> <{if $goodsproplink}><{$goods.prototype.props.$propord.options.$pcol}><{else}><{$goods.prototype.props.$propord.options.$pcol}><{/if}> <{else}> <{$pcol}> <{/if}> <{/if}> <{/if}> <{/foreach}> <{/if}> <{/if}> <{if $goods.setting.mktprice}> <{t}>市场价：<{/t}> <{if $goods.minmktprice && $goods.maxmktprice}> <{if $goods.minmktprice neq $goods.maxmktprice}> <{$goods.minmktprice|cur}>-<{$goods.maxmktprice|cur}> <{else}> <{$goods.minmktprice|cur}> <{/if}> <{else}> <{$goods.mktprice|cur}> <{/if}> <{/if}> <{t}>销售价：<{/t}> <{if $goods.minprice && $goods.maxprice}> <{if $goods.minprice neq $goods.maxprice}> <{$goods.minprice|cur}>-<{$goods.maxprice|cur}> <{else}> <{$goods.minprice|cur}> <{/if}> <{else}> <{$goods.price|cur}> <{/if}> <{if $goods.mktprice > $goods.price && $goods.setting.mktprice && $goods.setting.saveprice > 0}> <{if $goods.setting.saveprice == 1}>节省： <{if $goods.minprice && $goods.maxprice}> <{if $goods.minprice neq $goods.maxprice}> <{$goods.jiesheng_min|cur}>-<{$goods.jiesheng_max|cur}> <{else}> <{$goods.jiesheng_min|cur}> <{/if}> <{else}> <{$goods.mktprice-$goods.price|cur}> <{/if}> <{elseif $goods.setting.saveprice == 2}>优惠： <{if $goods.youhui_min && $goods.youhui_max}> <{if $goods.youhui_min neq $goods.youhui_max}> <{$goods.youhui_min|number:'2'}>%-<{$goods.youhui_max|number:'2'}>% <{else}> <{$goods.price/$goods.mktprice*100|number:'2'}>% <{/if}> <{else}> <{$goods.price/$goods.mktprice*100|number:'2'}>% <{/if}> <{elseif $goods.setting.saveprice == 3}> <{$goods.price_qujian}> 折 <{/if}> <{/if}> <{if $mLevel}> style="display:none" <{/if}>> <{t}>会员价:<{/t}> <{foreach from=$mLevel item=lItem name=mlv}> <{t}><{$lItem.name}>:<{/t}> <{$goods.mprice[$lItem.member_lv_id]|cur}> <{/foreach}> <{/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.marketable == 'false' }> 此商品已下架 star="<{$goods.goods_id}>"<{/if}> class="star-off" title=<{$goods.name|escape:"html"}>> <{if $login=="nologin"}> " class="btn-fav"><{t}>收藏此商品<{/t}> <{else}> <{t}>收藏此商品<{/t}> <{/if}> <{else}> <{if $goods.FlatSpec || $goods.SelSpec }>
#### <{if $SelectSpecValue.selected}> 您选择了： <{else}> 请选择： <{/if}> <{$SelectSpecValue.value}> | 规格列表»»
<{if $goods.FlatSpec}> <{foreach from=$goods.FlatSpec key=key item=goodsFlatSpecDesc}>
<{$goodsFlatSpecDesc.name}>： | <{foreach from=$goods.FlatSpec[$key].value key=skey item="subDesc"}> <{if $subDesc.display=="block"}> <{if $subDesc.spec_type=='text'}> <{$subDesc.spec_value}> <{else}> <{/if}> <{/if}> <{/foreach}>
<{/foreach}> <{/if}> <{if $goods.SelSpec}> <{foreach from=$goods.SelSpec key=selKey item=goodsSelSpecDesc}> <{foreach from=$goods.SelSpec[$selKey].value key=sSelKey item="subDesc"}> <{if $subDesc.selected}> <{assign var='selectValue' value=$subDesc.spec_value}> <{/if}> <{/foreach}> <{$goodsSelSpecDesc.name}>： <{if $selectValue|trim == ''}><{assign var=selectValue value=null}><{/if}><{$selectValue|default:'请选择'}> <{assign var="selectValue" value=' '}> <{/foreach}> <{foreach from=$goods.SelSpec key=selKey item=goodsSelSpecDesc}> <{foreach from=$goods.SelSpec[$selKey].value key=sSelKey item="subDesc"}> <{if $subDesc.display=="block"}> <{if $subDesc.spec_type=='text'}> <{$subDesc.spec_value}> <{else}> <{/if}> <{/if}> <{/foreach}> <{/foreach}> <{/if}> <{/if}>
<{t}>购买数量：<{/t}> |  | style='display:none;'<{/if}>><{t}> (库存<{/t}><{if $goods.store >= 9999 || $goods.store == null || $goods.store === ''}>9999+<{else}><{$goods.store - $goods.product_freez}><{/if}>)
<{if count($goods.products)>0}> <{if $env.conf.system.goods.fastbuy}> <{/if}> <{else}> <{if $goods.store-$goods.freez>0 || $goods.store==''}> <{if $env.conf.system.goods.fastbuy}> <{/if}> <{else}> <{/if}> <{/if}> star="<{$goods.goods_id}>"<{/if}> class="star-off" title=<{$goods.name|escape:"html"}>> <{if $login=="nologin"}> " class="btn-fav"><{t}>收藏此商品<{/t}> <{else}> <{t}>收藏此商品<{/t}> <{/if}> app hook <{/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}> style="display:none"<{/if}>>" <{if $goods.setting.buytarget==2}> target="_blank_cart"<{elseif $goods.setting.buytarget==3}> target="_dialog_minicart"<{/if}> class="addtocart" rel="nofollow"><{img src="statics/icons/btn_adj_buy.gif" alt="您可以单把独这个商品加入购物车"}>
<{/foreach}>

<{/foreach}> <{t}>配件总价:<{/t}>
<{/if}> <{if $env.conf.system.goods.fastbuy}> <{/if}> <{if count($goods.products)>0}>

<{foreach from=$specShowItems item=spec}> <{/foreach}>
<{foreach from=$specShowItems item=spec key=key}> <{$spec}> <{/foreach}> | 货号 | 价格 <{if $env.conf.site.show_storage=="true"}> | 库存<{/if}>
--- | --- | --- | ---
<{foreach from=$goods.products item=item}>
class='nostore' title='此货品缺货'<{/if}>> <{foreach from=$item.props.spec key=key item=value}> <{$value}> <{/foreach}> | <{$item.bn}> | <{$item.price|cur}> <{if $env.conf.site.show_storage=="true"}> | <{if $item.store!==null && $item.store !=='' && ($item.store - $item.freez <= 0)}>缺货<{else}><{$item.store}><{/if}><{/if}>
<{/foreach}>

<{/if}>
<{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}> <{if $package.intro}> <{$package.intro}> <{/if}>

- <{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}> <{elseif $goods.setting.saveprice == 2}>优惠：<{$package.price/$package.mktprice*100|number:'2'}>%<{elseif $goods.setting.saveprice == 3}><{$package.price/$package.mktprice*10|number:'3'}>折<{/if}><{/if}>
- "<{if $goods.setting.buytarget == 2}> target="_blank_cart"<{elseif $goods.setting.buytarget == 3}> target="_dialog_minicart"<{/if}>><{img class="buy" src="statics/icons/btn_pkg_buy.gif" alt="购买"}>

<{/foreach}>
<{/if}>
<{foreach from=$addons item=tmpl}> <{require file=$tmpl}> <{/foreach}> <{if $goods.intro}>
<{if $goodspropposition<>1}> <{foreach from=$goods.prototype.ordernum item=propord key=key}> <{if $goods.prototype.props.$propord.show}> <{assign var="pkey" value="p_{$propord}"}> <{assign var="pcol" value=$goods.$pkey}> <{if trim($pcol) !== ''}>
<{$goods.prototype.props.$propord.name}>： <{if $goods.prototype.props.$propord.type == 'select'}> <{if $goodsproplink}><{$goods.prototype.props.$propord.options.$pcol}><{else}><{$goods.prototype.props.$propord.options.$pcol}><{/if}> <{else}> <{$pcol}> <{/if}>
<{/if}> <{/if}> <{/foreach}> <{/if}>
<{$goods.intro}>
<{/if}> <{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.link_count > 0}>

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

<{foreach from=$goods.link item=linklist name=goods}>
###### " title="<{$linklist.name}>"><{$linklist.name}>
<{$linklist.price|cur}>
<{if $goods.setting.mktprice}> <{$linklist.mktprice|cur}> <{/if}> | <{t}>查看图片<{/t}> <{assign var="dddd" value="333"}> <{goodsmenu product=$linklist setting=$setting login=$login}> <{t}>商品对比<{/t}>
<{if !($smarty.foreach.goods.iteration%4)}>
<{if !$smarty.foreach.goods.last}>
<{/if}> <{elseif $smarty.foreach.goods.last}>
<{/if}> <{/foreach}>

<{/if}> <{if $sellLog.display.switch && $sellLogList.data|@count >0 && $sellLog.display.limit<= $sellLogList.data|@count }>
<{t}>销售记录<{/t}>

<{t}>买家<{/t}> | <{t}>购买价<{/t}> | <{t}>购买数量<{/t}> | <{t}>购买时间<{/t}>
--- | --- | --- | ---
<{foreach from=$sellLogList.data item=sellLogListData key=key}>
<{$sellLogListData.name|cut:3:''}>*** | <{$sellLogListData.price}> | <{$sellLogListData.number}> <{if $sellLogListData.pdt_desc}>( <{$sellLogListData.pdt_desc}> )<{/if}> | <{$sellLogListData.createtime|userdate}>
<{/foreach}>

<{t}>截至今日， 累计成交<{/t}><{$sellLogList.total}><{t}>笔<{/t}><{if $sellLogList.total > $sellLogList.data|@count}><{t}>，查看更多...<{/t}><{/if}>
<{/if}> <{if $comment.switch.ask == 'on' or $comment.switch.discuss == 'on'}>
<{/if}> <{if $comment.switch.ask == 'on'}> <{if $comment.power.ask !='null' && $comment.member_lv < 0}>
<{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'}>
<{foreach from=$comlist.items item=items}>
回答
<{$items.author}><{t}><{/t}> 回复： <{$items.time|cdate:'SDATE_STIME'}>
<{$items.comment}>
<{/foreach}>
<{/foreach}>
"><{t}>查看所有咨询>><{/t}>
<{/if}>
<{t}><{/t}>
<{else}>
<{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'}>
<{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 blur" required="true" size=50 name="title" value="[咨询]".$goods.name }>

*<{t}>咨询内容：<{/t}> | <{input type="textarea" class="inputstyle" vtype="required" rows="5" name="comment" style="width:80%;"}>
<{t}>联系方式：<{/t}> | <{input type="text" class="inputstyle" size=20 name="contact"}><{t}>(可以是电话、email、qq等)<{/t}>
<{if $askshow == "on"}> | *<{t}>验证码：<{/t}> | <{input type="text" required="true" size="4" maxlength="4" name="askverifyCode"}> " border="1" id="askimgVerifyCode"/><{t}> 看不清楚?换个图片<{/t}> <{/if}>

<{/if}> <{/if}> <{if $comment.switch.discuss == 'on'}> <{if $comment.power.discuss !='null' && $comment.member_lv < 0}>
<{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}><{/t}> <{$comlist.time|cdate:'SDATE_STIME'}>
<{$comlist.comment|escape:'html'}>
<{foreach from=$comlist.items item=items}>
回复
<{$items.author}><{t}> 回复：<{/t}> <{$items.time|cdate:'SDATE_STIME'}>
<{$items.comment}>
<{/foreach}>
<{/foreach}>
"><{t}>查看所有评论>><{/t}>
<{/if}>
<{t}><{/t}>
<{else}>
<{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}><{/t}> <{$comlist.time|cdate:'SDATE_STIME'}>
<{$comlist.comment|escape:'html'}>
<{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 blur" required="true" size=50 name="title" value="[评论]".$goods.name}>

*<{t}>评论内容：<{/t}> | <{input type="textarea" class="x-input inputstyle" vtype="required" rows="5" name="comment" style="width:80%;"}>
<{t}>联系方式：<{/t}> | <{input type="text" class="inputstyle" size=20 name="contact"}><{t}>(可以是电话、email、qq等).<{/t}>
<{if $discussshow == "on"}>
*<{t}>验证码：<{/t}> | <{input type="text" required="true" size="4" maxlength="4" name="discussverifyCode"}> " border="1" id="discussimgVerifyCode"/><{t}> 看不清楚?换个图片<{/t}>
<{/if}>

<{/if}> <{/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.conf.site.thumbnail_pic_width !=0 && $env.conf.site.thumbnail_pic_width !=0}> width:<{$env.conf.site.thumbnail_pic_height}>px;height:<{$env.conf.site.thumbnail_pic_height}>px;<{/if}> overflow:hidden;text-align:center;vertical-align: middle;margin:0px auto; line-height:<{$env.conf.site.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}>
<{if $goods.marketable != 'false' }>
<{if ($goods.FlatSpec || $goods.SelSpec) && count($goods.products)>0 }>
<{elseif $goods.store==='0'}>
<{else}>
<{/if}> <{/if}> <{if $goods.adjunct && count($goods.adjunct)>0}>
<{/if}>