{extend name="$base" /} {block name="resources"}
{/block} {block name="seo"} {/block} {block name="goods_data"} {if condition="$goods_detail['point_exchange_type'] == 1 || ($goods_detail['point_exchange_type'] == 2 && $from == 'point')|| $goods_detail['point_exchange_type'] == 3"} {else/} {/if} {/block} {block name="goods_head"}
{/block} {block name="goods_media"}
{notempty name="$goods_detail.goods_video_address"} {/notempty}

{foreach name="$goods_detail['img_list']" item ="img" key = "k"}
{/foreach}

{notempty name="$goods_detail.goods_video_address"} {/notempty}
{/block} {block name="goods_share"}
{if condition="$whether_collection>0"} {:lang('member_cancel')}（{$goods_detail.collects}{:lang('goods_popularity')}） {else /} {:lang('goods_collection_goods')}（{$goods_detail.collects}{:lang('goods_popularity')}） {/if}
{/block} {block name="goods_title"}

# {$goods_detail.goods_name}

{notempty name="$goods_detail.introduction" }

{$goods_detail.introduction}

{/notempty} {/block} {block name="goods_promotion"}{/block} {block name="goods_price"}
{if condition="($goods_detail.point_exchange_type == 2 && $from == 'point') || $goods_detail.point_exchange_type == 3"}

积分兑换
  {$goods_detail.point_exchange} {:lang('goods_integral')}

{else /}

{notempty name="$uid"} {if condition="$goods_detail.promotion_price<$goods_detail.member_price"}
{:lang('goods_selling_price')}
{else/}
{:lang('goods_membership_price')}
{/if} {else/}
{:lang('goods_selling_price')}
{/notempty}
  ¥ {if condition="$goods_detail.promotion_price<$goods_detail.member_price"} {$goods_detail.promotion_price} {assign name="show_price" value="$goods_detail.promotion_price"} {else/} {$goods_detail.member_price} {assign name="show_price" value="$goods_detail.member_price"} {/if} {if condition="$goods_detail.point_exchange_type==1 && $goods_detail.point_exchange>0"} +{$goods_detail.point_exchange}{:lang('goods_integral')} {/if} {if condition ='!empty($goods_detail.goods_unit)'} /{$goods_detail.goods_unit} {/if} {if $show_price < $goods_detail['price']} [￥{$goods_detail['price']}] {/if}

{/if} {notempty name="$goods_detail['promotion_detail']"} {if $goods_detail['promotion_detail']['combo_package'] && count($goods_detail['promotion_detail']) eq 1} {if $goods_detail.market_price > $show_price}

市场价
  ￥{$goods_detail.market_price}

{/if} {/if} {else/} {if $goods_detail.market_price > $show_price}

市场价
  ￥{$goods_detail.market_price}

{/if} {/notempty} {/block} {block name="goods_sales_evaluation"}

- {:lang('goods_cumulative_evaluation')}

  0

- {:lang('goods_cumulative_sales')}

  {$goods_detail.sales}

{/block} {block name="goods_promotion_detail"} {notempty name="$goods_detail.goods_coupon_list"}

优惠券
  {foreach name="$goods_detail.goods_coupon_list" item="v" key="k"} {if $k < 3} {if $v.at_least > 0} 满{:rtrim(rtrim($v.at_least, '0'), '.')}减{:rtrim(rtrim($v.money, '0'), '.')} {else/} {:rtrim(rtrim($v.money, '0'), '.')}元无门槛券 {/if} {/if} {/foreach}

{/notempty} {if condition="$goods_detail.is_virtual == 0"} {if condition="$goods_detail.mansong_name neq '' || $goods_detail.baoyou_name neq ''"}

{:lang('goods_shop_activities')}
{if condition="$goods_detail.mansong_name neq ''"}
  {:lang('goods_manjian')}{$goods_detail.mansong_name}
{/if} {if condition="$goods_detail.baoyou_name neq ''"}
  {:lang('goods_free_shipping')}{$goods_detail.baoyou_name}
{/if}

{/if} {else/} {if condition="$goods_detail.mansong_name neq ''"}

{:lang('goods_shop_activities')}
  {:lang('goods_manjian')}{$goods_detail.mansong_name}

{/if} {/if}
{if condition="$goods_detail.give_point neq 0"}

{:lang('goods_gift_points')}
  {$goods_detail.give_point} {:lang('points')}

{/if} {if condition = "$goods_detail.is_open_presell != 1"} {if condition="($goods_detail.point_exchange_type == 2 && $from == 'point') || $goods_detail.point_exchange_type == 0"} {if condition ="$goods_detail['integral_balance'] > 0"}

积分抵现
  积分可抵 {$goods_detail['integral_balance']} 元

{/if} {/if} {/if} {notempty name="$goods_detail.goods_ladder_preferential_list"}

阶梯优惠
  {foreach name="$goods_detail.goods_ladder_preferential_list" item="vo"} 满{$vo.quantity}{if condition ="empty($goods_detail['goods_unit'])"}{:lang('goods_piece')}{else/}{$goods_detail['goods_unit']}{/if}，每{if condition ="empty($goods_detail['goods_unit'])"}{:lang('goods_piece')}{else/}{$goods_detail['goods_unit']}{/if}降{$vo.price}元 {/foreach}

