|
@@ -1,6 +1,8 @@
|
|
|
{extend name='admin@main'}
|
|
|
{block name="button"}
|
|
|
<a href="javascript:history.go(-1);" data-title="返 回" class='layui-btn layui-btn-sm layui-btn-primary'>返 回</a>
|
|
|
+<button data-action='{:url("del")}' data-confirm="确定要删除吗?" data-csrf="{:systoken('del')}" data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>批量删除</button>
|
|
|
+
|
|
|
{/block}
|
|
|
{block name="content"}
|
|
|
<div class="think-box-shadow">
|
|
@@ -8,6 +10,8 @@
|
|
|
<table class="layui-table margin-top-20" lay-skin="line">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
+ <th class='list-table-check-td think-checkbox'><input data-auto-none data-check-target='.list-check-box' type='checkbox'></th>
|
|
|
+ <th class='text-left nowrap' >ID</th>
|
|
|
<th class='text-left nowrap' >用户</th>
|
|
|
<th class='text-left ' style="width: 60%">评论内容</th>
|
|
|
<th class='text-left nowrap' >时间</th>
|
|
@@ -18,6 +22,8 @@
|
|
|
<tbody>
|
|
|
{foreach $list as $key=>$vo}
|
|
|
<tr>
|
|
|
+ <td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>
|
|
|
+ <td class='text-left '>{$vo.id|default=''}</td>
|
|
|
<td class='text-left nowrap'>
|
|
|
<img data-tips-image style="width:50px;height:50px" src="{$vo.headimg|default=''}" class="margin-right-5 text-top">
|
|
|
<div class="inline-block">
|