theme.php 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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::addScript($this,Yii::$app->request->baseUrl."/company/ceshi.js");
  10. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/dictionarya/theme.js");
  11. ?>
  12. <style>
  13. body {padding: 15px;}
  14. .layui-elem-quote {margin-bottom: 0;border-left: none;padding: 10px;}
  15. .layui-table-page .layui-laypage {float:right;margin-right:1%;}
  16. </style>
  17. <blockquote class="layui-elem-quote quoteBox demoTable">
  18. <div class="layui-btn-group demoTable" >
  19. <button class="layui-btn" data-type="addData">新增</button>
  20. <!-- <button class="layui-btn" data-type="getCheckLength">获取选中数目</button>-->
  21. <!-- <button class="layui-btn" data-type="isAll">验证是否全选</button>-->
  22. </div>
  23. </blockquote>
  24. <table id="themelist" lay-filter="themelist"></table>
  25. <script type="text/html" id="operate">
  26. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  27. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  28. </script>