character.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/listpushpc/character.js");
  4. ?>
  5. <style>
  6. body {padding:15px;}
  7. .layui-table-page .layui-laypage { float: right; margin-right: 1%;}
  8. .layui-table-view .layui-form-switch {right: 0px}
  9. .layui-elem-quote {margin-bottom:0;border-left:none;padding:10px;}
  10. </style>
  11. <!--<form action="" class="layui-form">-->
  12. <!-- <fieldset class="layui-elem-field">-->
  13. <!-- <legend>搜索信息</legend>-->
  14. <!-- <div class="layui-field-box">-->
  15. <!-- <blockquote class="quoteBox demoTable">-->
  16. <!-- <div class="layui-inline">-->
  17. <!-- <span>关键词:</span>-->
  18. <!-- <div class="layui-input-inline">-->
  19. <!-- <input type="text" name="input_house_text" class="layui-input searchVal"-->
  20. <!-- placeholder="请输入搜索的内容"/>-->
  21. <!-- </div>-->
  22. <!-- </div>-->
  23. <!---->
  24. <!-- <div class="layui-inline">-->
  25. <!-- <a class="layui-btn search_btn" data-type="reload"><i-->
  26. <!-- class="layui-icon layui-icon-search"></i>搜索</a>-->
  27. <!-- </div>-->
  28. <!---->
  29. <!---->
  30. <!-- </blockquote>-->
  31. <!-- </div>-->
  32. <!-- </fieldset>-->
  33. <!--</form>-->
  34. <blockquote class="layui-elem-quote quoteBox demoTable">
  35. <div class="layui-btn-group demoTable">
  36. <a class="layui-btn" data-type="addData">新增</a>
  37. </div>
  38. <input type="hidden" id="settype" value="<?=$type_id?>">
  39. </blockquote>
  40. <table id="characterlist" lay-filter="characterlist"></table>
  41. <script type="text/html" id="characterfunc">
  42. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  43. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  44. </script>