{extend name="public/base" /} {block name="title"}结算{/block} {block name="css"} {/block} {block name="content"}
{switch $order[0]['order_status']} {case 0}待付款{/case} {case 1}已付款{/case} {case 11}正在申请退款{/case} {case 2}卖家已发货{/case} {case 3}交易成功{/case} {case 31}正在申请退货{/case} {case 32}交易成功{/case} {case 4}订单已取消{/case} {case 5}退款中{/case} {case 6}已退款{/case} {default /}异常订单 {/switch}
{switch $order[0]['order_status']} {case 0} {/case} {case 1}等待卖家发货{/case} {case 2}等待收货{/case} {case 3}快去给商品评价吧{/case} {case 5}等待卖家退款{/case} {case 6}款项已退{/case} {/switch}
收货人:{$order[0]['receiver_name']}       电话:{$order[0]['receiver_phone']}
地址: {$order[0]['receiver_address']}
{volist name="$order[1]" id="vo"}
{$vo.goods_name}
{$vo.goods_sku}
¥ {$vo.unit_price}
x {$vo.goods_num}
{if in_array($order[0]['order_status'], [3,32])} {/if}
{/volist}
运费 ¥{$order[0]['freight']}
合计 ¥{$order[0]['price']}
{if $order[0]['order_status'] !=0 && $order[0]['order_status'] != 4}
实际支付 ¥{$order[0]['pay_money']}
{/if}
订单编号
{$order[0]['order_no']}
创建时间
{$order[0]['create_time']|date='Y-m-d H:i:s'}
{if in_array($order[0]['order_status'], [1,2,3,5,6,11,31,32])}
支付时间
{$order[0]['pay_time']|date='Y-m-d H:i:s'}
{/if} {if in_array($order[0]['order_status'], [2,3,5,6,31,32])}
发货时间
{$order[0]['delivery_time']|date='Y-m-d H:i:s'}
物流公司
{$order[0]['express_company']}
物流单号
{$order[0]['express_code']}
{/if} {if in_array($order[0]['order_status'], [3,31,32])}
成交时间
{$order[0]['complete_time']|date='Y-m-d H:i:s'}
{/if}
{if $order[0]['order_status'] == 0}取消订单{/if} {if $order[0]['order_status'] == 0}付款{/if} {if $order[0]['order_status'] == 2}确认收货{/if} {if $order[0]['order_status'] == 3}评价{/if} {if $order[0]['order_status'] == 3}退货{/if}
{/block} {block name="footjs"} {/block}