{extend name="$goods_detail_base" /} {block name="goods_data"} {/block} {block name="goods_promotion"}
¥ {$goods_detail.price} {$goods_detail['sales']}{if condition ="empty($goods_detail['goods_unit'])"}{:lang('goods_piece')}{else/}{$goods_detail['goods_unit']}{/if}已售
{:lang('distance_ends')}
00: 00: 00. 00
{/block} {block name="goods_price"}
{assign name="show_price" value="$goods_detail.price"} {if condition="$goods_detail.market_price > $show_price"}
市场价: ¥{$goods_detail.market_price}
{/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}
{:lang('goods_start_bargain')}
{else/}
{:lang('goods_laid_off')}
{/if} {/block} {block name="goods_current_info"}
¥{$goods_detail['price']}
{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"} {if condition="$bargain_id && $goods_detail['promotion_detail'] && $goods_detail['promotion_detail']['bargain']"} {if condition="$goods_detail.is_virtual == 1"}
{else/} {php} $address_list = api('System.Member.memberAddressList'); $address_list = $address_list['data']; $pickup_list = api("System.Shop.pickupPointList"); $pickup_list= $pickup_list['data']; {/php}

{notempty name="$address_list['data']"} {foreach name="$address_list['data']" item="vo" key="k"}
- {:lang('member_consignee')}：{$vo['consigner']} {$vo['mobile']}
  {:lang('member_delivery_address')}：{$vo.address_info}-{$vo.address}
{/foreach} {/notempty}
- {:lang('member_new_delivery_address')}

{if condition="$pickup_list['total_count']>0"} {foreach name="$pickup_list['data']" item="vo"}
- 自提点：{$vo['name']}
  提货地址：{$vo.province_name} {$vo.city_name} {$vo.district_name} {$vo.address}
{/foreach} {else/}
- 商家未配置自提地址
{/if}

{/if} {/if} {/block}