Showing
1 changed file
with
3 additions
and
11 deletions
| @@ -3,15 +3,7 @@ | @@ -3,15 +3,7 @@ | ||
| 3 | <fieldset class="layui-elem-field layui-field-title"> | 3 | <fieldset class="layui-elem-field layui-field-title"> |
| 4 | <legend>评论管理</legend> | 4 | <legend>评论管理</legend> |
| 5 | </fieldset> | 5 | </fieldset> |
| 6 | - <div class="demoTable"> | ||
| 7 | - <div class="layui-inline"> | ||
| 8 | - <input class="layui-input" name="key" id="key" placeholder="{:lang('pleaseEnter')}关键字"> | ||
| 9 | - </div> | ||
| 10 | - <button class="layui-btn" id="search" data-type="reload">{:lang('search')}</button> | ||
| 11 | - <a href="{:url('index')}" class="layui-btn">显示全部</a> | ||
| 12 | - <a href="{:url('add')}" class="layui-btn" style="float:right;"><i class="fa fa-plus" aria-hidden="true"></i>{:lang('add')}评论</a> | ||
| 13 | - <div style="clear: both;"></div> | ||
| 14 | - </div> | 6 | + |
| 15 | <table class="layui-table" id="list" lay-filter="list"></table> | 7 | <table class="layui-table" id="list" lay-filter="list"></table> |
| 16 | </div> | 8 | </div> |
| 17 | {include file="common/foot"/} | 9 | {include file="common/foot"/} |
| @@ -67,7 +59,7 @@ | @@ -67,7 +59,7 @@ | ||
| 67 | } | 59 | } |
| 68 | tableIn.reload({ page: {page: 1}, where: {key: key}}); | 60 | tableIn.reload({ page: {page: 1}, where: {key: key}}); |
| 69 | }); | 61 | }); |
| 70 | - table.on('tool(list)', function(obj) { | 62 | + /*table.on('tool(list)', function(obj) { |
| 71 | var data = obj.data; | 63 | var data = obj.data; |
| 72 | if (obj.event === 'del'){ | 64 | if (obj.event === 'del'){ |
| 73 | layer.confirm('您确定要删除该节日吗?', function(index){ | 65 | layer.confirm('您确定要删除该节日吗?', function(index){ |
| @@ -84,7 +76,7 @@ | @@ -84,7 +76,7 @@ | ||
| 84 | layer.close(index); | 76 | layer.close(index); |
| 85 | }); | 77 | }); |
| 86 | } | 78 | } |
| 87 | - }); | 79 | + });*/ |
| 88 | $('body').on('blur','.list_order',function() { | 80 | $('body').on('blur','.list_order',function() { |
| 89 | var id = $(this).attr('data-id'); | 81 | var id = $(this).attr('data-id'); |
| 90 | var sort = $(this).val(); | 82 | var sort = $(this).val(); |
-
Please register or login to post a comment