freshcity.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/18
  6. * Time: 下午3:49
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/pushfresh/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. .layui-table-page .layui-laypage {float:right;margin-right:1%;}
  21. .layui-table-view .layui-form-switch{right:0px}
  22. </style>
  23. <form action="" class="layui-form">
  24. <fieldset class="layui-elem-field">
  25. <legend>搜索信息</legend>
  26. <div class="layui-field-box">
  27. <blockquote class="quoteBox demoTable">
  28. <div class="layui-inline" style="margin:0px 5px 0px 30px">
  29. <div class="layui-input-inline">
  30. <select name="input_city" lay-verify="required" lay-search="">
  31. <option value="">直接选择或搜索选择</option>
  32. <optgroup label="海南">
  33. <option value="1">海口市</option>
  34. <option value="6">三亚市</option>
  35. <option value="屯昌县">屯昌县</option>
  36. <option value="文昌市">文昌市</option>
  37. <option value="定安县">定安县</option>
  38. <option value="临高县">临高县</option>
  39. </optgroup>
  40. <optgroup label="广西">
  41. <option value="北海市">北海市</option>
  42. <option value="南宁市">南宁市</option>
  43. <option value="桂林市">桂林市</option>
  44. <option value="防城港市">防城港市</option>
  45. </optgroup>
  46. </select>
  47. </div>
  48. </div>
  49. <div class="layui-inline">
  50. <a class="layui-btn search_btn wu_search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  51. </div>
  52. </blockquote>
  53. </div></fieldset>
  54. </form>
  55. <blockquote class="layui-elem-quote quoteBox demoTable">
  56. <div class="layui-btn-group demoTable" >
  57. <a class="layui-btn" data-type="addData">新增</a>
  58. </div></blockquote>
  59. <table id="videolist" lay-filter="videolist"></table>
  60. <script type="text/html" id="operate">
  61. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="Relation">关联楼盘</a>
  62. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  63. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  64. </script>
  65. <!-- 排序 -->
  66. <script type="text/html" id="sortBox">
  67. {{# if(d.sort){ }}
  68. <div style="border:1px solid #E6E6E6;height:27px;line-height:27px;box-shadow:1px 1px 1px 1px rgba(224, 224, 224, 0.76);">{{ d.sort }}</div>
  69. {{# } }}
  70. </script>