index.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/grouppurchase.js");
  4. ?>
  5. <style>
  6. body {padding: 15px;}
  7. .layui-elem-quote {margin-bottom: 0;border-left: none;padding: 10px;}
  8. .layui-table-page .layui-laypage {float:right;margin-right:1%;}
  9. .layui-table-view .layui-form-switch{right:0px}
  10. </style>
  11. <form action="" class="layui-form">
  12. <fieldset class="layui-elem-field">
  13. <legend>搜索信息</legend>
  14. <div class="layui-field-box">
  15. <blockquote class="quoteBox demoTable">
  16. <div class="layui-input-inline" >
  17. <select name="input_house" >
  18. <option value="name" selected="">团购标题</option>
  19. <option value="house_name" >所属楼盘</option>
  20. </select>
  21. </div>
  22. <div class="layui-inline">
  23. <div class="layui-input-inline">
  24. <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入搜索的内容" />
  25. </div>
  26. </div>
  27. <div class="layui-input-inline">
  28. <select name="input_city" lay-search>
  29. <option value="" >请选择区域</option>
  30. <?php foreach ($city as $val){?>
  31. <option value="<?php echo $val['id']?>" ><?php echo $val['city_name']?></option>
  32. <?php }?>
  33. </select>
  34. </div>
  35. <div class="layui-inline">
  36. <a class="layui-btn search_btn wu_search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  37. </div>
  38. </blockquote>
  39. </div></fieldset>
  40. </form>
  41. <blockquote class="layui-elem-quote quoteBox demoTable">
  42. <div class="layui-btn-group demoTable" >
  43. <a class="layui-btn" data-type="addData">新增</a>
  44. <!-- <button class="layui-btn" data-type="getCheckLength">获取选中数目</button>-->
  45. <!-- <button class="layui-btn" data-type="isAll">验证是否全选</button>-->
  46. </div></blockquote>
  47. <table id="videolist" lay-filter="videolist"></table>
  48. <script type="text/html" id="operate">
  49. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  50. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  51. </script>