myzc.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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('Finance/myzc')}'">初始化搜索</button>
  12. </div>
  13. </div>
  14. <div class="cf">
  15. <div class="search-form fr cf" style="float: none !important;">
  16. <div class="sleft">
  17. <form name="formSearch" id="formSearch" method="get" name="form1">
  18. <select style=" width: 100px; float: left; margin-right: 10px;" name="field" class="form-control">
  19. <option value="username"
  20. <eq name="Think.get.field" value="username">selected</eq>
  21. >用户名</option>
  22. </select>
  23. <input type="text" name="name" class="search-input form-control " value="{$Think.get.name}" placeholder="请输入查询内容" style="">
  24. <a class="sch-btn" href="javascript:;" id="search"> <i class="btn-search"></i> </a>
  25. </form>
  26. <script>
  27. //搜索功能
  28. $(function () {
  29. $('#search').click(function () {
  30. $('#formSearch').submit();
  31. });
  32. });
  33. //回车搜索
  34. $(".search-input").keyup(function (e) {
  35. if (e.keyCode === 13) {
  36. $("#search").click();
  37. return false;
  38. }
  39. });
  40. </script>
  41. </div>
  42. </div>
  43. </div>
  44. <div class="data-table table-striped">
  45. <table class="">
  46. <thead>
  47. <tr>
  48. <th class="">ID</th>
  49. <th class="">用户名</th>
  50. <th class="">币种名称</th>
  51. <th width="">申请时间</th>
  52. <th width="">审核时间</th>
  53. <th width="">提币地址</th>
  54. <th width="">提币数量</th>
  55. <th class="">提现手续费</th>
  56. <th class="">实际到账</th>
  57. <th width="">状态</th>
  58. <th width="">操作</th>
  59. </tr>
  60. </thead>
  61. <tbody>
  62. <notempty name="list">
  63. <volist name="list" id="vo">
  64. <tr>
  65. <td>{$vo.id}</td>
  66. <td>{$vo.username} </td>
  67. <td><?php echo strtoupper($vo['coinname']);?></td>
  68. <td>{$vo.addtime}</td>
  69. <td>{$vo.endtime}</td>
  70. <td>{$vo.address}</td>
  71. <td>{$vo.num}</td>
  72. <td>{$vo.fee}</td>
  73. <td>{$vo.mum}</td>
  74. <td>
  75. <eq name="vo.status" value="1"><span style="color:blue;">待审核</span></eq>
  76. <eq name="vo.status" value="2"><span style="color:green;">完成</span></eq>
  77. <eq name="vo.status" value="3"><span style="color:red;">未通过</span></eq>
  78. </td>
  79. <td>
  80. <eq name="vo.status" value="1">
  81. <input type="button" class="ajax-get btn btn-primary btn-xs" value="确认提币" onclick="Upzc('{$vo['id']}');"/>
  82. <input type="button" class="ajax-get btn btn-primary btn-xs" value="驳回提币" onclick="Upbh('{$vo['id']}');"/>
  83. </eq>
  84. <eq name="vo.status" value="2"><span style="color:blue;">已处理</span></eq>
  85. <eq name="vo.status" value="3"><span style="color:blue;">已处理</span></eq>
  86. </td>
  87. </tr>
  88. </volist>
  89. <else/>
  90. <td colspan="12" class="text-center empty-info"><i class="glyphicon glyphicon-exclamation-sign"></i>暂无数据</td>
  91. </notempty>
  92. </tbody>
  93. </table>
  94. <div class="page">
  95. <div>{$page}</div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <include file="Public:footer"/>
  101. <script type="text/javascript">
  102. function Upbh(id) {
  103. var zcid = parseInt(id);
  104. if (zcid == "" || zcid == null || zcid <=0) {
  105. layer.alert('参数错误!');
  106. return false;
  107. }
  108. layer.load(0, {shade: [0.5,'#8F8F8F']});
  109. $.post("{:U('Finance/reject')}", {
  110. id: zcid
  111. }, function (data) {
  112. setTimeout("closetanchu()",2000);
  113. if (data.status == 1) {
  114. layer.msg(data.info, {
  115. icon: 1
  116. });
  117. setTimeout("shuaxin()",1000);
  118. } else {
  119. layer.msg(data.info, {
  120. icon: 2
  121. });
  122. }
  123. }, "json");
  124. }
  125. </script>
  126. <script type="text/javascript">
  127. function Upzc(id) {
  128. var zcid = parseInt(id);
  129. if (zcid == "" || zcid == null || zcid <=0) {
  130. layer.alert('参数错误!');
  131. return false;
  132. }
  133. layer.load(0, {shade: [0.5,'#8F8F8F']});
  134. $.post("{:U('Finance/adopttb')}", {
  135. id: zcid
  136. }, function (data) {
  137. setTimeout("closetanchu()",2000);
  138. if (data.status == 1) {
  139. layer.msg(data.info, {
  140. icon: 1
  141. });
  142. setTimeout("shuaxin()",1000);
  143. } else {
  144. layer.msg(data.info, {
  145. icon: 2
  146. });
  147. }
  148. }, "json");
  149. }
  150. </script>
  151. <script type="text/javascript">
  152. function closetanchu(){
  153. layer.closeAll('loading');
  154. }
  155. function shuaxin(){
  156. window.location.href=window.location.href;
  157. }
  158. </script>
  159. <script type="text/javascript">
  160. function showid(id){
  161. layer.open({
  162. type:1,
  163. skin:'layui-layer-rim', //加上边框
  164. area:['800px','100px'], //宽高
  165. title:'交易ID', //不显示标题
  166. closeBtn: 0,
  167. shadeClose: true,
  168. content:id
  169. });
  170. }
  171. //提交表单
  172. $('#submit').click(function () {
  173. $('#form').submit();
  174. });
  175. </script>
  176. <block name="script">
  177. <script type="text/javascript" charset="utf-8">
  178. //导航高亮
  179. highlight_subnav("{:U('Finance/myzc')}");
  180. </script>
  181. </block>