index.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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/city.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. <!-- <div class="layui-inline">-->
  33. <!-- <div class="layui-input-inline">-->
  34. <!-- <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入搜索的内容" />-->
  35. <!-- </div>-->
  36. <!-- </div>-->
  37. <div class="layui-input-inline">
  38. <select name="input_city" lay-search>
  39. <option value="" >请选择区域</option>
  40. <?php foreach ($city as $val){?>
  41. <option value="<?php echo $val['id']?>" ><?php echo $val['city_name']?></option>
  42. <?php }?>
  43. </select>
  44. </div>
  45. <div class="layui-inline">
  46. <a class="layui-btn search_btn wu_search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  47. </div>
  48. </blockquote>
  49. </div></fieldset>
  50. </form>
  51. <blockquote class="layui-elem-quote quoteBox demoTable">
  52. <div class="layui-btn-group demoTable" >
  53. <a class="layui-btn" data-type="addData">新增</a>
  54. <!-- <button class="layui-btn" data-type="getCheckLength">获取选中数目</button>-->
  55. <!-- <button class="layui-btn" data-type="isAll">验证是否全选</button>-->
  56. </div></blockquote>
  57. <table id="citylist" lay-filter="citylist"></table>
  58. <script type="text/html" id="operate">
  59. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  60. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  61. </script>