takecash.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?php require_once 'header.php' ?>
  2. <header class="aui-bar aui-bar-nav baiset">
  3. <a onclick="tiao(&#39;/mobile/&#39;)" class="aui-pull-left aui-btn">
  4. <span style="color:#fff" class="aui-iconfont c-b"><取消</span>
  5. </a>
  6. <div class="aui-title">我要提现</div>
  7. </header>
  8. <style>
  9. .bankone{
  10. width:90%;
  11. margin-left:auto;
  12. margin-right:auto;
  13. height:90px;
  14. background:#FBFBFB;
  15. margin-top:20px;
  16. font-size:15px
  17. }
  18. .bankword{
  19. float:left;
  20. margin-left:5%;
  21. }
  22. .bankwordl{
  23. float:left;
  24. margin-left:20px;
  25. }
  26. .outbankmoney{
  27. width:90%;
  28. margin-left:auto;
  29. margin-right:auto;
  30. height:300px;
  31. background:#fff;
  32. }
  33. .word{
  34. width:90%;
  35. margin-left:auto;
  36. margin-right:auto;
  37. font-size:15px;
  38. }
  39. .money{
  40. font-size:20px;
  41. width:90%;
  42. margin-left:auto;
  43. margin-right:auto;
  44. }
  45. .money input{
  46. border:0;
  47. border-bottom:1px solid #ccc;
  48. width:90%;
  49. float:left;
  50. font-size:20px;
  51. }
  52. .pwd{
  53. font-size:20px;
  54. width:90%;
  55. margin-left:auto;
  56. margin-right:auto;
  57. }
  58. .pwd input{
  59. border:1px solid #ccc;
  60. width:60%;
  61. }
  62. .word2{
  63. width:90%;
  64. margin-left:auto;
  65. margin-right:auto;
  66. font-size:15px;
  67. color:#ccc;
  68. float:left;
  69. margin-left:10%;
  70. }
  71. .btn{
  72. width:90%;
  73. margin-left:5%;
  74. margin-right:auto;
  75. color:#fff;
  76. font-size:20px;
  77. height:40px;
  78. line-height:40px;
  79. background:#A3DEA3;
  80. border:1px solid #ccc;
  81. padding:0px;
  82. border-radius:5px;
  83. }
  84. .y select{
  85. color:#09f;
  86. font-weight:normal;
  87. }
  88. </style>
  89. <form class="form-ajax2 form-horizontal" action="/mobile/takecash/submit1" method="post">
  90. <div class="bankone">
  91. <div style="width:100%; height:20px;"></div>
  92. <div class="bankword">
  93. <b>到账银行卡<b>
  94. </div>
  95. <div class="bankwordl">
  96. <div style="color:#7181AD;"><span class="y"><select name="bankid">
  97. <?php foreach($usercfo as $l){?>
  98. <option value="<?php echo $l['id'];?>"><?php echo $l['bankname']."(".$l['cardno'].")";?></option>
  99. <?php }?>
  100. </select></span></div>
  101. </div>
  102. </div>
  103. <div class="outbankmoney">
  104. <div style="width:100%; height:20px;"></div>
  105. <div class="word">
  106. <b>提现金额</b>
  107. </div>
  108. <div class="money">
  109. <span style="float:left; margin-top:20px;">¥</span><input type="text" name="txmoney"/>
  110. </div>
  111. <div class="word2">
  112. 零钱余额:¥<span style="color:green;"><?php echo $money;?></span>
  113. </div>
  114. <div style="width:100%; height:30px; float:left;"></div>
  115. <button class="btn">提现</button>
  116. </div>
  117. </form>
  118. <script>
  119. $(function() {
  120. $('.form-ajax2').submit(function(e) {
  121. e.preventDefault();
  122. $.ajax({
  123. url: $(this).attr('action'),
  124. type: 'POST',
  125. dataType: 'json',
  126. data: $(this).serialize(),
  127. success: function(ret) {
  128. if (ret.status == '0') {
  129. alert('保存失败');
  130. }
  131. if (ret.status == '1') {
  132. alert('保存成功');
  133. $('#waModal').modal('hide');
  134. }
  135. }
  136. });
  137. });
  138. $('#waModal').on('hidden.bs.modal',
  139. function(e) {
  140. getCfo();
  141. });
  142. })
  143. </script>
  144. <?php require_once 'footer.php' ?>