<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看订单详情 - {config.webname}</title>
<meta content="{config.webkeyword}" name="keywords" />
<meta content="{config.webdescription}" name="description" />
<link rel="stylesheet" type="text/css" href="<!--angelcms{templateskin}-->/css/basic.css" />
<link rel="stylesheet" type="text/css" href="<!--angelcms{templateskin}-->/css/style.css" />
<script type="text/javascript" src="<!--angelcms{templateskin}-->/js/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="<!--angelcms{templateskin}-->/js/lang-chi.min.js"></script>
<script type="text/javascript" src="<!--angelcms{templateskin}-->/js/common.min.js"></script>
<script type="text/javascript" src="<!--angelcms{templateskin}-->/js/overlay.min.js"></script>
<link rel="stylesheet" href="{config.webpath}css/pagination.css" />
<script type="text/javascript" src="{config.webpath}scripts/lhgdialog/lhgdialog.js?skin=idialog"></script>
<script type="text/javascript" src="<!--angelcms{templateskin}-->/js/base.js"></script>
</head>
<body >
<!--Header-->
<!--angelcms{template src="header.html"}-->
<!--/Header-->

<!--中间区块-->
<div id="content-block">
<div class="content-block-width">
	<div id="bd">
	<div id="innerpg" class="bd-inner">
    <!--检查这里是否为一样-->
	<div class="clearfix layout-innerpg ">
		<div class="col-main">
		<div class="main-wrap">
		<div id='htmlpages' class="block first-block block-article-view">
<div class="block-head">
	<div class="head-inner">
	<h1 class="title"> 
      <span><a href="<!--angelcms{linkurl("usercenter","index")}-->">管理首页</a></span>
      我的订单
      <strong>Order</strong>
	  </h1>
	</div>
</div>
    <!--会员中心-->
