{template 'header', 'member'} {if $action == 'update'} {if $step == 'detail'} {if !in_array($td[status], array(8, 9))} {if $td[status] == 5 || $td[status] == 6} {else} {/if}
买家下单 买家付款 卖家发货申请退款 退款成功交易成功 双方互评
{/if} {template 'goods', 'chip'}
快递信息
{if $td[send_time]} {/if}
邮编 {$td[buyer_postcode]}
地址 {$td[buyer_address]}
姓名 {$td[buyer_name]}
手机 {$td[buyer_mobile]}
发货日期 {$td[send_time]}
快递类型 {$td[send_type]}
快递单号 {$td[send_no]}{if $td[send_type] && $td[send_no]}  [快递追踪]{/if}
快递状态 {$_send_status[$td[send_status]]}
订单详情
{if $td[send_time]} {/if} {if $td[buyer_reason]} {/if} {if $td[refund_reason]} {/if}
联系卖家 {if $DT[im_web]}{im_web($td[seller])} {/if} {$td[seller]}
下单时间 {$td[adddate]}
最后更新 {$td[updatedate]}
发货时间 {$td[send_time]}
订单状态 {$_status[$td[status]]}
退款理由 {$td[buyer_reason]}
操作原因 {$td[refund_reason]}
{if $td[status] == 1}   {/if}
{elseif $step == 'express'} {template 'goods', 'chip'}
快递信息
发货日期 {$td[send_time]}
快递类型 {$td[send_type]}
快递单号 {$td[send_no]}
追踪结果
正在查询...
快递状态 {$_send_status[$td[send_status]]}
{elseif $step == 'pay'}
{template 'goods', 'chip'}
订单支付
{if $DT[sms]} {/if}
联系卖家 {if $DT[im_web]}{im_web($td[seller])} {/if}{$td[seller]}
下单时间 {$td[adddate]}
应付金额 {$DT[money_sign]}{number_format($money, 2, '.', '')}
短信通知卖家发货 (我的可用短信 {$_sms})
  
{elseif $step == 'remind'}
{elseif $step == 'refund'}
{template 'goods', 'chip'}
申请退款
联系卖家 {if $DT[im_web]}{im_web($td[seller])} {/if}{$td[seller]}
下单时间 {$td[adddate]}
* 退款原因 {deditor($moduleid, 'content', 'Simple', '100%', 200)}
请客观、如实填写,此申请一经提交,将不可再撤销
* 支付密码 {template 'password', 'chip'} 
  
{elseif $step == 'comment'}
{template 'goods', 'chip'} {loop $lists $k $v}
交易评价 - {$v[title]}
交易打分
详细评论
请您对此次交易做出客观、公正的评论
(内容限0至500字) 当前已经输入 0
{/loop}
  
{elseif $step == 'comment_detail'} {template 'goods', 'chip'}
卖家评价
{loop $lists $k $v} {if $comments[$k][buyer_star]} {if $comments[$k][seller_reply]} {/if} {else} {/if} {/loop}
商品名称 {$v[title]}
卖家评分 {$STARS[$comments[$k][buyer_star]]} {if $_username == $td[buyer] && !$comments[$k][seller_reply]}   [解释] {/if}
卖家评论 {nl2br($comments[$k][buyer_comment])}
评论时间 {timetodate($comments[$k][buyer_ctime], 6)}
买家解释 {nl2br($comments[$k][seller_reply])}
解释时间 {timetodate($comments[$k][seller_rtime], 6)}
卖家评论 暂未评论
我的评价
{loop $lists $k $v} {if $comments[$k][seller_star]} {if $comments[$k][buyer_reply]} {/if} {else} {/if} {/loop}
商品名称 {$v[title]}
买家评分 {$STARS[$comments[$k][seller_star]]}
买家评论 {nl2br($comments[$k][seller_comment])}
评论时间 {timetodate($comments[$k][seller_ctime], 6)}
卖家解释 {nl2br($comments[$k][buyer_reply])}
解释时间 {timetodate($comments[$k][buyer_rtime], 6)}
买家评论 暂未评论
{/if} {elseif $action == 'express'}
{$fields_select}    {$status_select}   
{loop $lists $k $v} {/loop}
快递公司 快递单号 快递状态 下单时间 更新时间 订单
{$v[send_type]} {$v[send_no]} {$v[dstatus]} {$v[addtime]} {$v[updatetime]} 查看
{$pages}
{elseif $action == 'muti'}
{loop $lists $k $v} {if isset($tags[$v[itemid]])} {loop $tags[$v[itemid]] $i $t} {/loop} {/if} {/loop}
图片 商品 单价 数量 订单金额 下单时间 订单
{$v[title]}
{$v[par]}{if $v[note]}备注:{$v[note]}{/if}
{$v[price]} {$v[number]} {$DT[money_sign]}{$v[money]} {$v[addtime]} 详情
{$t[title]}
{$t[par]}{if $t[note]}备注:{$t[note]}{/if}
{$t[price]} {$t[number]}

{if $DT[sms]} {/if}
订单数量
应付金额 {$DT[money_unit]}
短信通知卖家发货 (我的可用短信 {$_sms})
 
{else}
{$fields_select}    {$status_select}  {dcalendar('fromdate', $fromdate)} 至 {dcalendar('todate', $todate)}   
单号:  商品ID:  卖家:  货到付款 
商品信息 单价 数量 订单金额 商家 订单状态
{loop $lists $k $v} {if isset($tags[$v[itemid]])} {loop $tags[$v[itemid]] $i $t} {/loop} {/if}
{if $v[status] == 0} 关闭交易 | {elseif $v[status] == 1} 立即付款 | 关闭交易 | {elseif $v[status] == 2} 提醒发货 | 申请退款 | {elseif $v[status] == 3} {if $v[lefttime]} 距处理此订单还剩{$v[lefttime]}  确认到货 | {if $v[send_type] && $v[send_no]} 快递追踪 | {/if} 申请退款 | {else} 订单处理已超时,等待卖家收款  {/if} {elseif $v[status] == 4} {if $MODULE[$v[mid]][module] == 'mall'} {if $v[seller_star]} 评价详情 | {else} 评价 | {/if} {/if} {elseif $v[status] == 9} 删除订单 | {/if} 订单详情    {$v[addtime]}   订单号:{$v[itemid]}
{$v[title]}
{$v[par]}{if $v[note]}备注:{$v[note]}{/if}
{$v[price]} {$v[number]} {$DT[money_sign]}{$v[money]} {if $DT[im_web]}{im_web($v[seller].'&mid=16&itemid='.$v[mallid])} {/if} {$v[dstatus]} {if $v[status] == 1} 付款 {elseif $v[status] == 3} 收货 {elseif $v[status] == 4} {if $MODULE[$v['mid']]['module'] == 'mall' && !$v[seller_star]} 评价 {/if} {/if}
{$t[title]}
{$t[par]}{if $t[note]}备注:{$t[note]}{/if}
{$t[price]} {$t[number]}
{/loop}
{$pages}
{/if} {template 'footer', 'member'}