feedback.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a href="#">反馈列表</a></li>
  7. <!-- <li><a href="{:url('kefu/add')}">添加客服</a></li> -->
  8. </ul>
  9. <form method="post" class="js-ajax-form margin-top-20" action="{:url('Kefu/index')}">
  10. <div class="table-actions">
  11. </div>
  12. <php>$status=array("1"=>lang('DISPLAY'),"0"=>lang('HIDDEN'));</php>
  13. <table class="table table-hover table-bordered table-list">
  14. <thead>
  15. <tr>
  16. <th width="16">
  17. <label><input type="checkbox" class="js-check-all" data-direction="x"
  18. data-checklist="js-check-x"></label></th>
  19. <th width="50">ID</th>
  20. <th width="90">用户昵称</th>
  21. <th>类型</th>
  22. <th>反馈内容</th>
  23. <th>照片</th>
  24. <th>创建时间</th>
  25. <th>状态</th>
  26. <th>操作</th>
  27. </tr>
  28. </thead>
  29. <tbody>
  30. <foreach name="list" item="vo">
  31. <tr>
  32. <td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
  33. value="{$vo.id}">
  34. </td>
  35. <td>{$vo.id}</td>
  36. <td>{$vo.user_nicknamet.user_nickname}</td>
  37. <php>$advicearray=config('weixin.adviceTypes');</php>
  38. <td>
  39. {$advicearray[$vo.type]}
  40. </td>
  41. <td>{$vo.remark}</td>
  42. <td><img src="/upload/{$vo.image}" style="width: 80px;height: 50px;"></img></td>
  43. <td>{:date('Y-m-d i:m:s',$vo.created_time)}</td>
  44. <td>
  45. <switch name="$vo.status">
  46. <case value='1'><font style="color: red">待审核</font></case>
  47. <case value='2'><font style="color: green">已审核</font></case>
  48. </switch>
  49. </td>
  50. <td>
  51. <a class="btn btn-xs btn-primary" href="{:url('admin_index/feedbackedit',array('id'=>$vo['id']))}">审核</a>
  52. </td>
  53. </tr>
  54. </foreach>
  55. </tbody>
  56. </table>
  57. <div class="pagination">{$page}</div>
  58. </form>
  59. </div>
  60. <script src="__STATIC__/js/admin.js"></script>
  61. </body>
  62. </html>