da025eaa7fdcf8718f85ee291e392e18.php 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  7. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
  8. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
  9. <link rel="stylesheet" type="text/css" href="/Public/Static/css/base2.css" />
  10. <link rel="stylesheet" type="text/css" href="/Public/Static/css/nologed.css" />
  11. <link rel="stylesheet" href="/Public/Static/Icoinfont/iconfont.css">
  12. <script src="/Public/Static/Icoinfont/iconfont.js"></script>
  13. <title><?php echo ($webname); ?></title>
  14. <style>
  15. ::-webkit-input-placeholder {color: #b5b5b5;font-size: 12px;}
  16. ::-moz-placeholder {color: #b5b5b5;font-size: 12px;}
  17. input:focus{background:#f5f5f5;outline: 1px solid #f5f5f5;}
  18. a:hover,a:link,a:visited,a:active{color:#707A8A;text-decoration:none;}
  19. .no_header{position: fixed;z-index: 9999;padding:0px 10px;top:0px;line-height: 50px;background:#f5f5f5;}
  20. .contentbox{width:100%;height:600px;margin-top:45px;}
  21. .contentbox_top{width:100%;height:50px;line-height:50px;text-align:left;}
  22. .contentbox_line{width:100%;height:50px;background:#fff;padding: 0px 15px;}
  23. .line_1{width:20%;height:50px;line-height:50px;float:left;}
  24. .line_2{width:70%;height:50px;line-height:50px;float:right;text-align:right;}
  25. .btitle{width:100%;height:35px;line-height:35px;text-align:center;background:#fff;margin-top:10px;border-radius:15px;}
  26. .addbox{width:100%;height:120px;background:#fff;margin-top:20px;border-radius:15px;}
  27. .addressbox{width:100%;height:40px;line-height:40px;background:#f9f9f9;padding:0px 15px;border-top-left-radius:10px;border-top-right-radius:10px;}
  28. .address{width:100%;height:80px;margin-top:10px;padding:10px;word-wrap:break-word;word-break:normal; }
  29. .btnbox{width:100%;height:70px;background:#fff;position:fixed;bottom:0px;}
  30. .btnaddress{width:92%;height:40px;line-height:40px;background: linear-gradient(to left,#eeb80d,#ffe35b);margin:0px auto;text-align:center;margin-top:15px;border-radius:10px;}
  31. .imgbox_1{width:100%;height:40px;line-height:40px;text-align:left;}
  32. .imgbox_2{width:100%;height:30px;line-height:30px;text-align:left;}
  33. .imgbox_3{width:100px;height:30px;line-height:30px;text-align:center;border:1px solid #FCD535;border-radius:5px;}
  34. .tx_inputbox{width:100%;height:40px;background:#f5f5f5;border-radius:5px;padding:0px 10px;}
  35. .tx_inputbox_l{width:100%;height:30px;margin-top:5px;float:left;line-height: 30px;}
  36. .tx_inputbox_r{width:20%;height:30px;line-height:30px;margin-top:5px;float:right;text-align:right;}
  37. .inputbox_r_l{width:50%;height:30px;line-height:30px;float:left;text-align:center;}
  38. .inputbox_r_r{width:50%;height:30px;line-height:30px;float:right;text-align:center;}
  39. </style>
  40. </head>
  41. <body>
  42. <div class="container-fluid " style="padding:0px;width:100vw;">
  43. <div class="no_header">
  44. <div class="fl allhg txtl">
  45. <i class="bi bi-arrow-left fcc fw" onclick="goback()" style="font-size: 24px;"></i>
  46. </div>
  47. <div class="fr allhg txtr" style="line-height:50px;width:10%;">
  48. </div>
  49. </div>
  50. <div class="contentbox">
  51. <div class="contentbox_top" style="padding: 0px 15px;">
  52. <span style="font-size:26px;font-weight:500;"><?php echo L('添加提币地址');?></span>
  53. </div>
  54. <div class="contentbox_line">
  55. <div class="line_1">
  56. <span class="fzmmm fch"><?php echo L('币种');?></span>
  57. </div>
  58. <a href="<?php echo U('User/txcoin');?>">
  59. <div class="line_2">
  60. <span class="fzmmm fcy" style="font-size:18px;font-weight:bold;"><?php echo strtoupper($info['name']);?></span>
  61. <span class="fzmmm fch">&nbsp;&nbsp;<?php echo L($info['title']);?></span>
  62. <i class="bi bi-chevron-right fzmmm fcc"></i>
  63. </div>
  64. </a>
  65. </div>
  66. <div style="width:100%;height:500px;background:#fff;margin-top:10px;padding:5px 15px;">
  67. <div class="imgbox_1">
  68. <span class="fzmmm fch"><?php echo L('提币网络');?></span>
  69. </div>
  70. <div class="imgbox_2">
  71. <div class="imgbox_3">
  72. <span class="fzmm fcy"><?php echo ($info["czline"]); ?></span>
  73. </div>
  74. </div>
  75. <div class="imgbox_1" style="margin-top:10px;">
  76. <span class="fzmmm fch"><?php echo L('提币地址');?></span>
  77. </div>
  78. <div class="tx_inputbox">
  79. <div class="tx_inputbox_l">
  80. <input type="text" id="address" name="address" placeholder="<?php echo L('输入或长按粘贴地址');?>" style="background:#f5f5f5;border:1px solid #f5f5f5;width: 100%;" />
  81. </div>
  82. </div>
  83. <div class="imgbox_1" style="margin-top:10px;">
  84. <span class="fzmmm fch"><?php echo L('备注');?></span>
  85. </div>
  86. <div class="tx_inputbox">
  87. <div class="tx_inputbox_l">
  88. <input type="text" id="remark" name="remark" placeholder="<?php echo L('请输入备注');?>" style="background:#f5f5f5;border:1px solid #f5f5f5;width: 100%;" />
  89. </div>
  90. </div>
  91. </div>
  92. <input type="hidden" id="oid" value="<?php echo ($info["id"]); ?>" />
  93. </div>
  94. <div class="btnbox">
  95. <div class="btnaddress">
  96. <span class="fzmm fch"><?php echo L('保存');?></span>
  97. </div>
  98. </div>
  99. </div>
  100. </body>
  101. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  102. <script type="text/javascript" src="/Public/Static/js/layer/layer.js" ></script>
  103. <script type="text/javascript">
  104. $(".btnaddress").click(function(){
  105. var address = $("#address").val();
  106. var remark = $("#remark").val();
  107. var oid = $("#oid").val();
  108. if(address == ""){
  109. layer.msg("请输入提币地址");return false;
  110. }
  111. if(remark == ''){
  112. layer.msg("请输入备注");return false;
  113. }
  114. if(oid <= 0){
  115. layer.msg("参数错误");return false;
  116. }
  117. $.post("<?php echo U('User/upplusaddress');?>",
  118. {'address':address,'remark':remark,'oid':oid},
  119. function(data){
  120. if(data.code == 1){
  121. layer.msg(data.msg);
  122. setTimeout(function(){
  123. window.location.reload();
  124. },2000);
  125. }else{
  126. layer.msg(data.msg);return false;
  127. }
  128. });
  129. });
  130. </script>
  131. <script type="text/javascript">
  132. function goback(){
  133. window.history.go(-1);
  134. }
  135. </script>
  136. </html>