<!doctype html>
<html>
<head>
<meta charset="gbk">
<title>订单列表</title>
<meta content="initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width" name="viewport" />
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<link href="/skin/deepred/template/wap/style/css/order.css" rel="stylesheet" type="text/css" />
<script src="/skin/deepred/template/wap/style/js/jquery.js" type="text/javascript"></script>
<script src="/skin/deepred/template/wap/style/js/backtop.js" type="text/javascript"></script>
<script src="/skin/deepred/template/wap/style/js/h-index.js" type="text/javascript"></script>
</head>
<body>
<!--顶部-->
<header class="clearfix">
  <div class="h"> <a class="h-b" href="javascript:history.back()"><!--返回--></a> <span class="h-ti">订单列表</span><a href="/m.asp?a=u_index"><span class="h-u"></span></a></div>
</header>
<div class="mask" style="display:none"></div>
<!--主体部分-->
<div class="tabBox box_soadow" id="leftTabBox">
  <div class="hd">
    <ul>
      <li class="on"><a href="/m.asp?a=u_dingdan">全部订单</a></li>
      <li><a href="/m.asp?a=u_dingdan&zhuangtai=1">未付款</a></li>
      <li><a href="/m.asp?a=u_dingdan&zhuangtai=2">已付款</a></li>
    </ul>
  </div>
 </div>
<div class="bag clearfix">
  <div class="dd-list">
    <ul>
	{anxinMall:page $size=2}
	<li class="bor-radius box_soadow">
		[page:dingdanhao $function=getdingdanProdList(@me)]
		{anxinMall:plist $sql=select prodid,prodname,prodCount,shjiaid from [anxinMall_dingdan_prodlist] where dingdanhao='[page:dingdanhao]' $cache=0}
		<a class="ddl-top" href="/m.asp?a=pdetails&id=[plist:shjiaid]&prodid=[plist:prodid]"><div class="ddt-t"><p>[plist:prodname]</p><span>[plist:prodCount]件</span></div></a>
		{/anxinMall:plist}
		<div class="ddt-b">
			<p class="ddt-b1"><span class="grey">订单号:</span>[page:dingdanhao]</p>
			<p class="ddt-b2"><span class="grey">总价:</span><span class="red">[page:dingdanhao $function=getdingdanZongPrice(@me)]</span></p>
		</div>
		<div class="ddl-bottom">
		<span>
		{if:[page:zhuangtai]=1 and  [page:zhifu]=2}
		<font color="#444444">【等待付款】</font>
		{end if}
		{if:[page:zhuangtai]=1 and  [page:zhifu]=1}
		<font color="#444444">【本单为货到付款】</font>
		{end if}
		{if:[page:zhuangtai]=2}
		<font color="#008000">【买家已付款】</font>
		{end if}

		{if:[page:zhuangtai]=3}
		<font color="red">【商家确认收款】</font>
		{end if}

		{if:[page:zhuangtai]=4}
		<font color="red">【商家已发货】</font>
		{end if}

		{if:[page:zhuangtai]=5}
		<font color="#0095DA">【买家已到货】</font>
		{end if}

		{if:[page:zhuangtai]=6}
		<font color="#0095DA">【已申请退款】</font>
		{end if}

		{if:[page:zhuangtai]=0}
		<font color="#444444">【订单已取消】</font>
		{end if}
		{if:[page:zhuangtai]=1 and [page:zhifu]=2}
		<!-- <a href="/user/click.asp?action=saveOrderState_m&zhuangtai=2&dingdanhao=[page:dingdanhao]&userfrom=buyer"><img src="/file/images/2fukuan.jpg" border="0" width="100" height="28"></a>
		<a href="/m.asp?a=cart4_2&dingdanhao=[page:dingdanhao]&shjianum=1&yucun={anxinMall:field.yucun}&zonger=[page:dingdanhao $function=getdingdanZonge2(@me)]"><img src="/file/images/2fukuan_liji.jpg" border="0" width="100" height="28" style="border:0px;margin-top:5px;"></a> -->
		{end if}

		{if:[page:zhuangtai]=2}
		<!-- <a href="/m.asp?a=u_dingdan_shenqingtuikuan&action=add&shjiaid=[page:shjiaid]&dingdanhao=[page:dingdanhao]&zonger=[page:dingdanhao $function=getdingdanZonge2(@me)]"><img src="/file/images/6tuikuan.jpg" border="0" width="100" height="28"></a> -->
		{end if}

		{if:[page:zhuangtai]=3}
		<a href="/user/click.asp?action=saveOrderState_m&zhuangtai=4&dingdanhao=[page:dingdanhao]&userfrom=shjia"><img src="/file/images/4fahuo.jpg" border="0"></a>
		{end if}	

		{if:[page:zhuangtai]=4}
		<a href="/m.asp?a=inputwuliu&dingdanhao=[page:dingdanhao]&userfrom=shjia"><font color=green>[输入物流 ]</font></a>
		{end if}
		</span>
		<!--
		<p>
			<a class="look pd5px" href='/m.asp?a=u_dingdanview&dingdanhao=[page:dingdanhao]'>查看</a>
			<a class="pay pd5px" href="/m.asp?a=u_dingdantopay&dingdanhao=[page:dingdanhao]&zonger=[page:dingdanhao $function=getdingdanZongPrice(@me)]">支付</a>
			<a class="delete mx2-6" data-id="59" href="/user/click.asp?action=canceldingdan_m&dingdanhao=[page:dingdanhao]" title="取消订单">取消</a>
		</p> 
			-->
		</div>
	</li>
	{/anxinMall:page}
    </ul>
  </div>
 <!-- 分页-->

<p class="sum"><span>我的订单统计：<a href="#"><b class="red">{anxinMall:field.ordernumber}</b></a></span><span><a href="#">未付款：<b class="red">{anxinMall:field.ordernumber_nopay}</b></a></span></p>
</div>
<div class="page"><div class="pagebreak">{tag:page}</div></div>
<!--
<div class="del bor-radius delaction newsdel" style="display:none">
  <div class="del_info">
    <p>此操作不可逆，您确认要删除？</p>
  </div>
  <div class="del_btns"><a action="cancelorder" aid="OrderID" id="del-ok">确定</a><a href="javascript:;" id="tipsCancel">取消</a></div>
</div>
-->
</body>
</html>
<!--#include file="wap/m.bottom.asp"-->
<!--#include file="wap/m.bottom.fixed.asp"-->