{php $url_search = $this->createMobileUrl('search', array(), true);} {php $url_user = $this->createMobileUrl('usercenter', array(), true);}
{loop $list $item} {if $item['default_jump']==1} {php $url = $this->createMobileUrl('detail', array('id' => $item['id']), true);} {elseif $item['default_jump']==2} {php $url = $this->createMobileUrl('waplist', array('storeid' => $item['id'], 'mode' => 2), true);} {elseif $item['default_jump']==3} {php $url = $this->createMobileUrl('waplist', array('storeid' => $item['id'], 'mode' => 4), true);} {elseif $item['default_jump']==4} {php $url = $this->createMobileUrl('queue', array('storeid' => $item['id']), true);} {elseif $item['default_jump']==5} {php $url = $this->createMobileUrl('reservationIndex', array('storeid' => $item['id'], 'mode' => 3), true);} {elseif $item['default_jump']==6} {php $url = $item['default_jump_url'];} {/if}
{if $this->getstoretimestatus($item) == 0} 商家休息 {/if}

{$item['title']}

{if $item['is_meal']==1}
{/if} {if $item['is_delivery']==1}
{/if}
{if $item['sales']>0} 已售{$item['sales']}份 {/if}
{if $item['is_delivery']==1} 准时达 {else} 商家联盟 {/if}
{if $item['is_delivery']==1} {if !empty($item['sendingprice'])} {$setting['currency']}{$item['sendingprice']}起送 {/if} {if $item['dispatchprice']>0} 配送费约{$setting['currency']}{$item['dispatchprice']} {else} 免配送费 {/if} {if $item['freeprice']!=0.00} 满{php echo intval($item['freeprice'])}免配送费 {/if} {else} {$item['address']} {/if}
{php echo $this->getDistance($item['lat'], $item['lng'], $lat, $lng).'km';}
{if !empty($item['newlimitprice'])}
{$item['newlimitprice']}
{/if} {if !empty($item['oldlimitprice'])}
{$item['oldlimitprice']}
{/if}
{php $goodslist = $item['goods']} {loop $goodslist $goodsitem} {php $goodsurl = $this->createMobileUrl('goodsdetail', array('mode' => 2, 'storeid' =>$goodsitem['storeid'], 'id' => $goodsitem['id']),true);}

{$goodsitem['title']}

{if $goodsitem['sales']>0} 已售{$goodsitem['sales']}份
{/if} {$setting['currency']}{$goodsitem['marketprice']}
{if $goodsitem['is_delivery']==1} {if !empty($goodsitem['sendingprice'])} {$setting['currency']}{$goodsitem['sendingprice']}起送 {/if} {if $goodsitem['dispatchprice']>0} 配送费约{$setting['currency']}{$goodsitem['dispatchprice']} {else} 免配送费 {/if} {if $goodsitem['freeprice']!=0.00} 满{php echo intval($goodsitem['freeprice'])}免配送费 {/if} {else} {$goodsitem['address']} {/if}
{/loop} {/loop}
{php echo register_jssdk(false);} {php include $this->template($this->cur_tpl.'/_nave');}