rotation.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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/pushm/rotation.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-input-inline">
  34. <?php if (!empty($city)) { ?>
  35. <select name="input_city" lay-search>
  36. <option value="">请选择区域</option>
  37. <?php foreach ($city as $k => $v) { ?>
  38. <option value="<?php echo $v['id'] ?>"><?php echo $v['city_name'] ?></option>
  39. <?php } ?>
  40. </select>
  41. <?php } ?>
  42. </div>
  43. <div class="layui-inline">
  44. <div class="layui-input-inline">
  45. <input type="text" name="input_house_text" class="layui-input searchVal"
  46. placeholder="请输入搜索的内容"/>
  47. </div>
  48. </div>
  49. <div class="layui-inline">
  50. <a class="layui-btn search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  51. </div>
  52. <!-- <div class="layui-inline">-->
  53. <!-- <div class="layui-input-inline">-->
  54. <!-- <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入搜索的内容" />-->
  55. <!-- </div>-->
  56. <!-- </div>-->
  57. <!-- <div class="layui-input-inline">-->
  58. <!-- <select name="input_city">-->
  59. <!-- <option value="" >请选择区域</option>-->
  60. <!-- <option value="海口" >海口</option>-->
  61. <!-- <option value="三亚" >三亚</option>-->
  62. <!-- </select>-->
  63. <!-- </div>-->
  64. <!-- <div class="layui-inline">-->
  65. <!-- <a class="layui-btn search_btn" data-type="reload">搜索</a>-->
  66. <!-- </div>-->
  67. </blockquote>
  68. </div>
  69. </fieldset>
  70. </form>
  71. <blockquote class="layui-elem-quote quoteBox demoTable">
  72. <div class="layui-btn-group demoTable">
  73. <a class="layui-btn" data-type="addData">新增</a>
  74. </div>
  75. </blockquote>
  76. <table id="videolist" lay-filter="videolist"></table>
  77. <script type="text/html" id="operate">
  78. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  79. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  80. </script>