You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
3.9 KiB

6 years ago
  1. <!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/>
  2. <title>提现明细</title><meta name="keywords" content="关键词"><meta name="description" content="描述"><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
  3. <link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet">
  4. <script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script>
  5. <script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script></head><body>
  6. <div class="classreturn loginsignup">
  7. <div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div>
  8. <div class="ds-in-bl tit center"><span>提现明细</span></div>
  9. </div>
  10. <script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/layer/mobile/layer.js"></script>
  11. <style>
  12. .money_list li{padding:15px;border-bottom:1px solid #ddd;}
  13. .money_list .tit{color:#000;font-size:18px;margin-bottom:5px;}
  14. .money_list .des{color:#999;font-size:16px;margin-bottom:5px;}
  15. .money_list .time{color:#8e8e8e;font-size:12px;}
  16. .money_list span{font-size:18px;float:right;vertical-align:middle;margin-top:5px;}
  17. .money_list span.green{color:#04ba06;}
  18. </style>
  19. <div class="floor">
  20. <?php if($list){ ?>
  21. <ul class="money_list cl">
  22. <?php foreach($list as $k=>$v){ ?>
  23. <li>
  24. <span class="green">- <?php echo $v['money']; ?></span>
  25. <div class="info"><p class="tit">提现</p>
  26. <p class="des">收款账号:<?php echo $v['name']; ?><br/>姓名:<?php echo $v['name']; ?><br/>提现方式:<?php echo $v['method']; ?><br>状态:<font color="red"><?php echo $v['status_text']; ?></font></p>
  27. <p class="time"><?php echo date('Y-m-d H:i:s',$v['add_time']); ?></p></div>
  28. </li>
  29. <?php } ?>
  30. </ul>
  31. <?php }else{ ?>
  32. <div style="text-align:center;line-height:40px;color:#999;">暂无记录</div>
  33. <?php } ?>
  34. </div>
  35. <script>
  36. $(function(){
  37. var ajaxload = false;
  38. var maxpage = false;
  39. var startpage = 1;
  40. var totalpage = <?php echo $totalpage; ?>;
  41. var tmp_url = window.location.href;
  42. msg = tmp_url.split("#");
  43. tmp_url = msg[0];
  44. $(window).scroll(function ()
  45. {
  46. var listheight = $(".money_list").outerHeight();
  47. if ($(document).scrollTop() + $(window).height() >= listheight)
  48. {
  49. if(startpage >= totalpage)
  50. {
  51. //$("#submit_bt_one").html("已是最后一页,没有更多数据!");
  52. return false;
  53. }
  54. if(!ajaxload && !maxpage)
  55. {
  56. ajaxload = true;
  57. //$("#submit_bt_one").html("努力加载中...");
  58. var url = tmp_url;
  59. var nextpage = startpage+1;
  60. $.get(url,{page_ajax:1,page:nextpage},function(res)
  61. {
  62. if(res)
  63. {
  64. $(".money_list").append(res);
  65. startpage++;
  66. if(startpage >= totalpage)
  67. {
  68. maxpage = true;
  69. //$("#submit_bt_one").html("已是最后一页,没有更多数据!");
  70. }
  71. else
  72. {
  73. //$("#submit_bt_one").html("点击加载更多");
  74. }
  75. ajaxload = false;
  76. }
  77. else
  78. {
  79. //$("#submit_bt_one").html("请求失败,请稍候再试!");
  80. ajaxload = false;
  81. }
  82. },'json');
  83. }
  84. }
  85. });
  86. });
  87. </script>
  88. @include('weixin.common.footer')
  89. </body></html>