<div class="layuimini-container layuimini-page-anim">
	<div class="layuimini-main">
		<table class="layui-hide" id="currentTableId" lay-filter="currentTableFilter"></table>
		<script type="text/html" id="toolbarDemo">
			<div class="layui-btn-container">
				<button class="layui-btn layui-btn-normal layui-btn-sm data-add-btn" lay-event="add"> 添加 </button>
				<button class="layui-btn layui-btn-danger layui-btn-sm data-add-btn" lay-event="delete"> 批量删除 </button>
			</div>
		</script>
		<script type="text/html" id="currentTableBar">
			<a class="layui-btn layui-btn-xs data-count-edit" lay-event="edit"><i class="layui-icon">&#xe642;</i></a>
			<a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete"><i class="layui-icon">&#xe640;</i></a>
		</script>
		<script type="text/html" id="rfile">
			<div>
				{{d.rfile}}
			</div>
		</script>
	</div>
</div>
<script>
	var cols = [
		[{
				type: "checkbox",
				width: 50
			},
			{
				field: 'title',
				title: '名称',
				minWidth: 300,
				edit: true
			},
			{
				title: '图片',
				templet: '#rfile',
				minWidth: 100
			},
			{
				title: '状态',
				templet: '#status',
				width: 100,
				align: 'center'
			},
			{
				field: 'sort',
				title: '排序',
				edit: true
			},
			{
				title: '操作',
				minWidth: 150,
				toolbar: '#currentTableBar',
				align: "center"
			}
		]
	]
</script>
<?
// $duoduo->get_table_desc("article");
$name = "幻灯片";
include(ADMINROOT . '/template/public/list.tpl.php'); //公共模板
?>