{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}暂无{/if}销量:{$item['shop_sold']}单 {if(empty($item['shop_addprice']))}免费配送{else}配送：{$item['shop_addprice']}元/次{/if} | {$item['shop_dispatch_price']}元起{$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($item['shop_day_limit']>0 && $item['shop_day_sold']>=$item['shop_day_limit'])}今日售完{else if($item['shop_state']==-1)}休息中{else if($arr_opentime['havenext']==1)}即将开始{else}明天继续{/if} {else}
- {$item['shop_name']} {if($item['shop_comment']>0)}{$item['shop_comment']}分{else}暂无{/if}销量:{$item['shop_sold']}单 {if(empty($item['shop_addprice']))}免费配送{else}配送:{$item['shop_addprice']}元/次{/if} | {$item['shop_dispatch_price']}元起{$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}