renovation.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/7/10
  6. * Time: 上午9:05
  7. * 装修品鉴
  8. */
  9. use backend\assets\AppAsset;
  10. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/dictionarya/renovation.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. <blockquote class="layui-elem-quote quoteBox demoTable">
  24. <div class="layui-btn-group demoTable" >
  25. <button class="layui-btn" data-type="addData">新增</button>
  26. <!-- <button class="layui-btn" data-type="getCheckLength">获取选中数目</button>-->
  27. <!-- <button class="layui-btn" data-type="isAll">验证是否全选</button>-->
  28. </div>
  29. </blockquote>
  30. <table id="Renovation" lay-filter="Renovation"></table>
  31. <script type="text/html" id="operate">
  32. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  33. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  34. </script>
  35. <!-- 排序 -->
  36. <script type="text/html" id="sortBox">
  37. {{# if(d.sort){ }}
  38. <div style="border:1px solid #E6E6E6;height:27px;line-height:27px;box-shadow:1px 1px 1px 1px rgba(224, 224, 224, 0.76);">{{ d.sort }}</div>
  39. {{# } }}
  40. </script>