{extend name="default/base/base_home" /} {block name="mall_main"}

# {$prodinfo.pgoods_name}

## {$Think.lang.pointprod_pointsname}

{$Think.lang.original_price_space|raw}
  {$Think.lang.currency}{$prodinfo.pgoods_price}

{$Think.lang.points_required}
  {$prodinfo.pgoods_points}{$Think.lang.points_unit} {if $prodinfo.pgoods_limitmgrade} {$prodinfo.pgoods_limitgradename}{$Think.lang.exclusive} {/if}

{if $prodinfo.pgoods_islimittime == 1}

{$Think.lang.pointprod_info_goods_limittime}{$Think.lang.ds_colon}
  {:date('Y-m-d H:i:s',$prodinfo.pgoods_starttime)} {$Think.lang.pointprod_info_goods_limittime_to} {:date('Y-m-d H:i:s',$prodinfo.pgoods_endtime)}

{if $prodinfo.ex_state == 'going'}

  {$Think.lang.pointprod_info_goods_lasttime} {$prodinfo.timediff.diff_day} {$Think.lang.pointprod_info_goods_lasttime_day} {$prodinfo.timediff.diff_hour} {$Think.lang.pointprod_info_goods_lasttime_hour} {$prodinfo.timediff.diff_mins} {$Think.lang.pointprod_info_goods_lasttime_mins} {$prodinfo.timediff.diff_secs} {$Think.lang.pointprod_info_goods_lasttime_secs}

{/if} {/if}

{$Think.lang.pointprod_info_goods_exchangenum}
  {$Think.lang.pointprod_info_goods_lastnum}{$Think.lang.ds_colon}{$prodinfo.pgoods_storage}

{if $prodinfo.pgoods_islimit == '1'}

{$Think.lang.limited_exchange}
  {$Think.lang.pointprod_info_goods_limitnum_tip1}{$prodinfo.pgoods_limitnum}{$Think.lang.pointprod_pointprod_unit}

{else /} {/if}
{if $prodinfo.ex_state == 'willbe'} {$Think.lang.pointprod_willbe} {elseif $prodinfo.ex_state == 'end'} {$Think.lang.pointprod_exchange_end} {elseif session('is_login') != '1'} {$Think.lang.pointprod_exchange} {else /} {$Think.lang.pointprod_exchange} {/if}

#### {$Think.lang.mall_provides}

{$Think.lang.pointprod_info_goods_serial}{$Think.lang.ds_colon}
  {$prodinfo.pgoods_serial}

{$Think.lang.add_time}：
  {:date('Y-m-d',$prodinfo.pgoods_addtime)}

{$Think.lang.browsing_time}：
  {$prodinfo.pgoods_view}

#### {$Think.lang.exchange_record}

{notempty name="orderprod_list"} {foreach name="orderprod_list" item="v"}
- {:str_cut($v.point_buyername,4)}***
  {$Think.lang.pointprod_info_goods_alreadyexchange}1{$Think.lang.piece}
{/foreach} {/notempty}

{:htmlspecialchars_decode($prodinfo.pgoods_body)}
{/block}