123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>{$meta_title}</h5>
- <div class="ibox-tools">
- <a class="toback" href="{:url('index')}">
- 返回上一页
- </a>
- </div>
- </div>
- <div class="ibox-content">
- <table class="table table-bordered">
- <tbody>
- <tr>
- <th style="width:120px ">订单号</th><td>{$info['order_sn']}</td>
- </tr>
- <tr>
- <th>订单金额</th><td>{$info['amount']}</td>
- </tr>
- <tr>
- <th>收货人</th><td>{$info['name']}</td>
- </tr>
- <tr>
- <th>联系电话</th><td>{$info['phone']}</td>
- </tr>
- <tr>
- <th>详细地址</th><td>{$info['address']}</td>
- </tr>
- <tr>
- <th>创建日期</th><td>{$info['create_time']}</td>
- </tr>
- <tr>
- <th>支付日期</th><td>{$info['pay_time']}</td>
- </tr>
- <tr>
- <th>支付状态</th>
- {if condition="$info['status'] eq 0"}
- <td>未支付</td>
- {elseif condition="$info['status'] eq 1"}
- <td>已支付</td>
- {elseif condition="$info['status'] eq 2"}
- <td>已完成</td>
- {elseif condition="$info['status'] eq 3"}
- <td>已取消</td>
- {elseif condition="$info['status'] eq 4"}
- <td>已退款</td>
- {/if}
- </tr>
- <tr>
- <th>是否送货</th>
- {if condition="$info['delivery_type'] eq 0"}
- <td>否</td>
- {elseif condition="$info['delivery_type'] eq 1"}
- <td>是</td>
- {/if}
- </tr>
- {if condition = "$info['delivery_type'] eq 1"}
- <tr>
- <th>送货时间</th><td>{$info['delivery_date']}</td>
- </tr>
- {/if}
- {if $info['tk']==1}
- <tr>
- <th>操作</th><td><a href="javascript:;" url="{:url('GOrders/refund',['id'=>$info['id']])}" data-title="退款" onclick="layer_open(this,2)" class="btn btn-xs btn-danger">退款</a>
- </td>
- </tr>
- {/if}
- </tbody>
- </table>
- </div>
- <div class="ibox-content">
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>图片</th>
- <th>商品名称</th>
- <th>价格</th>
- <th>购买数量</th>
- </tr>
- </thead>
- <tbody>
- {volist name="info['goods']" id='v'}
- <tr>
- <td><img src="{$v['img']}" alt="" onclick="open_img(this)" style="width: 40px;" ></td>
- <td>{$v['title']}</td>
- <td>{$v['price']}</td>
- <td>{$v['nums']}</td>
- </tr>
- {/volist}
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- {/block}
|