dfc83f81488e6624a84cc5796d552d0e.php
2.3 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
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:43:"themes/simpleboot3/user/order/my_order.html";i:1532624761;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="yes" name="apple-touch-fullscreen">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>我的订单</title>
<link rel="stylesheet" href="/static/css/common.css">
<link rel="stylesheet" href="/static/css/style.css">
</head>
<body style="background-color: #f6f6f6;">
<div class="box">
<div class="Myorder">
<?php if(empty($data) || (($data instanceof \think\Collection || $data instanceof \think\Paginator ) && $data->isEmpty())): ?>
<div class="orderList">
<h1>
<b>暂无订单</b>
</h1>
</div>
<?php else: if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<div class="orderList">
<h1>
<b>订单号:<?php echo $vo['out_trade_no']; ?></b>
<i>已支付</i>
</h1>
<div class="order_head">
<img src="/static/image/head.png"/>
<b><?php echo $vo['name']; ?></b>
<i>¥<?php echo $vo['price']; ?></i>
</div>
<div class="order_details" onclick=location.href="<?php echo url('order_details',array('id'=>$vo['id'])); ?>">
<img src="/static/image/look_detail.png">
</div>
</div>
<?php endforeach; endif; else: echo "" ;endif; endif; ?>
</div>
</div>
<script type="text/javascript" src="/static/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript" src="/static/js/study_car.js"></script>
</body>
</html>