hotcity.php 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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/push/city.js");
  10. ?>
  11. <style>
  12. body {padding: 15px;}
  13. .layui-elem-quote { margin-bottom: 0;border-left: none;padding: 10px;}
  14. .layui-table-page .layui-laypage {float: right; margin-right: 1%;}
  15. .layui-table-view .layui-form-switch { right: 0px}
  16. </style>
  17. <form action="" class="layui-form">
  18. <fieldset class="layui-elem-field">
  19. <legend>搜索信息</legend>
  20. <div class="layui-field-box">
  21. <blockquote class="quoteBox demoTable">
  22. <div class="layui-inline" style="margin:0px 5px 0px 30px">
  23. <div class="layui-input-inline">
  24. <select name="input_city" lay-verify="required" lay-search="">
  25. <option value="">直接选择或搜索选择</option>
  26. <optgroup label="海南">
  27. <option value="1">海口市</option>
  28. <option value="6">三亚市</option>
  29. <option value="屯昌县">屯昌县</option>
  30. <option value="文昌市">文昌市</option>
  31. <option value="定安县">定安县</option>
  32. <option value="临高县">临高县</option>
  33. </optgroup>
  34. <optgroup label="广西">
  35. <option value="北海市">北海市</option>
  36. <option value="南宁市">南宁市</option>
  37. <option value="桂林市">桂林市</option>
  38. <option value="防城港市">防城港市</option>
  39. </optgroup>
  40. </select>
  41. </div>
  42. </div>
  43. <div class="layui-inline">
  44. <a class="layui-btn search_btn wu_search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  45. </div>
  46. </blockquote>
  47. </div>
  48. </fieldset>
  49. </form>
  50. <blockquote class="layui-elem-quote quoteBox demoTable">
  51. <div class="layui-btn-group demoTable">
  52. <a class="layui-btn" data-type="addData">新增</a>
  53. </div>
  54. </blockquote>
  55. <table id="videolist" lay-filter="videolist"></table>
  56. <script type="text/html" id="operate">
  57. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  58. </script>
  59. <!-- 排序 -->
  60. <script type="text/html" id="sortBox">
  61. {{# if(d.sort){ }}
  62. <div style="border:1px solid #E6E6E6;height:27px;line-height:27px;box-shadow:1px 1px 1px 1px rgba(224, 224, 224, 0.76);">
  63. {{ d.sort }}
  64. </div>
  65. {{# } }}
  66. </script>