{if empty($result)}
未获取到结果数据,可换个输入再试,或稍后重试。
{else}
{if !empty($result['groups'])}
{loop $result['groups'] as $gp}
{if !empty($gp['name'])}{$gp.name}
{/if}
{if !empty($gp['items'])}
{loop $gp['items'] as $kk => $vv}
{if !is_array($vv)}
{$vv|default='—'}{:ll_field_label($kk)} 复制 {/if}
{/loop}
{/if}
{if !empty($gp['list'])}
{loop $gp['list'][0] as $hk => $hv}| {:ll_field_label($hk)} | {/loop}
{loop $gp['list'] as $lr}{loop $lr as $hk => $hv}| {$hv|default='—'} | {/loop}
{/loop}
{/if}
{/loop}
{/if}
{if !empty($result['error'])}{$result['error']}
{/if}
{if $rows}
{loop $rows as $r}
{$r.v}{:ll_field_label($r.k)} 复制
{/loop}
{/if}
{if !empty($result['list'])}
{if $result['list']|count}
{loop $result['list'][0] as $hk => $hv}| {:ll_field_label($hk)} | {/loop}
{loop $result['list'] as $lr}
{loop $lr as $hk => $hv}| {if is_array($hv)}{:json_encode($hv, 320)}{else}{$hv|default='—'}{/if} | {/loop}
{/loop}
{/if}
{/if}
{if !empty($result['text'])}{$result['text']}{/if}
{if !empty($result['html'])}{$result['html']|raw}
{/if}
{if $lists}
{loop $lists as $ls}
{$ls.name}
{if isset($ls.num)}{$ls.num} 条{/if}
{loop $ls.head as $hk => $hv}| {$hv} | {/loop}
{loop $ls.rows as $lr}{loop $ls.cols as $c}| {if isset($lr[$c]) && $lr[$c] !== ''}{$lr[$c]}{else}—{/if} | {/loop}
{/loop}
{/loop}
{/if}
{if !empty($result['raw'])}查看原始数据
{$result['raw']} {/if}
{if !empty($result['content'])}查看抓取内容
{$result['content']} {/if}
{/if}