print.html 4.76 KB
<include file="public/layout" />
<style>
.ncm-goods-gift {
	text-align: left;
}
.ncm-goods-gift ul {
    display: inline-block;
    font-size: 0;
    vertical-align: middle;
}
.ncm-goods-gift li {
    display: inline-block;
    letter-spacing: normal;
    margin-right: 4px;
    vertical-align: top;
    word-spacing: normal;
}
.ncm-goods-gift li a {
    background-color: #fff;
    display: table-cell;
    height: 30px;
    line-height: 0;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    width: 30px;
}
.ncm-goods-gift li a img {
    max-height: 30px;
    max-width: 30px;
}

.ncap-order-style .ncap-order-details{
	margin:20px auto;
	border:1px solid #e6e6e6;
	
}

.ncap-order-details table thead th{
	background-color:#FFFFFF
}
 

dd:before{
	margin-left:3px;
	content:' '
}

</style>
<div class="page">
  <div class="fixed-bar">
    <div class="item-title"><a class="back" href="javascript:history.back(-1)" title="返回列表"><i class="fa fa-arrow-circle-o-left"></i></a>
      <div class="subject">
        <h3>打印订单</h3>
        <h5>商城实物商品交易订单查询及管理</h5>
      </div>
    </div>
  </div>
  <div class="ncap-order-style">
    <div class="titile">
      <h3></h3>
    </div>

    <div class="ncap-order-details">
      
      <div class="tabs-panels">
      	 <div class="goods-info">
          <h4>商品信息</h4>
          <table>
            <thead>
              <tr>
                <th class="w500">商品名称</th>
                <th class="w100">商品货号</th>
                <th class="w100">规格</th>
                <th class="w100">数量</th>
                <th class="w100">单价</th>
                <th class="w100">单品小计</th>
              </tr>
            </thead>
            <tbody>
            <volist name="orderGoods" id="good">
           	<tr>
                <td class="w500" style="text-align: left;">{$good.goods_name}</td>
                <td class="w100">{$good.goods_sn}</td>
                <td class="w100">{$good.goods_spec}</td>
                <td class="w100">{$good.goods_num}</td>
                <td class="w100">{$good.goods_price}</td>
                <td class="w100">{$good.goods_total}</td>
              </tr>
              </volist>
          </table>
        </div>
        <div class="total-amount contact-info">
          订单总额:¥{$order.goods_price} 
        </div>

          <eq name="$order.exp_type" value="0">
        <div class="misc-info">
           <h3>收货人信息</h3>
           		<dl>
		            <dt>收件人:</dt>
		            <dd>{$order.consignee}</dd>
		            <dt>联系电话:</dt>
		            <dd>{$order.mobile}</dd>
		            <dt>收货地址:</dt>
		            <dd>{$order.full_address}</dd>
		          </dl>
            <dl>
                <dt>物流公司:</dt>
                <dd>{$order.shipping_name}</dd>
            </dl>

        	</div>
          </eq>

          <eq name="$order.exp_type" value="1">
              <div class="misc-info">
                  <h4>自提信息</h4>
                  <dl>
                      <dt>收货人:</dt>
                      <dd>{$order.consignee}</dd>
                      <dt>联系方式:</dt>
                      <dd>{$order.mobile}</dd>
                      <dt>门店信息:</dt>
                      <dd>{$order.pickup_name}({$order.pickup_address})</dd>
                  </dl>
              </div>
          </eq>


        
        <div class="contact-info">
          <h3>订单详情</h3>
          <dl>
            <dt>下单日期:</dt>
            <dd>{$order.add_time|date='Y-m-d H:i:s',###}</dd>
            <dt>订单号:</dt>
            <dd>{$order.order_sn}</dd>
              <dt>应付金额:</dt>
              <dd><strong style="color:#777">&yen;{$order.order_amount}</strong></dd>
          </dl>
          <dl>
            <dt>配送方式:</dt>
            <dd>{$order.shipping_name}</dd>
            <dt>订单总价:</dt>
            <dd>&yen;{$order.total_amount}</dd>
            <dt>商品价格:</dt>
            <dd>&yen;{$order.goods_price}</dd>
          </dl>
          <dl>
            <dt>配送费用:</dt>
            <dd>&yen;{$order.shipping_price}</dd>
            <dt>订单优惠:</dt>
            <dd>&yen;{$order.coupon_price}</dd>
            <!--<dt>使用积分:</dt>-->
            <!--<dd>{$order.integral}</dd>-->
              <dt>使用余额:</dt>
              <dd>&yen;{$order.user_money}</dd>
          </dl>

        </div>
		 
      </div>
  	</div>

	<div style="width:1000px">
      		<a href="javascript:window.print();" style="float:center" class="ncap-btn-big ncap-btn-green" ><i class="fa fa-print"></i>打印订单</a>
      </div>
  </div>
</div>
<script type="text/javascript">
     
</script>
</body>
</html>