detail.html
4.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<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><span>类型:</span><if condition="$vo['type'] eq '0'">尾款<else/>定金</if></li>
<li><span>金额:</span>¥{$vo.order_amount}</li>
</volist>
</div>
<div style="clear: left"> </div>
<if condition="$order_info['status'] eq '1'">
<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="down_payment">
<input type="submit" value="确定支付定金" class="btn btn-danger" onclick="return isConfirm()">
</form>
</div>
</if>
<if condition="$order_info['status'] eq '3'">
<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>