{extend name="$base" /} {block name="resources"} {/block} {block name="head"}{/block} {block name="main"} {php} $launch_info_data = api('NsBargain.Bargain.bargainDetail', ['launch_id' =>$launch_id]); {/php} {if $launch_info_data['code'] == 0} {php} $partake_info = api('NsBargain.Bargain.bargainConfig'); $partake_info = $partake_info["data"]; $launch_info = $launch_info_data['data']['launch_info']; $user_info = $launch_info_data['data']['user_info']; $partake_list = $launch_info_data['data']['partake_list']; $is_self = $launch_info_data['data']['is_self']; $is_max_partake = $launch_info_data['data']['is_max_partake']; $goods_info = $launch_info_data['data']['goods_info']; $bargain_goods_info = $launch_info_data['data']['bargain_goods_info']; {/php}
首页
{if condition="$user_info.user_headimg"} {else} {/if}
{$user_info.user_name}
{$partake_info.propaganda}
{$goods_info['goods_name']} 最低可砍至 {$launch_info['bargain_min_money']}元
￥{$goods_info['price']} {$bargain_goods_info['sales'] + $bargain_goods_info['fictitious_sales']}人已参与
{if condition="$launch_info['status'] == 1"}

### 已砍{$launch_info.bargain_money}元，还差{$launch_info['surplus']}元

{if condition="$is_self eq 1"}
{else/} {if condition = "$is_max_partake eq 1"} 我也要免费拿 {else /} 帮他砍一刀 {/if} {/if} {/if} {if condition="$launch_info['status'] == 1"}

### 还剩00:00:00结束，快来砍价吧~

{elseif condition="$launch_info['status'] == 2"}

### 砍价已结束

{else}

### 砍价已取消

{/if}

### 砍价帮

{foreach name="partake_list" id="v"}
- {if condition="$v.user_info.user_headimg"} {else} {/if}

  {$v.user_info.nick_name}
  {$v.remark}

  砍掉{$v.bargain_money}元
{/foreach}

{if condition = "$is_self == 1"}

#### 已砍{$launch_info.bargain_money}元，点击右上角发送给好友

{/if} {else/}
{/if} {/block} {block name="footer"}{/block} {block name="script"}
{/block}