{extend name='main'} {block name="content"}
{include file='deal/order_list_search'}

{notempty name='list'}
订单号 | 用户名 | 商品名称 | 商品单价 | 交易数量 | 交易数额 | 下单时间 | 交易状态 | 操作
--- | --- | --- | --- | --- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
{$vo.id} | {$vo.username} | {$vo.goods_name} | {:config("currency")}{$vo.goods_price} | {$vo.num} | {:config("currency")}{$vo.num} | {$vo.addtime|format_datetime} | {switch $vo.status} {case 0} {literal} 等待付款 {/literal} {/case} {case 1}完成付款{/case} {case 2}已发货{/case} {case 3}强制付款{/case} {case 4}系统取消{/case} {case 5}订单冻结{/case} {/switch} | {if $vo.status==0} 强制付款 取消订单 {/if} {if $vo.status==1} 发货 {/if}
{/foreach}

{empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty}
{/block}