{template 'header'}

{loop $search['fields'] $field} {if $field['type'] == 1}
{$field['title']} {/if} {/loop} {if $search['isresearch']} | {/if}
--- | ---
{loop $list $item}
{loop $search['fields'] $field} {if $field['type'] == 1} {if !empty($item[$field['variable']])}
{$item[$field['variable']]} {else} | {$item['data'][$field['variable']]} {/if} {/loop} | {if $search['isresearch']}预约{/if} {/if}
{/loop}

{template 'footer'}