{foreach($shop_list["list"] as $item)} {set $arr_opentime=tab_meal_shop::get_opentime($item['shop_id'],$item['shop_extend'])} {if($item['shop_state']==-1 || $arr_opentime['nowindex']<1 || (!empty($item['extend']['weekday']) && !in_array($weekday,$item['extend']['weekday'])) || ($item['shop_day_limit']>0 && $item['shop_day_sold']>=$item['shop_day_limit']))}
  • {$item['shop_name']} {if($item['shop_comment']>0)}{$item['shop_comment']}分{else}{tab_other_language::get("暂无")}{/if}{tab_other_language::get("销量:{msg1}单",$item['shop_sold'],1)} {if(empty($item['shop_addprice']))}{tab_other_language::get("免费配送")}{else}{tab_other_language::get("配送:{msg1}元/次",$item['shop_addprice'])}{/if} | {$item['shop_dispatch_price']}{tab_other_language::get("元起")}{$item['extend']['arrivedelay']}{tab_other_language::get("分钟")} {if(isset($act_info['method']['id_'.$item['shop_id']]))} {foreach($act_info['method']['id_'.$item['shop_id']] as $act_item=>$act)} {if($act['id']==1)}   {else if($act['id']==2)}   {else if($act['id']==3 || $act['id']==4)}   {else if($act['id']==5 || $act['id']==6)}   {/if} {/foreach} {/if} {if($item['shop_day_limit']>0 && $item['shop_day_sold']>=$item['shop_day_limit'])}{tab_other_language::get("今日售完")}{else if($item['shop_state']==-1)}{tab_other_language::get("休息中")}{else if($arr_opentime['havenext']==1)}{tab_other_language::get("即将开始")}{else}{tab_other_language::get("明天继续")}{/if} {else}
  • {$item['shop_name']} {if($item['shop_comment']>0)}{$item['shop_comment']}{tab_other_language::get("分")}{else}{tab_other_language::get("暂无")}{/if}{tab_other_language::get("销量:{msg1}单",$item['shop_sold'])} {if(empty($item['shop_addprice']))}{tab_other_language::get("免费配送")}{else}{tab_other_language::get("配送:{msg1}元/次",$item['shop_addprice'])}{/if} | {tab_other_language::get("{msg1}元起",$item['shop_dispatch_price'])}{tab_other_language::get("{msg1}分钟",$item['extend']['arrivedelay'])} {if(isset($act_info['method']['id_'.$item['shop_id']]))} {foreach($act_info['method']['id_'.$item['shop_id']] as $act_item=>$act)} {if($act['id']==1)}   {else if($act['id']==2)}   {else if($act['id']==3 || $act['id']==4)}   {else if($act['id']==5 || $act['id']==6)}   {/if} {/foreach} {/if} {/if} {if($item['iscollect'])}{else}{/if}
  • {/foreach}