|
...
|
...
|
@@ -3,15 +3,7 @@ |
|
|
|
<fieldset class="layui-elem-field layui-field-title">
|
|
|
|
<legend>评论管理</legend>
|
|
|
|
</fieldset>
|
|
|
|
<div class="demoTable">
|
|
|
|
<div class="layui-inline">
|
|
|
|
<input class="layui-input" name="key" id="key" placeholder="{:lang('pleaseEnter')}关键字">
|
|
|
|
</div>
|
|
|
|
<button class="layui-btn" id="search" data-type="reload">{:lang('search')}</button>
|
|
|
|
<a href="{:url('index')}" class="layui-btn">显示全部</a>
|
|
|
|
<a href="{:url('add')}" class="layui-btn" style="float:right;"><i class="fa fa-plus" aria-hidden="true"></i>{:lang('add')}评论</a>
|
|
|
|
<div style="clear: both;"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="layui-table" id="list" lay-filter="list"></table>
|
|
|
|
</div>
|
|
|
|
{include file="common/foot"/}
|
|
...
|
...
|
@@ -67,7 +59,7 @@ |
|
|
|
}
|
|
|
|
tableIn.reload({ page: {page: 1}, where: {key: key}});
|
|
|
|
});
|
|
|
|
table.on('tool(list)', function(obj) {
|
|
|
|
/*table.on('tool(list)', function(obj) {
|
|
|
|
var data = obj.data;
|
|
|
|
if (obj.event === 'del'){
|
|
|
|
layer.confirm('您确定要删除该节日吗?', function(index){
|
|
...
|
...
|
@@ -84,7 +76,7 @@ |
|
|
|
layer.close(index);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});*/
|
|
|
|
$('body').on('blur','.list_order',function() {
|
|
|
|
var id = $(this).attr('data-id');
|
|
|
|
var sort = $(this).val();
|
...
|
...
|
|