home.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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/comment.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. </style>
  21. <form action="" class="layui-form">
  22. <fieldset class="layui-elem-field">
  23. <legend>搜索信息</legend>
  24. <div class="layui-field-box">
  25. <blockquote class="quoteBox demoTable">
  26. <!-- <div class="layui-input-inline" >-->
  27. <!-- <select name="input_house" >-->
  28. <!-- <option value="name" selected="">视频标题</option>-->
  29. <!-- <option value="house_name" >所属楼盘</option>-->
  30. <!-- </select>-->
  31. <!-- </div>-->
  32. <span> 阅读状态:</span>
  33. <div class="layui-input-inline" >
  34. <select name="content_status" >
  35. <option value="" >请选择状态</option>
  36. <option value="2" >已读</option>
  37. <option value="1" >未读</option>
  38. </select>
  39. </div>
  40. <span> 楼盘名称:</span>
  41. <div class="layui-inline">
  42. <div class="layui-input-inline">
  43. <input type="text" name="house_text" class="layui-input searchVal" placeholder="请输入搜索的内容" />
  44. </div>
  45. </div>
  46. <!-- <div class="layui-input-inline">-->
  47. <!-- <select name="input_city">-->
  48. <!-- <option value="" >请选择区域</option>-->
  49. <!-- --><?php //foreach ($city as $val){?>
  50. <!-- <option value="--><?php //echo $val['id']?><!--" >--><?php //echo $val['city_name']?><!--</option>-->
  51. <!-- --><?php //}?>
  52. <!-- </select>-->
  53. <!-- </div>-->
  54. <div class="layui-inline">
  55. <a class="layui-btn search_btn wu_search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  56. </div>
  57. </blockquote>
  58. </div></fieldset>
  59. </form>
  60. <blockquote class="layui-elem-quote quoteBox demoTable">
  61. <div class="layui-btn-group demoTable" >
  62. <a class="layui-btn" data-type="addData">新增</a>
  63. <!-- <button class="layui-btn" data-type="getCheckLength">获取选中数目</button>-->
  64. <!-- <button class="layui-btn" data-type="isAll">验证是否全选</button>-->
  65. </div></blockquote>
  66. <table id="citylist" lay-filter="citylist"></table>
  67. <script type="text/html" id="operate">
  68. <a class="layui-btn layui-btn-xs" lay-event="chakan">查看</a>
  69. <!-- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>-->
  70. <!-- <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>-->
  71. </script>