<include file="public@header"/> </head> <body> <div class="wrap js-check-wrap"> <ul class="nav nav-tabs"> <li class="active"><a href="javascript:;">订单详情</a></li> <li><a href="{:url('Order/index')}">返回</a></li> </ul> <div class="body"> <h3><span>基本信息</span></h3> <div class="base" style="clear: left"> <li><span>订单号:</span>{$order_info.order_sn}</li> <li><span>下单日期:</span>{$order_info.add_time|date='Y-m-d', ###}</li> <li><span>活动名称:</span>{$order_info.name}({$order_info.start_time|date='Y.m.d', ###}至{$order_info.end_time|date='Y.m.d', ###})</li> <li><span>定金:</span><if condition="$order_info['order_type'] eq '1'">有<else/>无</if></li> <li><span>订单状态:</span>{$order_info.status_text}</li> <li><span>优惠券:</span>{$order_info.coupons}</li> </div> <div style="clear: left"> </div> <h3><span>出行信息</span></h3> <div class="escort"> <li><span>姓名</span></li> <li><span>性别</span></li> <li><span>电话</span></li> <li><span>身份证</span></li> <li><span>微信号</span></li> <li><span>状态</span></li> <li><span>退款</span></li> <li><span>退款日期</span></li> <volist name="order_detail" id="vo"> <li>{$vo.name}</li> <li><if condition="$vo['sex'] eq '1'">女<else/>男</if></li> <li>{$vo.tel}</li> <li>{$vo.identity}</li> <li>{$vo.wechat}</li> <li> <if condition="$vo['status'] eq '0'">正常</if> <if condition="$vo['status'] eq '1'"><font color="#4169e1">发起退款 </font><a href="{:url('Order/agree',['id'=>$vo['id']])}"><font color="green">Y</font></a>/<a href="{:url('Order/disagree',['id'=>$vo['id']])}"><font color="red">N</font></a></if> <if condition="$vo['status'] eq '2'"><font color="green">退款成功</font></if> <if condition="$vo['status'] eq '3'"><font color="red">拒绝退款</font></if> </li> <li>¥{$vo.refund_amount}</li> <li>{$vo.refund_time}</li> </volist> <div style="clear: left"> </div> <h3><span>款项信息</span></h3> <div class="cost"> <volist name="order_log" id="vo"> <li style="width: 100%; text-align: center"><span>金额:</span>¥{$vo.order_amount}</li> </volist> </div> <div style="clear: left"> </div> <if condition="$order_info['status'] eq '2'"> <div style="width: 112px; margin: 0 auto; margin-top: 20px"> <form action="{:url('Order/detail')}" method="post"> <input type="hidden" name="id" value="{$order_info.id}"> <input type="hidden" name="act" value="final_payment"> <input type="submit" value="已支付定金" class="btn btn-danger" onclick="return isConfirm()"> </form> </div> </if> </div> </div> </div> <style> .body{width: 65%; padding:0 2% 1% 2%; margin:0 auto; margin-top: 10px; border: 1px solid #EBEFF0; border-radius: 5px} .body h3{ text-align: center} .base{ width: 100%} .base li{width: 32%; height: 30px; line-height: 30px; float: left; list-style: none; text-align: center} span{font-weight: bold} .escort{ width: 100%} .escort li{width: 12.5%; height: 30px; line-height: 30px; float: left; list-style: none; text-align: center} .cost{width: 100%} .cost li{width: 50%; float: left} </style> <script> function isConfirm() { if(!window.confirm('是否确定已支付定金?该订单即将变为待付尾款状态')) { return false; }else { return true; } } </script> <script src="__STATIC__/js/admin.js"></script> </body> </html>