<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="description" content="">
		<meta name="keywords" content="">
		<meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport" />
		<title><?php echo ($meta_title); ?></title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<meta name="mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="/Public/Home/css/amazeui.min.css">
		<link rel="stylesheet" href="/Public/Home/css/app.css">
		
	</head>
	<body>
		<header data-am-widget="header" class="am-header am-header-default">
			<div class="am-header-left am-header-nav back " style="display:none;">
			   <a href="#left-link"><img src="/Public/Home/images/back.png"></a>
	     	</div>
	        <h1 class="am-header-title us-top am-text-center"><?php echo ($meta_title); ?></h1>

	      	<div class="am-header-right am-header-nav" style="display:none;">
	          <a href="#right-link" class=""  data-am-offcanvas="{target: '#nav-ctrl'}">
	              <img class="am-header-icon-custom" src="/Public/Home/images/app-nav.png" alt=""/>
	          </a>
	      	</div>
      	</header>

      	

	<!--我的订单无开始-->
	   <div class="bg-line"></div>
	   <div class="yy-order">
	   	    <div class="line"></div>
	   	   	<h3><?php echo (L("order_details")); ?></h3>
	   	   <div class="bg-line"></div>
	   	   <div class="order-xqny">
	   	   	   <h3><?php echo (L("order_number")); ?>   <?php echo ($orderInfo["out_trade_no"]); ?></h3>
	   	   	   <p><?php echo (L("order_status")); ?>   <span class="fr-jl fr-ys"><?php echo getOrderStatus($orderInfo['status'],$orderInfo['pay_status']);?></span></p>
	   	   	   <?php if(($orderInfo["status"]) == "3"): ?><p><?php echo (L("fetch_code")); ?>   <span class="fr-jl"><?php echo ($orderInfo["code"]); ?></span></p><?php endif; ?>

	   	   	   <p><?php echo (L("mobile")); ?>   <span class="fr-jl"><?php echo ($orderInfo["mobile"]); ?></span></p>
	   	   	   <p><?php echo (L("order_amount")); ?>   <span class="fr-jl fr-ys">¥<?php echo ($orderInfo["total_fee"]); ?></span></p>
	   	   	   <p><?php echo (L("pay_fee")); ?>   <span class="fr-jl fr-ys">¥<?php echo ($orderInfo["pay_fee"]); ?></span></p>
	   	   	   <p><?php echo (L("coupon")); ?>   <span class="fr-jl fr-ys"><?php echo ($orderInfo["coupon"]); ?></span></p>
	   	   	   <p><?php echo (L("order_time")); ?>   <span class="fr-jl"><?php echo (date('Y-m-d H:i:s',$orderInfo["createtime"])); ?></span></p>
	   	   	   <p><?php echo (L("view_details")); ?>:</p>
	   	   	   <p class="fr-blue">
	   	   	   		<?php
 $body = json_decode($orderInfo['body'],true); foreach($body as $v){ echo $v['title']."&nbsp;&nbsp;".$v['num']."<br>"; } ?>
	   	   	   </p>
	   	   </div>
	   </div>


		<script type="text/javascript" src="/Public/Home/js/jquery.min.js" ></script>
		<script type="text/javascript" src="/Public/Home/js/amazeui.min.js" ></script>
		<script type="text/javascript" src="/Public/h-ui_v2.3/lib/Validform/5.3.2/Validform.min.js"></script>
		<script type="text/javascript" src="/Public/h-ui_v2.3/lib/layer/2.1/layer.js"></script>
		<script type="text/javascript" src="/Public/Common/js/common.js"></script>
		


	</body>
</html>