<extend name="Public/base"/>

<block name="body">

	<!--我的订单无开始-->
	   <div class="bg-line"></div>
	   <div class="yy-order">
	   	    <div class="line"></div>
	   	   	<h3>{$Think.lang.order_details}</h3>
	   	   <div class="bg-line"></div>
	   	   <div class="order-xqny">
	   	   	   <h3>{$Think.lang.order_number}   {$orderInfo.out_trade_no}</h3>
	   	   	   <p>{$Think.lang.order_status}   <span class="fr-jl fr-ys">{:getOrderStatus($orderInfo['status'],$orderInfo['pay_status'])}</span></p>
	   	   	   <eq name="orderInfo.status" value="3">
	   	   	   <p>{$Think.lang.fetch_code}   <span class="fr-jl">{$orderInfo.code}</span></p>
	   	   	   </eq>

	   	   	   <p>{$Think.lang.mobile}   <span class="fr-jl">{$orderInfo.mobile}</span></p>
	   	   	   <p>{$Think.lang.order_amount}   <span class="fr-jl fr-ys">¥{$orderInfo.total_fee}</span></p>
	   	   	   <p>{$Think.lang.pay_fee}   <span class="fr-jl fr-ys">¥{$orderInfo.pay_fee}</span></p>
	   	   	   <p>{$Think.lang.coupon}   <span class="fr-jl fr-ys">{$orderInfo.coupon}</span></p>
	   	   	   <p>{$Think.lang.order_time}   <span class="fr-jl">{$orderInfo.createtime|date='Y-m-d H:i:s',###}</span></p>
	   	   	   <p>{$Think.lang.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>
</block>

<block name="script">

</block>
