photoalbum.php 1.0 KB

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