daytoutiaoindex.php 906 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/listclassnev/daytoutiao.js");
  4. ?>
  5. <style>
  6. body {
  7. padding: 15px;
  8. }
  9. .layui-elem-quote {
  10. margin-bottom: 0;
  11. border-left: none;
  12. padding: 10px;
  13. }
  14. .layui-table-page .layui-laypage {
  15. float: right;
  16. margin-right: 1%;
  17. }
  18. .layui-table-view .layui-form-switch {
  19. right: 0px
  20. }
  21. </style>
  22. <blockquote class="layui-elem-quote quoteBox demoTable">
  23. <div class="layui-btn-group demoTable">
  24. <a class="layui-btn" data-type="addData">新增</a>
  25. </div></blockquote>
  26. <table id="toutiaolist" lay-filter="toutiaolist"></table>
  27. <script type="text/html" id="toutiaofunc">
  28. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  29. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  30. </script>