说明文档更新
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
{extend name="public/base"/}
|
||||
{block name="body"}
|
||||
<div class="main-box clearfix">
|
||||
<header class="main-box-header clearfix">
|
||||
<div class="pull-left">
|
||||
<h2>{$meta_title}</h2>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-primary" href="{:url('add')}">新 增</a>
|
||||
<button class="btn btn-danger ajax-post confirm" url="{:url('del')}" target-form="ids">删 除</button>
|
||||
</div>
|
||||
</header>
|
||||
<div class="main-box-body clearfix">
|
||||
<div class="table-responsive clearfix">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30"><input class="checkbox check-all" type="checkbox"></th>
|
||||
<th width="60">ID</th>
|
||||
<th width="180">名称</th>
|
||||
<th width="140">书号</th>
|
||||
<th width="180">创建时间</th>
|
||||
<th width="180">更新时间</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{volist name="list" id="item"}
|
||||
<tr>
|
||||
<td><input class="ids row-selected" type="checkbox" name="id[]" value="{$item['id']}"></td>
|
||||
<td>{$item['id']}</td>
|
||||
<td>{$item['book_name']}</td>
|
||||
<td>{$item['book_list_no']}</td>
|
||||
<td>{$item['create_time']|date='Y-m-d H:i',###}</td>
|
||||
<td>{$item['date_last_modify']|date='Y-m-d H:i',###}</td>
|
||||
<td>
|
||||
<a title="移动" href="{:url('edit?id='.$item['id'])}">编辑</a>
|
||||
<a title="删除" href="{:url('del?id='.$item['id'])}" class="confirm ajax-get">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/volist}
|
||||
</tbody>
|
||||
</table>
|
||||
{$page}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -1,58 +0,0 @@
|
||||
{extend name="public/base"/}
|
||||
{block name="body"}
|
||||
<div class="main-box clearfix">
|
||||
<header class="main-box-header clearfix">
|
||||
<div class="pull-left">
|
||||
<h2>{$meta_title}</h2>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
</div>
|
||||
</header>
|
||||
<div class="main-box-body clearfix">
|
||||
<div class="row" style="padding: 10px;">
|
||||
<div class="col-sm-12">
|
||||
<form class="form form-inline" method="post">
|
||||
<div class="form-group">
|
||||
<label for="order_no">订单号:</label>
|
||||
<input type="text" class="form-control" name="order_no" id="order_no" placeholder="订单号">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">查找</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive clearfix">
|
||||
{volist name="list" id="item"}
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
订单号:{$item['order_no']}({$item['create_time']|date='Y-m-d',###})
|
||||
<span class="pull-right">
|
||||
{$item['pay_status_text']}
|
||||
</span>
|
||||
</div>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>图书</th>
|
||||
<th>图书名称</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
{volist name="item['product']" id="product"}
|
||||
<tr>
|
||||
<td width="80">
|
||||
<a href="{:url('index/book/detail', array('id'=>$product['product_id']))}" target="_blank"><img src="{:get_cover($product->book['cover_id'],'path')}" alt="{$product->book['book_name']}" width="60"></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{:url('index/book/detail', array('id'=>$product['product_id']))}" target="_blank">{$product->book['book_name']}</a>
|
||||
</td>
|
||||
<td width="120">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{/volist}
|
||||
</table>
|
||||
</div>
|
||||
{/volist}
|
||||
{$page}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user