{include(label.header)}

# {$shopinfo['shop_name']}

{if(!empty($table_reserve))} {else} {/if}
{set $arr=fun_kj::get_ads('B1-wap-shop'.$shopinfo['shop_id'],1)} {if(isset($arr['list']))}
{foreach($arr['list'] as $item)}
{/foreach}
{foreach($arr['list'] as $item)} {/foreach}
{else if(isset($arr['html']))}
{$arr['html']}
{/if} {if($shopinfo['shop_tips']!='')}
通知：{$shopinfo['shop_tips']}
{/if} {if($shopinfo['shop_service']==0 || $shopinfo['shop_service']==1)}

{if($shopinfo['shop_service']==0)}商品列表{else}在线选座{/if} | 商家介绍 | 用户评价

{else}

{if($shopinfo['shop_service']==3)}
- 外卖
- 选座
商家 | 评价
{else}
- 选座
- 外卖
商家 | 评价
{/if}

{/if}

全部 {set $index=0} {if(!empty($arr_menu["tj"]))} {set $index=1} 推荐 {/if} {foreach($arr_menu["list"] as $item)} {$item['name']} {set $index=1} {/foreach} | {set $index=0} {if(!empty($arr_menu["tj"]))} {set $index=1} {if($shopinfo['shop_mode']==1)} {foreach($arr_menu["tj"] as $menu)} ## {$menu['menu_title']}{if(!empty($menu['attribute']))}{$menu['attribute']}{/if} 已售：{if(isset($arr_menu['abount_sold']['id_'.$menu['menu_id']]))}$arr_menu['abount_sold']['id_'.$menu['menu_id']]{else}{$menu['menu_sold']}{/if}份 {fun_kj::get_price($menu['menu_price'])} {if($cfg_opentime['nowindex']>0)} {if($menu['num']<1)} 卖完 {else} {if(isset($arr_menu['abount_menu']['id_'.$menu['menu_id']]))} 多规格 {else} {/if} {/if} {else if($cfg_opentime['havenext']==1)} 即将开始 {else} 明天继续 {/if} {/foreach} {else} {foreach($arr_menu["tj"] as $menu)} ## {$menu['menu_title']}{if(!empty($menu['attribute']))}{$menu['attribute']}{/if} 已售：{if(isset($arr_menu['abount_sold']['id_'.$menu['menu_id']]))}$arr_menu['abount_sold']['id_'.$menu['menu_id']]{else}{$menu['menu_sold']}{/if}份 {fun_kj::get_price($menu['menu_price'])} {if($cfg_opentime['nowindex']>0)} {if($menu['num']<1)} 卖完 {else} {if(isset($arr_menu['abount_menu']['id_'.$menu['menu_id']]))} 多规格 {else} {/if} {/if} {else if($cfg_opentime['havenext']==1)} 即将开始 {else} 明天继续 {/if} {/foreach} {/if} {set $index=1} {/if} {foreach($arr_menu["list"] as $item)} {set $index=1} {if($shopinfo['shop_mode']!=2 && $item['mode']!=2)} {foreach($item['list'] as $menu)} ## {$menu['menu_title']}{if(!empty($menu['attribute']))}{$menu['attribute']}{/if} 已售：{$menu['menu_sold']}份 {fun_kj::get_price($menu['menu_price'])} {if($cfg_opentime['nowindex']>0)} {if($menu['num']<1)} 卖完 {else} {if(isset($arr_menu['abount_menu']['id_'.$menu['menu_id']]))} 多规格 {else} {/if} {/if} {else if($cfg_opentime['havenext']==1)} 即将开始 {else} 明天继续 {/if} {/foreach} {else} {foreach($item['list'] as $menu)} ## {$menu['menu_title']}{if(!empty($menu['attribute']))}{$menu['attribute']}{/if} 已售：{$menu['menu_sold']}份 {fun_kj::get_price($menu['menu_price'])} {if($cfg_opentime['nowindex']>0)} {if($menu['num']<1)} 卖完 {else} {if(isset($arr_menu['abount_menu']['id_'.$menu['menu_id']]))} 多规格 {else} {/if} {/if} {else if($cfg_opentime['havenext']==1)} 即将开始 {else} 明天继续 {/if} {/foreach} {/if} {/foreach}

份 合计：{cfg:(coinsign,sys)}0

{if($shopinfo['shop_day_limit']>0 && $shopinfo['shop_day_sold']>=$shopinfo['shop_day_limit'])}

- # 今日已售完，明天继续

{else if($shopinfo['shop_state']==-1 || empty($cfg_opentime['list']))}

- # {if(empty($shopinfo['shop_close_tips']))}东家有事，暂停营业{else}{$shopinfo['shop_close_tips']}{/if}

{else if($cfg_opentime['nowindex']<=0 || (!empty($shopinfo['extend']['weekday']) && !in_array($weekday,$shopinfo['extend']['weekday'])))}

- # {$shopinfo['shop_name']}送餐时间

  {if(!empty($shopinfo['extend']['weekday']))}

  ## 每周：{$shopinfo['extend']['weekdayshow']}

  {/if} {foreach($shopinfo['extend']['arr_opentime'] as $item=>$key)}

  ## {$key}

  {/foreach}

{/if} {include(label.footer)}
- 规格：小份中份大份
- 单价：{cfg:(coinsign,sys)}
- 数量：1