{/notempty} {/block} {block name="goods_express"} {if condition="$goods_detail.is_virtual == 0"}

{:lang('goods_delivery_to')}
  请选择地址
  {if condition="$goods_detail['shipping_fee'] == 0"}可配送 快递：免邮{else/}快递费：￥{$goods_detail['shipping_fee']}{/if}

{/if}

服务
  由{$title}发货并提供售后服务

{/block} {block name="goods_sku"}

{foreach name="$goods_detail['spec_list']" item="spec" key="k"}

{$spec.spec_name}
  {foreach name="$spec['value']" item="spec_value" key="key"}
  - {switch name="$spec_value.spec_show_type"} {case value="1"} {$spec_value.spec_value_name} {/case} {case value="2"} {notempty name="$spec_value.spec_value_data"} {/notempty} {$spec_value.spec_value_name} {/case} {case value="3"} {notempty name="$spec_value.spec_value_data"}{/notempty}{$spec_value.spec_value_name} {/case} {/switch}
  {/foreach}

{/foreach}

{:lang('goods_number')}
  0"}{if condition="$goods_detail['min_buy']>0"}{$goods_detail['min_buy']}{else/}1{/if}{else/}0{/if}" id="buy_number" data-min-buy="{if condition='$goods_detail.min_buy !=0'}{$goods_detail.min_buy}{else/}1{/if}" data-max-buy="{if condition='$goods_detail.max_buy==0 || $goods_detail.max_buy>$goods_detail.stock' }{$goods_detail.stock}{else/}{$goods_detail.max_buy}{/if}"">
  + -
  {if condition ="empty($goods_detail['goods_unit'])"}{:lang('goods_piece')}{else/}{$goods_detail['goods_unit']}{/if} {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} {if condition="$goods_detail.max_buy!=0"} ({:lang('goods_restriction_per_person')}{$goods_detail.max_buy}{if condition ="empty($goods_detail['goods_unit'])"}{:lang('goods_piece')}{else/}{$goods_detail['goods_unit']}{/if}) {/if} {if condition="$goods_detail.goods_purchase_restriction['code'] == 0"}
  {:lang('goods_restriction_per_person')}{$goods_detail.max_buy}{if condition ="empty($goods_detail['goods_unit'])"}{:lang('goods_piece')}{else/}{$goods_detail['goods_unit']}{/if}，{:lang('goods_exceeded_the_limit_number')}
  {/if}

{/block} {block name="goods_action"}

  {if condition="$goods_detail.state == 1"}
  {if condition="$goods_detail.is_virtual == 0 && ($goods_detail.point_exchange_type == 0 || ($goods_detail.point_exchange_type == 2 && $from != 'point'))"}
  {/if} {else/}
  {/if} {if condition="$goods_detail.QRcode != ''"}
  {/if}

{/block} {block name="goods_service"} {if condition="$merchant_service_list"}

{:lang('merchant_service')}
{foreach name="$merchant_service_list" item="vo"}
  {$vo.title}
{/foreach}

{/if}
{php} $guessMemberLikes = api("System.Goods.guessMemberLikes",["page_index"=>1,"page_size"=>3]); $guessMemberLikes = $guessMemberLikes['data']; {/php}

# 看了又看

{foreach name="$guessMemberLikes['data']" item="vo" key="k"}

- {$vo.goods_name}

  ￥{$vo.price}

{/foreach}

{/block} {block name="goods_middle_left"}

### 商品精选

### 热销排行榜

{/block} {block name="goods_middle"} {if condition="$goods_detail.is_open_presell eq 0"} {notempty name="$goods_detail['promotion_detail']['combo_package']"}
{foreach name="$goods_detail['promotion_detail']['combo_package']['data']" item="vo" key="k"}
{$vo.main_goods.goods_name} {$vo.main_goods.sku_name}
￥{$vo.main_goods.sku_price}

{foreach name="$vo['goods_array']" item="to"}
- {$to.goods_name} {$to.sku_name}
  ￥{$to.sku_price}
{/foreach}

原价 ￥{$vo.original_price}

节省 ￥{$vo.save_the_price}

套餐价 ￥{$vo.combo_package_price}

{if condition="$vo['main_goods']['stock'] > 0"}
{else/}
{/if}
{/foreach}
{/notempty} {/if} {/block} {block name="goods_description"}
{$goods_detail.description}

{notempty name="$goods_detail['goods_attribute_list']"} {foreach $goods_detail.goods_attribute_list as $vo} {notempty name="$vo['attr_value_name']"}
- {$vo.attr_value}：{$vo.attr_value_name}
{/notempty} {/foreach} {/notempty}

{:lang('goods_text')}！

{:lang('goods_need_consult')}

{:lang('goods_view_all_consultation')}>>
{/block} {block name="recommend"}

- 猜你喜欢
- 浏览历史

- 猜你喜欢
- 浏览历史

{/block} {block name="script"} {foreach name="$goods_detail['sku_list']" item="sku" key="k"} {/foreach} 0"}{$goods_detail['sku_picture']}{else/}{$goods_detail['picture']}{/if}" />
{notempty name="$goods_detail.goods_video_address"}
{/notempty}
{/block}