<{require file="product/goodspics.html"}> | target="_blank_cart"<{elseif $goods.setting.buytarget==0}> target="_blank"<{/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}><{$goods.weight}><{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}> <{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 $goods.mktprice && $goods.setting.mktprice}> <{t}>市场价：<{/t}><{$goods.mktprice|cur}> <{/if}> <{t}>销售价：<{/t}> <{if $goods.minprice && $goods.maxprice}> <{$goods.minprice|cur}>-<{$goods.maxprice|cur}> <{else}> <{$goods.price|cur}> <{/if}> <{if $goods.mktprice > $goods.price && $goods.setting.mktprice && $goods.setting.saveprice > 0}> <{if $goods.setting.saveprice == 1}>节省：<{$goods.mktprice-$goods.price|cur}> <{elseif $goods.setting.saveprice == 2}>优惠：<{$goods.price/$goods.mktprice*100|number:'2'}>% <{elseif $goods.setting.saveprice == 3}><{$goods.price/$goods.mktprice*10|number:'1'}>折 <{/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.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}>： <{$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}>
购买数量： |  | style='display:none;'<{/if}>> (库存<{if $goods.store >= 9999 || $goods.store == null}>9999+<{else}><{$goods.store}><{/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==0}> target="_blank"<{/if}> class="addtocart" rel="nofollow"><{img src="statics/icons/btn_adj_buy.gif" alt="您可以单把独这个商品加入购物车"}>
<{/foreach}>

<{/foreach}> 配件总价:
<{/if}>

- 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 $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}> " 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}>;padding:0;margin:0 auto;'>
###### " 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}>
<{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:6:'***'}> | <{$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'}>

## <{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 $askshow == "on"}> *<{t}>验证码：<{/t}> | <{input type="text" required="true" size="4" maxlength="4" name="askverifyCode"}> " border="1" id="askimgVerifyCode"/><{t}> 看不清楚?换个图片<{/t}>
<{/if}>

<{/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'}> " arg1="ask"><{t}>回复此评论<{/t}>
<{$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}>

*<{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 $discussshow == "on"}>
*<{t}>验证码：<{/t}> | <{input type="text" required="true" size="4" maxlength="4" name="discussverifyCode"}> " border="1" id="discussimgVerifyCode"/><{t}> 看不清楚?换个图片<{/t}>
<{/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.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}>
<{if $goods.FlatSpec || $goods.SelSpec }>
<{/if}> <{if $goods.adjunct && count($goods.adjunct)>0}>
<{/if}>