<{if $setting.buytarget == '2' }> <{assign var='buytarget' value='_blank_cart'}> <{elseif $setting.buytarget == '3'}> <{assign var='buytarget' value='_dialog_minicart'}> <{/if}> target="<{$buytarget}>"<{/if}>>
<{include file='site/product/info/pic.html'}>

<{t}>赠品编号<{/t}>： | <{$gift.bn}>
<{t}>货号<{/t}>： | <{$gift.product.bn}> | <{t}>销售价<{/t}>： | <{$gift.product.price|cur_odr}>
<{t}>兑换开始时间<{/t}>： | <{$gift.from_time|cdate:SDATE_STIME}> | <{t}>兑换结束时间<{/t}>： | <{$gift.to_time|cdate:SDATE_STIME}>
<{t}>兑换所需积分<{/t}>： | <{$gift.consume_score}> | <{t}>限兑数量<{/t}>： | <{$gift.max_buy_store}><{$gift.goods.unit}>
<{t}>可兑换的会员<{/t}>： | <{$member_lv}>

<{if $gift.spec.goods}>

<{foreach from=$gift.spec.goods key=key item=spec}>
- <{$gift.spec.specification.spec_name.$key}>：
  <{foreach from=$spec key=item_key item=item}> <{if $item_key == $gift.spec.product.$key || $item.product_id}>
  - <{if $item_key==$gift.spec.product.$key}> <{elseif $item.product_id}> <{/if}> <{if $gift.spec.specification.spec_type.$key == 'image'}> <{else}> <{$item.spec_value}> <{/if}>
  <{/if}> <{/foreach}>
<{/foreach}>

<{/if}> <{if $gift.permission == 'true'}>

- <{t}>数量<{/t}>： -+ <{$gift.goods.unit}>
- <{button type="submit" class="btn-major btn-huge action-addtocart" label="兑换赠品" rel="_request"}>

<{/if}>
<{$gift.permissionMsg}>