amountlog.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <include file="Public:header"/>
  2. <div id="main-content">
  3. <div id="top-alert" class="fixed alert alert-error" style="display: none;">
  4. <button class="close fixed" style="margin-top: 4px;">&times;</button>
  5. <div class="alert-content">警告内容</div>
  6. </div>
  7. <div id="main" class="main">
  8. <div class="main-title-h">
  9. <span class="h1-title">资金变更日志</span>
  10. <div class="fr">
  11. <button class="btn btn-warning" onClick="location.href='{:U('User/amountlog')}'">初始化搜索</button>
  12. </div>
  13. </div>
  14. <div>
  15. <div class="cf">
  16. <div class="fl">
  17. <button class="btn ajax-post confirm btn-danger " url="{:U('User/billdel',array('type'=>'1'))}" target-form="ids">删 除</button>
  18. </div>
  19. <div class="search-form fr cf" style="float: none !important;">
  20. <div class="sleft">
  21. <form name="formSearch" id="formSearch" method="get" name="form1">
  22. <!-- 类型 -->
  23. <select style="width: 80px; float: left; margin-right: 10px;" name="st" class="form-control">
  24. <option value="all"
  25. <eq name="Think.get.st" value="">selected</eq>
  26. >加/减</option>
  27. <option value="1"
  28. <eq name="Think.get.st" value="1">selected</eq>
  29. >增加</option>
  30. <option value="2"
  31. <eq name="Think.get.st" value="2">selected</eq>
  32. >减少</option>
  33. </select>
  34. <!-- 全部资金类型 -->
  35. <select style="width: 120px; float: left; margin-right: 10px;" name="coinname" class="form-control">
  36. <option value=""
  37. >全部币种</option>
  38. <volist name="coinlist" id="vos" >
  39. <option value="{$vos.name}"
  40. <?php if($_GET['cointype']==$vos['name']){ echo "selected";}?>
  41. >{$vos.name|strtoupper}</option>
  42. </volist>
  43. </select>
  44. <input type="text" name="username" class="search-input form-control " value="{$Think.get.username}" placeholder="请输入查询内容" style="">
  45. <a class="sch-btn" href="javascript:;" id="search"> <i class="btn-search"></i> </a>
  46. </form>
  47. <script>
  48. //搜索功能
  49. $(function () {
  50. $('#search').click(function () {
  51. $('#formSearch').submit();
  52. });
  53. });
  54. //回车搜索
  55. $(".search-input").keyup(function (e) {
  56. if (e.keyCode === 13) {
  57. $("#search").click();
  58. return false;
  59. }
  60. });
  61. </script>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. <div class="data-table table-striped">
  67. <table class="">
  68. <thead>
  69. <tr>
  70. <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
  71. <th class="">ID</th>
  72. <th class="">会员账号</th>
  73. <th class="">币种</th>
  74. <th class="">变动金额</th>
  75. <th class="">变动后金额</th>
  76. <th class="">操作类型</th>
  77. <th class="">时间</th>
  78. <th class="">备注</th>
  79. </tr>
  80. </thead>
  81. <tbody>
  82. <notempty name="list">
  83. <volist name="list" id="vo">
  84. <tr>
  85. <td><input class="ids" type="checkbox" name="id[]" value="{$vo.id}"/></td>
  86. <td>{$vo.id}</td>
  87. <td>{$vo['username']}</td>
  88. <td><?php echo strtoupper($vo['coinname']);?></td>
  89. <td>
  90. <if condition="$vo.st eq 1">
  91. <span style="color:green;">+{$vo.num}</span>
  92. <elseif condition="$vo.st eq 2" />
  93. <span style="color:red;">-{$vo.num}</span>
  94. </if>
  95. </td>
  96. <td>{$vo.afternum}</td>
  97. <td><?php echo gettype_info($vo['type']);?></td>
  98. <td>{$vo.addtime}</td>
  99. <td>{$vo.remark}</td>
  100. </tr>
  101. </volist>
  102. <else/>
  103. <td colspan="12" class="text-center empty-info"><i class="glyphicon glyphicon-exclamation-sign"></i>暂无数据</td>
  104. </notempty>
  105. </tbody>
  106. </table>
  107. <div class="page">
  108. <div>{$page}</div>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. <include file="Public:footer"/>
  114. <block name="script">
  115. <script type="text/javascript" charset="utf-8">
  116. //导航高亮
  117. highlight_subnav("{:U('User/amountlog')}");
  118. </script>
  119. </block>