index.html 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <include file="public@header" />
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a >{$configpub['name_coin']}消费记录列表</a></li>
  7. </ul>
  8. <form class="well form-inline margin-top-20" method="post" name="form1" action="">
  9. 收支类型:
  10. <select class="form-control" name="type">
  11. <option value="">全部</option>
  12. <volist name="type" id="v">
  13. <option value="{$key}" <if condition="input('request.type') neq '' && input('request.type') eq $key">selected</if>>{$v}</option>
  14. </volist>
  15. </select>
  16. 收支行为:
  17. <select class="form-control" name="action">
  18. <option value="">全部</option>
  19. <volist name="action" id="v">
  20. <option value="{$key}" <if condition="input('request.action') neq '' && input('request.action') eq $key">selected</if>>{$v}</option>
  21. </volist>
  22. </select>
  23. 时间:
  24. <input class="form-control js-bootstrap-date" name="start_time" id="start_time" autocomplete="off" value="{:input('request.start_time')}" aria-invalid="false" style="width: 110px;"> -
  25. <input class="form-control js-bootstrap-date" name="end_time" id="end_time" autocomplete="off" value="{:input('request.end_time')}" aria-invalid="false" style="width: 110px;">
  26. 会员:
  27. <input class="form-control" type="text" name="uid" style="width: 200px;" value="{:input('request.uid')}"
  28. placeholder="请输入会员ID、靓号">
  29. 主播:
  30. <input class="form-control" type="text" name="touid" style="width: 200px;" value="{:input('request.touid')}"
  31. placeholder="请输入主播ID">
  32. <input type="button" class="btn btn-primary" value="搜索" onclick="form1.action='{:url('Coinrecord/index')}';form1.submit();"/>
  33. <input type="button" class="btn btn-success" value="导出" onclick="form1.action='{:url('Coinrecord/export')}';form1.submit();"/>
  34. </form>
  35. <form method="post" class="js-ajax-form">
  36. <table class="table table-hover table-bordered">
  37. <thead>
  38. <tr>
  39. <th>ID</th>
  40. <th>收支类型</th>
  41. <th>收支行为</th>
  42. <th>会员 (ID)</th>
  43. <th>主播 (ID)</th>
  44. <th>行为说明 (ID)</th>
  45. <th>数量</th>
  46. <th>总价</th>
  47. <th>直播id</th>
  48. <th>是否背包礼物</th>
  49. <th>时间</th>
  50. <!-- <th>{:lang('ACTIONS')}</th> -->
  51. </tr>
  52. </thead>
  53. <tbody>
  54. <php>$ispack=array('0'=>'否','1'=>'是');</php>
  55. <foreach name="lists" item="vo">
  56. <tr>
  57. <td>{$vo.id}</td>
  58. <td>{$type[$vo['type']]}</td>
  59. <td>{$action[$vo['action']]}</td>
  60. <td>{$vo['userinfo']['user_nicename']} ({$vo['uid']})</td>
  61. <td>{$vo['touserinfo']['user_nicename']} ({$vo['touid']})</td>
  62. <td>{$vo['giftinfo']['giftname']} ({$vo['giftid']})</td>
  63. <td>{$vo['giftcount']}</td>
  64. <td>{$vo['totalcoin']}</td>
  65. <td>{$vo['showid']}</td>
  66. <td>{$ispack[$vo['ispack']]}</td>
  67. <td>{:date('Y-m-d H:i:s',$vo['addtime'])}</td>
  68. <!-- <td> -->
  69. <!-- <a class="btn btn-xs btn-primary" href='{:url("Coinrecord/edit",array("id"=>$vo["id"]))}'>{:lang('EDIT')}</a>
  70. <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('Coinrecord/del',array('id'=>$vo['id']))}">{:lang('DELETE')}</a> -->
  71. <!-- </td> -->
  72. </tr>
  73. </foreach>
  74. </tbody>
  75. </table>
  76. <div class="pagination">{$page}</div>
  77. </form>
  78. </div>
  79. <script src="__STATIC__/js/admin.js"></script>
  80. </body>
  81. </html>