{eval $count = count($roomList);} {eval $index = 0;} {loop $roomList $k $v}
{$v['name']}{eval echo ($v['ratePlanName'] ? '('.$v['ratePlanName'].')' : '');} {$v['bed']} {$v['breakfast']} {$v['internet']} ￥{eval echo number_format($v['avgPrice'],2,'.',''); }
{$d_k}{eval echo $d_v['MemberRate'] == '-1' ? '无价' : '￥'.(int)$d_v['MemberRate'] }
床型: {$v['bed']}面积:{$v['size']}平方能否加床:{$v['AddBedRate']}早餐服务：{$v['breakfast']}宽带服务:{$v['internet']}
备注: {$v['remark']}{/if}
{eval $index++;} {/loop} {if $count > 2 }
展开所有房型（{$count}）
{/if}