zzwy2/view/manager/visit_log/index_ss.html

62 lines
2.3 KiB
HTML
Executable File

{layout name="manager/layout" /}
<div class="layui-card layui-col-md12">
<div class="layui-card-body">
<div class="layui-col-xs12 between-center">
<form class="layui-form search-form" action="{:url('manager.visitLog/index')}" method="get">
<input type="hidden" name="__token__" value="{$_token}" />
<div class="layui-row">
<div class="layui-inline">
<div class="layui-inline" >
<div class="layui-input-inline">
<input type="text" name="keyword" value="{$keyword??''}" class="layui-input search-input" placeholder="请输入关键字"/>
</div>
</div>
<div class="layui-inline" >
<div class="layui-input-inline" style="width:auto">
<input type="submit" class="layui-btn layui-btn-normal" value="搜索" />
</div>
</div>
</div>
</div>
</form>
</div>
<div class="layui-clear"></div>
<hr style="margin: 20px 0;">
<table class="layui-table layui-form layui-table-nobrder" id="check_box">
<colgroup>
<col width="25px" >
<col width="150px" >
<col width="100px" >
<col width="75px">
<col>
<col width="100px">
</colgroup>
<thead>
<td><input type="checkbox" lay-skin="primary" lay-filter="parents-table" title=""/></td>
<td>来源地址</td>
<td>访问地址</td>
<td>IP</td>
<td>时间</td>
<td>操作</td>
</thead>
{foreach name="items" item="item"}
<tr class="select_box table-lv1" data-id="{$item.id}">
<td><input type="checkbox" name="checkbox" value="{$item.id}" lay-skin="primary" lay-filter="childrens-table"/></td>
<td><a href="{$item.referer}">{$item.referer}</a></td>
<td><a href="{$item.visit}">{$item.visit}</a></td>
<td>{$item.ip}</td>
<td>{$item.create_time|date='Y-m-d H:i:s'}</td>
<td>
<div style="width: 100px;">
<a class="del layui-btn layui-btn-danger layui-btn-xs" data-url="{:url('manager.article/del')}" data-id="{$item['id']}" href="javascript:void(0);">
<i class=""></i>删除
</a>
</div>
</td>
</tr>
{/foreach}
</table>
<div class="page top30">{$items->render()|raw}</div>
</div>
</div>