{extend name="$base" /} {block name="resources"} {/block} {block name="main"} {php} $combo_package = api("NsCombopackage.ComboPackage.comboPackageGoodsQuery",["goods_id"=>$goods_id]); $combo_package = $combo_package['data']; {/php} {notempty name="$combo_package"}
{foreach name="$combo_package" item="vo" key="k"}
{$vo.combo_package_name} {:lang("package_price")}：{$vo.combo_package_price}

{$vo.main_goods.goods_name}

￥{$vo.main_goods.price}
{if condition="$vo['main_goods'] && count($vo['main_goods']['sku_list']) > 1"} {if condition = "$vo['main_goods']['sku_info']"}

{else/}

{/if} 已选规格：{$vo['main_goods']['sku_info']['sku_name']}

{/if}
{if condition = "$vo['main_goods']['sku_info']"} {else/} {/if}
{foreach name="$vo['goods_array']" item="to"}

{$to.goods_name}

￥{$to.price}
{if condition="count($to['sku_list']) > 1"} {if condition = "$to['sku_info']"}

{else/}

{/if} 已选规格：{$to['sku_info']['sku_name']}

{/if}
{if condition = "$to['sku_info']"} {else/} {/if}
{/foreach}
{/foreach}
￥0.00
{:lang('goods_stock')}0{if condition ="empty($goods_detail['goods_unit'])"}{:lang('goods_piece')}{else/}{$goods_detail['goods_unit']}{/if}
请选择：-

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