allhuxuan.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <include file="public@header" />
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li><a href="{:url('activity/index')}">{:lang('ADMIN_ACTIVITY_LIST')}</a></li>
  7. <li ><a href="{:url('activity/add')}">添加活动</a></li>
  8. <li class="active"><a href="#">互选情况</a></li>
  9. </ul>
  10. <form class="well form-inline margin-top-20" method="get" action="{:url('books/allhuxuan',['id'=> $Request.param.id])}">
  11. 昵称:
  12. <input type="text" class="form-control" name="nick_name" style="width: 150px;" value="{:input('request.user_login/s','')}" placeholder="请输入昵称">
  13. <input type="submit" class="btn btn-primary" value="搜索" />
  14. <a class="btn btn-danger" href="{:url('books/allhuxuan',['id'=> $Request.param.id])}">清空</a>
  15. </form>
  16. <table class="table table-hover table-bordered">
  17. <thead>
  18. <tr>
  19. <th width="16">
  20. <label>
  21. <input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
  22. </label>
  23. </th>
  24. <th width="50">ID</th>
  25. <th>昵称</th>
  26. <th>我的编号</th>
  27. <th>匹配的人</th>
  28. <th>我选的人</th>
  29. <th width="240">选择我的人</th>
  30. <th width="60">匹配状态</th>
  31. <th width="80">匹配时间</th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. <foreach name="books" item="vo">
  36. <tr>
  37. <td>
  38. <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.id}">
  39. </td>
  40. <td>{$vo.id}</td>
  41. <td>{$vo.user_nickname}</td>
  42. <td>{$vo.book_num}</td>
  43. <td>{$vo.match_name}</td>
  44. <td>{$vo.heart_name}</td>
  45. <td>{$vo.chooseme}</td>
  46. <td>
  47. <switch name="vo.status">
  48. <case value="1"><font style="color: red">待匹配</font></case>
  49. <case value="2"><font style="color: green"> 匹配成功 </font></case>
  50. <case value="3"><font style="color: #FF0080"> 匹配失败 </font></case>
  51. <case value="4"><font style="color: #daae0d"> 无效 </font></case>
  52. </switch>
  53. </td>
  54. <td>{$vo.match_at}</td>
  55. </tr>
  56. </foreach>
  57. </tbody>
  58. </table>
  59. <div class="pagination">{$page}</div>
  60. </div>
  61. <script src="__STATIC__/js/admin.js"></script>
  62. <script src="__STATIC__/js/layer/layer.js"></script>
  63. <!-- <script >
  64. function getPaike(id){
  65. var addUrl = "{:url('Books/showallme')}?id="+id;
  66. layer.open({
  67. type: 2, //1:页面层,2:iframe层,3:加载层,4:tips层。
  68. title: '选我的人',
  69. shadeClose: false, //不开启遮罩关闭,也就是说,点击弹出层其它地方不会关闭弹出框
  70. shade: 0.8, //遮罩
  71. area: ['780px', '500px'],
  72. content: addUrl,
  73. end: function () { //最后执行reload
  74. location.reload();
  75. }
  76. });
  77. }
  78. </script> -->
  79. </body>
  80. </html>