developers_house.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: PFG2018
  5. * Date: 2019/6/24
  6. * Time: 14:49
  7. */
  8. use backend\assets\AppAsset;
  9. $city = new \common\models\CategoryCity();
  10. $city->state = 1;
  11. $city->pid = 0;
  12. $citys = $city->getList([]);
  13. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/pushma/developers_house.js");
  14. ?>
  15. <style>
  16. body {
  17. padding: 15px;
  18. }
  19. .layui-elem-quote {
  20. margin-bottom: 0;
  21. border-left: none;
  22. padding: 10px;
  23. }
  24. </style>
  25. <form action="" class="layui-form">
  26. <fieldset class="layui-elem-field">
  27. <legend>搜索信息</legend>
  28. <div class="layui-field-box">
  29. <blockquote class="quoteBox demoTable">
  30. <div class="layui-input-inline">
  31. <?php if(!empty($citys)){ ?>
  32. <select name="input_city">
  33. <option value="" >请选择区域</option>
  34. <?php foreach($citys as $k=>$v){ ?>
  35. <option value="<?php echo $v['id'] ?>" ><?php echo $v['city_name'] ?></option>
  36. <?php } ?>
  37. </select>
  38. <?php } ?>
  39. </div>
  40. <div class="layui-inline">
  41. <div class="layui-input-inline">
  42. <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入搜索的楼盘" />
  43. </div>
  44. </div>
  45. <div class="layui-inline">
  46. <a class="layui-btn search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  47. </div>
  48. <!-- <div class="layui-inline">-->
  49. <!-- <div class="layui-input-inline">-->
  50. <!-- <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入搜索的内容" />-->
  51. <!-- </div>-->
  52. <!-- </div>-->
  53. <!-- <div class="layui-inline">-->
  54. <!-- <a class="layui-btn search_btn" data-type="reload">搜索</a>-->
  55. <!-- </div>-->
  56. </blockquote>
  57. </div></fieldset>
  58. <input type="hidden" name="developers_id" value="<?= $id ?>">
  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. </div></blockquote>
  64. <table id="videolist" lay-filter="videolist"></table>
  65. <script type="text/html" id="operate">
  66. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  67. </script>