index.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/14
  6. * Time: 下午3:24
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/lookhouse.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-view .layui-form-switch {
  21. right: 15px;
  22. }
  23. .layui-form-switch {
  24. height: 18px;
  25. line-height: 18px;
  26. padding: 0 4px;
  27. }
  28. .layui-form-switch i {
  29. top: 1px;
  30. left: 2px
  31. }
  32. .layui-form-onswitch i {
  33. left: 32px;
  34. }
  35. .layui-table-page .layui-laypage {
  36. float: right;
  37. margin-right: 1%;
  38. }
  39. .layui-table-view .layui-form-switch {
  40. right: 0px
  41. }
  42. </style>
  43. <form class="layui-form">
  44. <fieldset class="layui-elem-field">
  45. <legend>搜索信息</legend>
  46. <div class="layui-field-box">
  47. <blockquote class="quoteBox demoTable">
  48. <div class="layui-input-inline" style="width:100px">
  49. <select name="input_house">
  50. <option value="name" selected="">标题</option>
  51. <option value="id">文档id</option>
  52. </select>
  53. </div>
  54. <div class="layui-inline">
  55. <div class="layui-input-inline">
  56. <input type="text" name="input_house_text" class="layui-input searchVal"
  57. placeholder="请输入搜索的内容"/>
  58. </div>
  59. </div>
  60. <div class="layui-input-inline">
  61. <select name="input_city">
  62. <option value="">请选择区域</option>
  63. <option value="请选择">请选择</option>
  64. <option value="三亚">三亚</option>
  65. <option value="海口">海口</option>
  66. </select>
  67. </div>
  68. <div class="layui-inline">
  69. <a class="layui-btn search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  70. </div>
  71. </blockquote>
  72. </div>
  73. </fieldset>
  74. <blockquote class="layui-elem-quote quoteBox demoTable">
  75. <div class="layui-inline">
  76. <a class="layui-btn layui-btn-normal " data-type="addData">添加看房团</a>
  77. </div>
  78. </blockquote>
  79. <table id="newsList" lay-filter="newsList"></table>
  80. <!-- <div class="layui-inline ">
  81. <a class="layui-btn search_btn" style="margin-left: 400px;margin-top:15px;" lay-submit="" lay-filter="del_alls_news">批量删除</a>
  82. </div> -->
  83. <!--操作-->
  84. <script type="text/html" id="housesListBar">
  85. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  86. <!-- <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>-->
  87. </script>
  88. </form>