{extend name="$goods_detail_base" /} {block name="goods_data"} {/block} {block name="goods_promotion"} {assign name="show_price" value="$goods_detail['promotion_detail']['pintuan']['data']['tuangou_money']"}
¥{$goods_detail['promotion_detail']['pintuan']['data']['tuangou_money']}
{if $show_price < $goods_detail['price']} ¥ {$goods_detail.price} {/if} {$goods_detail['sales']}{if condition ="empty($goods_detail['goods_unit'])"}{:lang('goods_piece')}{else/}{$goods_detail['goods_unit']}{/if}已售
{$goods_detail['promotion_detail']['pintuan']['data']['tuangou_type_info']['type_name']}
{notempty name="$goods_detail['promotion_detail']['pintuan']['data']['tuangou_content_json']['colonel_content']"}

{$goods_detail['promotion_detail']['pintuan']['data']['tuangou_content_json']['colonel_content']}

{/notempty}
{/block} {block name="goods_price"}
{if condition="$goods_detail['promotion_detail'] && $goods_detail['promotion_detail']['pintuan'] && $goods_detail['promotion_detail']['pintuan']['data']['tuangou_group_count']==0"} {php} $pintuan_list = api('NsPintuan.Pintuan.pintuanList', ['page_index' => 1, 'page_size' => 0,'condition'=>"goods_id=$goods_id and status=1",'order' => 'create_time desc']); $pintuan_list = $pintuan_list['data']; {/php} {if condition="$pintuan_list['data']"}

{foreach name="$pintuan_list['data']" item="vo" key="k"}
- {if condition="$vo.group_user_head_img"} {else/} {/if}
  {$vo.group_name}
  还差{$vo.poor_num}人拼成
  剩余:00:00:00
{/foreach}

{/if}

### 参与的拼单

仅剩1个名额，00:00:00后结束

- 拼主

{/if}
{/block} {block name="goods_action"} {if condition="$goods_detail['state'] == 1"}
{:lang("home_page")} {:lang('united_states_customer_service')} {:lang('goods_cart')} {if condition="$cart_count>0"} {$cart_count} {/if}
{if condition="$goods_detail['promotion_detail']['pintuan']['data']['tuangou_group_count'] == 0"} ¥{if condition="$goods_detail.promotion_price < $goods_detail.member_price"}{$goods_detail.promotion_price}{else/}{$goods_detail.member_price}{/if}
{:lang('goods_alone_purchase')} ¥{$goods_detail['promotion_detail']['pintuan']['data']['tuangou_money']}
{:lang('goods_start_share')} {else/} ¥{$goods_detail['promotion_detail']['pintuan']['data']['tuangou_money']}
{:lang('join_together')} {/if}
{else/}
{:lang('goods_laid_off')}
{/if} {/block} {block name="goods_current_info"}
拼团价：¥{$goods_detail['promotion_detail']['pintuan']['data']['tuangou_money']}
{if condition="$goods_detail.is_stock_visible == 1"}
{:lang('goods_stock')}{$goods_detail.stock}{if condition ="empty($goods_detail['goods_unit'])"}{:lang('goods_piece')}{else/}{$goods_detail['goods_unit']}{/if}
{/if}
请选择：-
{/block} {block name="goods_promotion_bottom"} {notempty name="$goods_detail['promotion_detail']['pintuan']['data']['sku_list']"} {foreach name="$goods_detail['promotion_detail']['pintuan']['data']['sku_list']" item="vo"} {/foreach} {/notempty} {/block}