price.php 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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/pushcityprice/cityprice.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 {
  21. float: right;
  22. margin-right: 1%;
  23. }
  24. .layui-table-view .layui-form-switch {
  25. right: 0px
  26. }
  27. </style>
  28. <form action="" class="layui-form">
  29. <fieldset class="layui-elem-field">
  30. <legend>搜索信息</legend>
  31. <div class="layui-field-box">
  32. <blockquote class="quoteBox demoTable">
  33. <div class="layui-inline" style="margin:0px 5px 0px 30px">
  34. <div class="layui-input-inline">
  35. <select name="input_city" lay-verify="required" lay-search="">
  36. <option value="">直接选择或搜索选择</option>
  37. <optgroup label="海南">
  38. <option value="1">海口市</option>
  39. <option value="6">三亚市</option>
  40. <option value="屯昌县">屯昌县</option>
  41. <option value="文昌市">文昌市</option>
  42. <option value="定安县">定安县</option>
  43. <option value="临高县">临高县</option>
  44. </optgroup>
  45. <optgroup label="广西">
  46. <option value="北海市">北海市</option>
  47. <option value="南宁市">南宁市</option>
  48. <option value="桂林市">桂林市</option>
  49. <option value="防城港市">防城港市</option>
  50. </optgroup>
  51. </select>
  52. </div>
  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>
  59. </fieldset>
  60. <input type="hidden" name="type" value="<?php echo $type ?>">
  61. </form>
  62. <blockquote class="layui-elem-quote quoteBox demoTable">
  63. <div class="layui-btn-group demoTable">
  64. <a class="layui-btn" data-type="addData">新增</a>
  65. </div>
  66. </blockquote>
  67. <table id="videolist" lay-filter="videolist"></table>
  68. <script type="text/html" id="operate">
  69. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  70. </script>
  71. <!-- 排序 -->
  72. <script type="text/html" id="sortBox">
  73. {{# if(d.sort){ }}
  74. <div style="border:1px solid #E6E6E6;height:27px;line-height:27px;box-shadow:1px 1px 1px 1px rgba(224, 224, 224, 0.76);">
  75. {{ d.sort }}
  76. </div>
  77. {{# } }}
  78. </script>