detail.html 7.77 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;
}

a.green{
	
	background: #fff none repeat scroll 0 0;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
    color: #999;
    cursor: pointer !important;
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    height: 20px;
    letter-spacing: normal;
    line-height: 20px;
    margin: 0 5px 0 0;
    padding: 1px 6px;
    vertical-align: top;
}

a.green:hover { color: #FFF; background-color: #1BBC9D; border-color: #16A086; }

.ncap-order-style .ncap-order-details{
	margin:20px auto;
}
.contact-info h3,.contact-info .form_class{
  display: inline-block;
  vertical-align: middle;
}
.form_class i.fa{
  vertical-align: text-bottom;
}
</style>
<div class="page">
  <div class="fixed-bar">
    <div class="item-title"><a class="back" href="{$url|default='javascript:window.history.go(-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">
      <form id="order-action">
        <div class="tabs-panels">
        <div class="misc-info">
           <h3>基本信息</h3>
           		<dl>


		            <dt>礼包编号:</dt>
		            <dd>{$order.order_sn}</dd>
                    <dt>会员手机:</dt>
                    <dd>{$order.mobile}</dd>
                    <dt>应付金额:</dt>
                    <dd>{$order.order_amount}</dd>
		          </dl>

			       <dl>
	              	<dt>订单状态:</dt>
		            <dd>{$order['order_status_desc']}</dd>
		            <dt>下单时间:</dt>
		            <dd>{$order.add_time|date='Y-m-d H:i',###}</dd>
		            <dt>支付时间:</dt>
		            <dd><if condition="$order.pay_time neq 0">{$order.pay_time|date='Y-m-d H:i',###}<else/>N</if></dd>
			       </dl>

                   <dl>
                        <dt>门店信息:</dt>
                        <dd>{$order['pickup_name']}</dd>
                       <dt>礼包类型(收礼人可见):</dt>
                       <dd>{$order['lb_typename']}</dd>
                       <dt>备注:</dt>
                       <dd>{$order['user_note']}</dd>
                    </dl>

           
        	</div>


         
        <div class="goods-info">
          <h4>商品信息</h4>
          <table>
            <thead>
              <tr>
                <th colspan="2">商品</th>
                <th class="w100">规格</th>
                <th class="w100">数量</th>
                <th class="w100">单品价格</th>
                <th class="w120">会员折扣价</th>
                <th class="w100">单品小计</th>
                <th class="w100">商品操作</th>
              </tr>
            </thead>
            <tbody>
            <volist name="orderGoods" id="good">
           	<tr>
                <td class="w30"><div class="goods-thumb"><a href="{:U('Mobile/Goods/goodsInfo',array('id'=>$good['goods_id'],'stoid'=>getAdmStoId()))}" target="_blank"><img alt="" src="{:getImg($good.original_img,'__PUBLIC__/images/not_adv.jpg',0,1)}" /> </a></div></td>
                <td style="text-align: left;" class="w350"><a href="{:U('Mobile/Goods/goodsInfo',array('id'=>$good['goods_id'],'stoid'=>getAdmStoId()))}" target="_blank">{$good.goods_name}</a><br/>商品编号:{$good.goods_sn}<br/>商品条码:{$good.sku0}</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.member_goods_price}</td>
                <td class="w100">{$good.goods_total}</td>
                <td class="w100"><eq name=":isReturn($order.order_id,$good.goods_id)" value="0">

                    <else/>
                    <a href="{:U('Admin/order/return_info',array('id'=>return_id($order['order_id'],$good.goods_id)))}"
                       style="color:#999;">{:ReturnType($order.order_id,$good.goods_id)}</a>
                </eq></td>
              </tr>
              </volist>
          </table>
        </div>
        <div class="total-amount contact-info">
          <h3>订单总额:¥{$order.total_amount}</h3>
        </div>
        <div class="contact-info">
          <h3>费用信息 </h3>
          <div class="form_class">
          		<!--<a class="btn green" href="{:U('Admin/Order/editprice',array('order_id'=>$order['order_id']))}"><i class="fa fa-pencil-square-o"></i>修改费用</a>-->
          </div>   
          <dl>
            <dt>小计:</dt>
            <dd>{$order.goods_price}</dd>
            <dt>运费:</dt>
            <dd>+{$order.shipping_price}</dd>
              <dt>余额抵扣:</dt>
              <dd>-{$order.user_money}</dd>
          </dl>
          <dl>

            <dt>优惠券抵扣:</dt>
            <dd>-{$order.coupon_price}</dd>
            <dt>价格调整: </dt>
            <dd>减:{$order.discount}</dd>
              <dt>应付 : </dt>
              <dd><strong class="red_common">{$order.order_amount}</strong></dd>
          </dl>
          <dl>
              <dt>积分:</dt>
              <dd>-{$order.integral}</dd>
              <dt>订单优惠:</dt>
              <dd>-{$order.order_prom_amount+$order.discount_amount}</dd>
              <if condition="$order.return_amount neq 0">
                  <dt>退款金额:</dt>
                  <dd>{$order.return_amount}</dd>
              </if>
           </dl>
        </div>
            <div class="goods-info">
                <h4>领取记录(单个可领{$order.kl_num}件,已领取{$lqorder_count}份)</h4>
                <table>
                    <thead>
                    <tr>
                        <th>昵称</th>
                        <th>领取时间</th>
                        <th>商品信息</th>
                        <th>数量</th>

                    </tr>
                    </thead>
                    <tbody>
                    <empty name="lqorder">
                        <tr>
                            <td colspan="20" class="norecord">
                                <div class="warning-option"><i class="icon-warning-sign"></i><span>暂无领取记录</span>
                                </div>
                            </td>
                        </tr>
                        <else/>
                    <volist name="lqorder" id="lq">
                        <tr>
                            <td class="text-center">{$lq.consignee}</td>
                            <td class="text-center">{$lq.add_time|date='Y-m-d H:i:s',###}</td>
                            <td class="text-center">{$lq.goods_name}</td>
                            <td class="text-center">{$lq.goods_num}</td>
                        </tr>
                    </volist>
                    </empty>
                </table>
            </div>

      </div>
      </form>
  	</div>
  </div>
</div>
<script type="text/javascript">


function delfun() {
	// 删除按钮
	layer.confirm('确认删除?', {
		btn: ['确定'] //按钮
	}, function () {
		console.log("确定");
	}, function () {
		console.log("取消");
	});
}

 
</script>
</body>
</html>