homediscount.php 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/push/homediscount.js");
  4. ?>
  5. <style>
  6. body {
  7. padding: 15px;
  8. }
  9. .layui-elem-quote {
  10. margin-bottom: 0;
  11. border-left: none;
  12. padding: 10px;
  13. }
  14. .layui-table-page .layui-laypage {
  15. float: right;
  16. margin-right: 1%;
  17. }
  18. .layui-table-view .layui-form-switch {
  19. right: 0px
  20. }
  21. </style>
  22. <form action="" class="layui-form">
  23. <!-- <fieldset class="layui-elem-field">-->
  24. <!-- <legend>搜索信息</legend>-->
  25. <!-- <div class="layui-field-box">-->
  26. <!-- <blockquote class="quoteBox demoTable">-->
  27. <!-- <div class="layui-input-inline">-->
  28. <!-- --><?php //if (!empty($city)) { ?>
  29. <!-- <select name="input_city">-->
  30. <!-- <option value="">请选择区域</option>-->
  31. <!-- --><?php //foreach ($city as $k => $v) { ?>
  32. <!-- <option value="--><?php //echo $v['id'] ?><!--">--><?php //echo $v['city_name'] ?><!--</option>-->
  33. <!-- --><?php //} ?>
  34. <!-- </select>-->
  35. <!-- --><?php //} ?>
  36. <!-- </div>-->
  37. <!---->
  38. <!-- <div class="layui-inline">-->
  39. <!-- <div class="layui-input-inline">-->
  40. <!-- <input type="text" name="input_house_text" class="layui-input searchVal"-->
  41. <!-- placeholder="请输入搜索的内容"/>-->
  42. <!-- </div>-->
  43. <!-- </div>-->
  44. <!---->
  45. <!-- <div class="layui-inline">-->
  46. <!-- <a class="layui-btn search_btn" data-type="reload"><i-->
  47. <!-- class="layui-icon layui-icon-search"></i>搜索</a>-->
  48. <!-- </div>-->
  49. <!-- <div class="layui-inline">-->
  50. <!-- <a class="layui-btn layui-btn-danger search_btn layui_w_btn" lay-submit=""-->
  51. <!-- lay-filter="del_alls_push">批量删除</a>-->
  52. <!-- </div>-->
  53. <!---->
  54. <!-- </blockquote>-->
  55. <!-- </div>-->
  56. <!-- </fieldset>-->
  57. </form>
  58. <blockquote class="layui-elem-quote quoteBox demoTable">
  59. <div class="layui-btn-group demoTable">
  60. <a class="layui-btn" data-type="addData">新增</a>
  61. </div>
  62. </blockquote>
  63. <table id="videolist" lay-filter="videolist"></table>
  64. <script type="text/html" id="operate">
  65. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  66. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  67. </script>