index.html 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <include file="Public:header"/>
  2. <script src="__PUBLIC__/Admin/js/layer/laydate/laydate.js"></script>
  3. <div id="main-content">
  4. <div id="top-alert" class="fixed alert alert-error" style="display: none;">
  5. <button class="close fixed" style="margin-top: 4px;">&times;</button>
  6. <div class="alert-content">警告内容</div>
  7. </div>
  8. <div id="main" class="main">
  9. <div class="main-title-h">
  10. <span class="h1-title">财务明细</span>
  11. </div>
  12. <div class="cf">
  13. <div class="search-form fl cf">
  14. <div class="sleft">
  15. <form name="formSearch" id="formSearch" method="get" name="form1" >
  16. <select style=" width: 160px; float: left; margin-right: 10px;" name="field" class="form-control">
  17. <option value="username" <eq name="Think.get.field" value="username">selected</eq>>用户名</option>
  18. </select>
  19. <input type="text" name="name" class="search-input form-control " value="{$Think.get.name}" placeholder="请输入查询内容" style="">
  20. <a class="sch-btn" href="javascript:;" id="search"> <i class="btn-search"></i> </a>
  21. </form>
  22. <script>
  23. //搜索功能
  24. $(function(){
  25. $('#search').click(function(){
  26. $('#formSearch').submit();
  27. });
  28. });
  29. //回车搜索
  30. $(".search-input").keyup(function(e){
  31. if(e.keyCode===13){
  32. $("#search").click();
  33. return false;
  34. }
  35. });
  36. </script>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="data-table table-striped">
  41. <table class="">
  42. <thead>
  43. <tr>
  44. <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
  45. <th class="">ID</th>
  46. <th class="">用户名</th>
  47. <th class="">操作币种</th>
  48. <th class="">操作数量</th>
  49. <th class="">操作类型</th>
  50. <th class="">操作之后</th>
  51. <th class="">操作说明</th>
  52. <th class="">操作时间</th>
  53. <th class="">状态</th>
  54. </tr>
  55. </thead>
  56. <tbody>
  57. <notempty name="list">
  58. <volist name="list" id="vo">
  59. <tr>
  60. <td><input class="ids" type="checkbox" name="id[]" value="{$vo.id}"/></td>
  61. <td>{$vo.id}</td>
  62. <td>{$vo.username}</td>
  63. <td><?php echo strtoupper($vo['coinname']);?></td>
  64. <td>{$vo.num}</td>
  65. <td><?php if($vo['type'] == '55'){
  66. echo '后台手动操作';
  67. }else{
  68. echo gettype_info($vo['type']);
  69. } ?></td>
  70. <td>{$vo.afternum}</td>
  71. <td>{$vo['remark']}</td>
  72. <td>{$vo['addtime']}</td>
  73. <td>正常</td>
  74. </tr>
  75. </volist>
  76. <else/>
  77. <td colspan="12" class="text-center empty-info"><i class="glyphicon glyphicon-exclamation-sign"></i>暂无数据</td>
  78. </notempty>
  79. </tbody>
  80. </table>
  81. <div class="page">
  82. <div>{$page}</div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. <include file="Public:footer"/>
  88. <block name="script">
  89. <script type="text/javascript" charset="utf-8">
  90. //导航高亮
  91. highlight_subnav("{:U('Finance/index')}");
  92. </script>
  93. </block>