{extend name='admin@main'} {block name="content"}

{notempty name='list'}
| 名称 | 标识 | 最小金额 | 最大金额 | 手续费 | 状态 | 代付状态 {if auth("edit")} | 操作 {/if}
--- | --- | --- | --- | --- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
| {$vo.name} | {$vo.name2} | {$vo.min} | {$vo.max} | {$vo.pay_commission} | {eq name='vo.status' value='0'}已禁用{else}使用中{/eq} | {eq name='vo.is_payout' value='0'} 未使用 {else} 使用中 {/eq} {if auth("edit")} | 编 辑 {if $vo.status eq 1} 禁用代收 {elseif $vo.status eq 0} 启用代收 {/if} {if $vo.is_payout eq 0} 启用代付 {/if} {/if}
{/foreach}

{/block}