ownhome.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/4/19
  6. * Time: 上午11:01
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/routine/ownhome.js");
  10. ?>
  11. <style>
  12. body {padding: 15px;}
  13. .layui-elem-quote {margin-bottom: 0;border-left: none;padding: 10px;}
  14. </style>
  15. <form action="" class="layui-form">
  16. <fieldset class="layui-elem-field">
  17. <legend>搜索信息</legend>
  18. <div class="layui-field-box">
  19. <blockquote class="quoteBox demoTable">
  20. <div class="layui-input-inline">
  21. <select name="content_status">
  22. <option value="">阅读状态</option>
  23. <option value="2">已读</option>
  24. <option value="1">未读</option>
  25. </select>
  26. </div>
  27. <div class="layui-input-inline">
  28. <select name="reply_status">
  29. <option value="">回复状态</option>
  30. <option value="2">已回复</option>
  31. <option value="1">未回复</option>
  32. </select>
  33. </div>
  34. <span> 楼盘名称:</span>
  35. <div class="layui-inline">
  36. <div class="layui-input-inline">
  37. <input type="text" name="house_text" class="layui-input searchVal" placeholder="请输入搜索的内容"/>
  38. </div>
  39. </div>
  40. <div class="layui-inline">
  41. <a class="layui-btn search_btn wu_search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  42. </div>
  43. </blockquote>
  44. </div>
  45. </fieldset>
  46. <input type="hidden" name="type" value="<?= $type ?>">
  47. </form>
  48. <?php if ($type == 1) { ?>
  49. <blockquote class="layui-elem-quote quoteBox demoTable">
  50. <div class="layui-btn-group demoTable">
  51. <a class="layui-btn" data-type="addData">新增</a>
  52. </div>
  53. </blockquote>
  54. <?php } ?>
  55. <table id="citylist" lay-filter="citylist"></table>
  56. <script type="text/html" id="operate">
  57. <a class="layui-btn layui-btn-xs" lay-event="yuedu">阅读</a>
  58. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  59. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  60. </script>