<table id="LAY-month-person" lay-filter="LAY-month-person"></table>

<script>
	layui.use(['admin', 'table', 'laydate', 'layer'], function() {
		var $ = layui.$,
			admin = layui.admin,
			view = layui.view,
			table = layui.table,
			laydate = layui.laydate,
			layer = layui.layer,
			form = layui.form;
		
		//订单列表
		table.render({
		  elem: '#LAY-month-person'
		  ,url: './json/table/spl.js' //模拟接口
		  ,cols: [[
		    {field: 'username', title: '姓名', sort: true}
		    ,{field: 'price', title: '订单金额'}
		    ,{title: '操作', align:'center', fixed: 'right', toolbar: '#table-useradmin-webuser'}
		  ]]
		  ,page: true
		  ,limit: 20
		  ,limits: [20, 50, 100, 1000]
		  ,height: 'full-320'
		  ,text: '对不起，加载出现异常！'
		  ,toolbar: true
		});
	});
</script>

