index.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/18
  6. * Time: 下午3:49
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/pushrecommend/index.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. .layui-table-view .layui-form-switch{right:0px}
  22. </style>
  23. <form action="" class="layui-form">
  24. <blockquote class="layui-elem-quote quoteBox demoTable">
  25. <div class="layui-btn-group demoTable" >
  26. <a class="layui-btn" data-type="addData">新增</a>
  27. </div>
  28. <!-- <div class="layui-inline">-->
  29. <!-- <div class="layui-input-inline">-->
  30. <!-- <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入楼盘名称" />-->
  31. <!-- </div>-->
  32. <!-- </div>-->
  33. <!-- <div class="layui-inline">-->
  34. <!-- <a class="layui-btn search_btn" data-type="reload">搜索</a>-->
  35. <!-- </div>-->
  36. </blockquote>
  37. <!-- <input type="hidden" name="type" value=""> -->
  38. </form>
  39. <table id="videolist" lay-filter="videolist"></table>
  40. <script type="text/html" id="operate">
  41. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  42. <a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="upload">加载楼盘</a>
  43. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  44. </script>
  45. <!-- 排序 -->
  46. <script type="text/html" id="sortBox">
  47. {{# if(d.sort){ }}
  48. <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>
  49. {{# } }}
  50. </script>
  51. <!-- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a> -->