label.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/6
  6. * Time: 下午2:30
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addCss($this,Yii::$app->request->baseUrl."/static/layui/css/treetable.css");
  10. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/newslabel/knowledge.js");
  11. ?>
  12. <style>
  13. body {
  14. padding: 15px;
  15. }
  16. .layui-elem-quote {
  17. margin-bottom: 0;
  18. border-left: none;
  19. padding: 10px;
  20. }
  21. .layui-table-page .layui-laypage {float:right;margin-right:1%;}
  22. </style>
  23. <form class="layui-form">
  24. <fieldset class="layui-elem-field">
  25. <legend>搜索信息</legend>
  26. <div class="layui-field-box">
  27. <blockquote class="quoteBox demoTable">
  28. <div class="layui-input-inline">
  29. <select name="province" lay-filter="province" lay-search="">
  30. <option value="">请选择主栏目</option>
  31. </select>
  32. </div>
  33. <div class="layui-input-inline">
  34. <select name="city" lay-filter="city" lay-search="">
  35. <option value="">请选择子栏目</option>
  36. </select>
  37. </div>
  38. <div class="layui-inline">
  39. <a class="layui-btn search_btn wu_search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  40. </div>
  41. </blockquote>
  42. </div></fieldset>
  43. </form>
  44. <blockquote class="layui-elem-quote quoteBox demoTable">
  45. <div class="layui-input-inline">
  46. <a class="layui-btn layui-btn-normal" data-type="addDatas">新增</a>
  47. <!-- <button class="layui-btn" data-type="getCheckLength">获取选中数目</button>-->
  48. <!-- <button class="layui-btn" data-type="isAll">验证是否全选</button>-->
  49. </div></blockquote>
  50. <table id="menulist" lay-filter="menulist"></table>
  51. <script type="text/html" id="operate">
  52. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  53. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  54. </script>