{if(!empty($arr_menu["tj"]))} {if($shopinfo['shop_mode']==1)}
{foreach($arr_menu["tj"] as $menu)}
- {$menu['menu_title']}{if(!empty($menu['attribute']))}{$menu['attribute']}{/if}{fun_kj::get_price($menu['menu_price'])}(已售{if(isset($arr_menu['abount_sold']['id_'.$menu['menu_id']]))}$arr_menu['abount_sold']['id_'.$menu['menu_id']]{else}{$menu['menu_sold']}{/if}份)
{/foreach}
{else}

{foreach($arr_menu["tj"] as $menu)}

- {if(!empty($menu['attribute']))}{$menu['attribute']}{/if}

  {$menu['menu_title']}

  {fun_kj::get_price($menu['menu_price'])}

  已售{if(isset($arr_menu['abount_sold']['id_'.$menu['menu_id']]))}$arr_menu['abount_sold']['id_'.$menu['menu_id']]{else}{$menu['menu_sold']}{/if}份 {if(isset($arr_menu['abount_menu']['id_'.$menu['menu_id']]))} 多规格 {else} {/if}

{/foreach}

{/if} {/foreach} {foreach($arr_menu["list"] as $item)}
- {if(!empty($item["name"]))}{$item["name"]}{else}未分组{/if}
{if($shopinfo['shop_mode']!=2 && $item['mode']!=2)}
{foreach($item['list'] as $menu)}
- {$menu['menu_title']}{if(!empty($menu['attribute']))}{$menu['attribute']}{/if}{fun_kj::get_price($menu['menu_price'])}(已售{if(isset($arr_menu['abount_sold']['id_'.$menu['menu_id']]))}$arr_menu['abount_sold']['id_'.$menu['menu_id']]{else}{$menu['menu_sold']}{/if}份) {if(isset($arr_menu['abount_menu']['id_'.$menu['menu_id']]))} 多规格 {else} {/if}
{/foreach}
{else}

{foreach($item['list'] as $menu)}

- {if(!empty($menu['attribute']))}{$menu['attribute']}{/if}

  {$menu['menu_title']}

  {fun_kj::get_price($menu['menu_price'])}

  已售{if(isset($arr_menu['abount_sold']['id_'.$menu['menu_id']]))}$arr_menu['abount_sold']['id_'.$menu['menu_id']]{else}{$menu['menu_sold']}{/if}份 {if(isset($arr_menu['abount_menu']['id_'.$menu['menu_id']]))} 多规格 {else} {/if}

{/foreach}

{/if} {/foreach}