{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>订单详情</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> {if condition="$info['cate'] eq 1"} <td>早餐</td> {/if} {if condition="$info['cate'] eq 2"} <td>午餐</td> {/if} {if condition="$info['cate'] eq 3"} <td>晚餐</td> {/if} {if condition="$info['cate'] eq 4"} <td>当日餐</td> {/if} </tr>--> <!-- <tr> <th>配送时间</th><td>{$info['delivery_time']}</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> {if condition="$info['status'] eq 1"} <td>已预订</td> {/if} {if condition="$info['status'] eq 2"} <td>已取消</td> {/if} </tr> </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: 80px;height: 60px;" ></td> <td>{$v['title']}</td> <td>{$v['price']}</td> <td>{$v['nums']}</td> </tr> {/volist} </tbody> </table> </div> </div> </div> </div> {/block}