<div class="block-content clearfix">
	<div class="article-content clearfix" style="padding-top:10px;">

      <!--订单状态.开始-->
      <div style="text-align:center;">
      <!--angelcms{if(model.status<4)}-->
        <div class="order_flow" style="width:460px;">
          <div class="order_flow_left">
            <a class="order_flow_input">生成</a>
            <span><p class="name">订单已生成</p><p>{model.add_time}</p></span>
          </div>
          <!--angelcms{if(model.payment_status>0)}-->
            <!--angelcms{if(model.payment_status==2)}-->
            <div class="order_flow_arrive">
              <a class="order_flow_input">支付</a>
              <span><p class="name">已支付</p><p>{model.payment_time}</p></span>
            </div>
            <!--angelcms{else}-->
            <div class="order_flow_wait">
              <a class="order_flow_input">支付</a>
              <span><p class="name">待支付</p></span>
            </div>
            <!--angelcms{/if}-->
          
          <!--angelcms{else}--> 
            <!--angelcms{if(model.status<2)}-->
            <div class="order_flow_wait">
              <a class="order_flow_input">确认</a>
              <span><p class="name">待确认</p></span>
            </div>
            <!--angelcms{else}-->
            <div class="order_flow_arrive">
              <a class="order_flow_input">确认</a>
              <span><p class="name">订单已确认</p><p>{model.confirm_time}</p></span>
            </div>
            <!--angelcms{/if}-->
          <!--angelcms{/if}-->
                
          <!--angelcms{if(model.express_status==1)}-->
          <div class="order_flow_wait">
            <a class="order_flow_input">发货</a>
            <span><p class="name">待发货</p></span>
          </div>
          <!--angelcms{else if(model.express_status==2)}-->
          <div class="order_flow_arrive">
            <a class="order_flow_input">发货</a>
            <span><p class="name">已发货</p><p>{model.express_time}</p></span>
          </div>
          <!--angelcms{/if}-->
                
          <!--angelcms{if(model.status>2)}-->
          <div class="order_flow_right_arrive">
            <a class="order_flow_input">完成</a>
            <span><p class="name">订单已完成</p><p>{model.complete_time}</p></span>
          </div>
          <!--angelcms{else}-->
          <div class="order_flow_right_wait">
            <a class="order_flow_input">完成</a>
            <span><p class="name">未完成</p></span>
          </div>
          <!--angelcms{/if}-->
          <div class="clear"></div>
        </div>
        <!--angelcms{else if(model.status==4)}-->
        <div style="text-align:center;line-height:50px; font-size:20px; color:Red;">该订单已取消</div>
        <!--angelcms{else if(model.status==5)}-->
        <div style="text-align:center;line-height:50px; font-size:20px; color:Red;">该订单已作废</div>
        <!--angelcms{/if}-->
              
      <div class="line10"></div>
      <div class="accept_box">
        <dl>
          <dt>订单号：</dt>
          <dd>{model.order_no}</dd>
        </dl>
        <dl>
          <dt>订单状态：</dt>
          <dd>
            <!--angelcms{=get_order_status(model.id)}-->
            <!--angelcms{if(get_order_payment_status(model.id))}-->
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="btn btn-success" href="<!--angelcms{linkurl("payment","confirm",model.order_no)}-->">去付款</a>
            <!--angelcms{/if}-->
          </dd>
        </dl>
        <dl>
          <dt>顾客姓名：</dt>
          <dd>{model.accept_name}</dd>
        </dl>
        <dl>
          <dt>送货地址：</dt>
          <dd>{model.address}</dd>
        </dl>
        <dl>
          <dt>手机号码：</dt>
          <dd>{model.mobile}</dd>
        </dl>
        <dl>
          <dt>固定电话：</dt>
          <dd>{model.telphone}</dd>
        </dl>
        <dl>
          <dt>备注留言：</dt>
          <dd>{model.message}</dd>
        </dl>
      </div>
              
      <div class="line10"></div>
      <table width="100%" border="0" cellspacing="0" cellpadding="5" class="ftable">
        <tr>
          <th width="10%"></th>
          <th align="left" width>商品名称</th>
          <th width="10%">销售价</td>
          <th width="10%">优惠价</th>
          <th width="10%">积分</th>
          <th width="10%">数量</th>
          <th width="20%">金额合计</th>
          <th width="12%">积分合计</th>
        </tr>
        <!--angelcms{if(model.order_goods!=null)}-->
        <!--angelcms{foreach(Angelcms.Model.Age_order_goods modelt in model.order_goods)}-->
        <tr>
          <td><a target="_blank" href="<!--angelcms{linkurl("products_show",{modelt.goods_id})}-->"><img src="<!--angelcms{=get_article_img_url(modelt.goods_id)}-->" class="img" /></a></td>
          <td align="left"><a target="_blank" href="<!--angelcms{linkurl("products_show",{modelt.goods_id})}-->">{modelt.goods_title}</a></td>
          <td align="center">￥{modelt.goods_price}</td>
          <td align="center">￥{modelt.real_price}</td>
          <td align="center">
            <!--angelcms{if(modelt.point>0)}-->
            +
            <!--angelcms{/if}-->
            {modelt.point}
          </td>
          <td align="center">{modelt.quantity}</td>
          <td align="center"><font color="#FF0000" size="2">￥<!--angelcms{=(modelt.real_price*modelt.quantity)}--></font></td>
          <td align="center"><font color="#FF0000" size="2"><!--angelcms{=(modelt.point*modelt.quantity)}--></font></td>
        </tr>
        <!--angelcms{/foreach}-->
        <!--angelcms{else}-->
        <tr><td colspan="8" align="center">暂无记录</td></tr>
        <!--angelcms{/if}-->
      </table>
      <div class="line10"></div>
      <div style="text-align:right;">
        商品金额：<span class="red">￥{model.real_amount}</span>&nbsp; &nbsp;+ &nbsp; 运费：<span class="red">￥{model.express_fee}</span>&nbsp; &nbsp;+ &nbsp; 支付手续费：<span class="red">￥{model.payment_fee}</span><br />
        <b>应付总金额：<span class="red">￥{model.order_amount}</span></b>
      </div>
      <div class="line10"></div>
    </div>








	</div>
	</div>
    <!--会员中心-->
  <div class="clear"></div>
		<div class="block-foot"><div><div>-</div></div></div>
			</div>
		</div>
		</div>
		<div class="col-sub">
   <div class="block first-block block-products  list-240" id="block-products-89301" rel="89301"> 
   <!--UserCenter navtion-->
    <!--angelcms{template src="ucenter_nav.html"}-->
    <!--UserCenter navtion-->
    <div class="block-foot">
	<div><div>-</div></div></div>
	</div>
	

	</div>
	
	</div>
	</div>
	</div>
</div>
</div>
<!--Footer-->
<!--angelcms{template src="footer.html"}-->
<!--/Footer-->
</body>
</html>