{#foreach $T.list as item}<th scope="col" {#if $T.item.width > 0}width="{$T.item.width}"{#/if}>{$T.item.name}</th> {#/for}<th scope="col" width="150"><span>Operation</span></th> {#if $T.list && $T.list.length > 0} {#foreach $T.list as item}<tr> {#if $T.item.custom_fields && $T.item.custom_fields.length > 0} {#foreach $T.item.custom_fields as item2} {#if $T.item2.value == 'image_url' }<th scope="row"><img class="main-image" {#if $T.item2.label !== "" && $T.item2.label !== "-" }src="{$T.item2.label}"{#else}src="https://oss.matchpages.cn/matchpages/common/2020/1022/5f914dc35e4c2.png" {#/if}/></th> {#else}<td>{$T.item2.label}</td> {#/if} {#/for} {#/if}<td><a class="btn show-detail-anchor btn-detail" href="{$T.item.link}">详情</a> {#if $T.item.file_url}<a style="display:inline-block" data-file_url="{$T.item.file_url||''}" class="btn btn-download" href="javascript:void(0)"><span class="fa fa-file-pdf-o"></span> <span>PDF</span></a> {#/if}</td></tr> {#/for} {#else}<tr><td col="100">Empty</td></tr> {#/if}