home.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/14
  6. * Time: 下午3:24
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/wx/wx.js");
  10. ?>
  11. <!--<style>-->
  12. <!-- .layui-table-view .layui-form-switch {right:15px;}-->
  13. <!-- .layui-form-switch {height:18px;line-height:18px;padding:0 4px;}-->
  14. <!-- .layui-form-switch i {top:1px;left:2px}-->
  15. <!-- .layui-form-onswitch i {left:32px;}-->
  16. <!-- .layui-table-page .layui-laypage {float:right;margin-right:1%;}-->
  17. <!-- .layui-table-view .layui-form-switch{right:0px}-->
  18. <!--</style>-->
  19. <style>
  20. body {
  21. padding: 15px;
  22. }
  23. .layui-elem-quote {
  24. margin-bottom: 0;
  25. border-left: none;
  26. padding: 10px;
  27. }
  28. </style>
  29. <form class="layui-form">
  30. <fieldset class="layui-elem-field">
  31. <legend>搜索信息</legend>
  32. <div class="layui-field-box">
  33. <blockquote class="quoteBox demoTable">
  34. <div class="layui-input-inline" style="width:100px">
  35. <select name="input_house">
  36. <option value="name" selected="">昵称</option>
  37. <option value="id">抽奖码</option>
  38. </select>
  39. </div>
  40. <div class="layui-inline">
  41. <div class="layui-input-inline">
  42. <input type="text" name="name" class="layui-input searchVal" placeholder="请输入昵称"/>
  43. </div>
  44. </div>
  45. <div class="layui-inline">
  46. <a class="layui-btn search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  47. </div>
  48. </blockquote>
  49. </div>
  50. </fieldset>
  51. <blockquote class="layui-elem-quote quoteBox demoTable">
  52. <div class="layui-inline">
  53. <a class="layui-btn layui-btn-normal " data-type="addData">添加</a>
  54. </div>
  55. </blockquote>
  56. <table id="wxuserlist" lay-filter="wxuserlist"></table>
  57. <!--操作-->
  58. <script type="text/html" id="housesListBar">
  59. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  60. <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
  61. </script>
  62. </form>