txpage.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1.0,initial-scale=1,user-scalable=no,viewport-fit=true" data-shuvi-head="true">
  6. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
  7. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
  8. <link rel="stylesheet" type="text/css" href="/Public/Home/static/css/base.css" />
  9. <title>{$webname}</title>
  10. <style>
  11. .css-ogtd7z {
  12. box-sizing: border-box;
  13. margin: 0px;
  14. min-width: 0px;
  15. display: flex;
  16. transition: all 1s ease 0s;
  17. -webkit-box-pack: center;
  18. justify-content: center;
  19. background-color: rgb(254, 241, 242);
  20. }
  21. .css-jrzkh7 {
  22. box-sizing: border-box;
  23. margin: 0px;
  24. min-width: 0px;
  25. background-color: rgb(24, 26, 32);
  26. }
  27. .css-1aac2e {
  28. box-sizing: border-box;
  29. margin: 0px auto;
  30. min-width: 0px;
  31. padding-left: 24px;
  32. padding-right: 24px;
  33. max-width: 1248px;
  34. background-color: rgb(254, 241, 242);
  35. }
  36. .css-1wr4jig {
  37. box-sizing: border-box;
  38. margin: 0px;
  39. min-width: 0px;
  40. display: flex;
  41. flex-direction: column;
  42. flex: 1 1 0%;
  43. }
  44. .css-1ay57iv {
  45. box-sizing: border-box;
  46. margin: 0px;
  47. min-width: 0px;
  48. display: flex;
  49. background-color: rgb(250, 250, 250);
  50. flex: 1 1 0%;
  51. flex-direction: column;
  52. }
  53. .css-8hzjvg {
  54. box-sizing: border-box;
  55. margin: 0px;
  56. min-width: 0px;
  57. padding: 24px 16px;
  58. padding-left: 24px;
  59. padding-right: 24px;
  60. }
  61. .css-1eklhqk {
  62. box-sizing: border-box;
  63. min-width: 0px;
  64. width: 100%;
  65. max-width: 1200px;
  66. margin: 0px auto;
  67. }
  68. .css-190uhut {
  69. box-sizing: border-box;
  70. margin: 0px;
  71. min-width: 0px;
  72. display: flex;
  73. -webkit-box-align: center;
  74. align-items: center;
  75. -webkit-box-pack: justify;
  76. justify-content: space-between;
  77. }
  78. .css-11y6cix {
  79. box-sizing: border-box;
  80. margin: 0px;
  81. min-width: 0px;
  82. display: flex;
  83. -webkit-box-align: center;
  84. align-items: center;
  85. flex: 1 1 0%;
  86. }
  87. .css-146agw4 {
  88. box-sizing: border-box;
  89. margin: 0px;
  90. min-width: 0px;
  91. color: currentcolor;
  92. font-size: 24px;
  93. fill: currentcolor;
  94. cursor: pointer;
  95. width: 32px;
  96. height: 32px;
  97. font-size: 32px;
  98. margin-left: -48px;
  99. }
  100. .css-1djsyd6 {
  101. box-sizing: border-box;
  102. margin: 0px 0px 0px 16px;
  103. min-width: 0px;
  104. font-weight: 600;
  105. font-size: 24px;
  106. line-height: 32px;
  107. }
  108. .css-1dihobw {
  109. box-sizing: border-box;
  110. margin: 0px;
  111. min-width: 0px;
  112. flex: 1 1 0%;
  113. background-color: rgb(255, 255, 255);
  114. border-radius: 40px 40px 0px 0px;
  115. padding: 24px 16px;
  116. padding-left: 24px;
  117. padding-right: 24px;
  118. }
  119. .css-1eklhqk {
  120. box-sizing: border-box;
  121. min-width: 0px;
  122. width: 100%;
  123. max-width: 1200px;
  124. margin: 0px auto;
  125. }
  126. .css-tu2ioc {
  127. box-sizing: border-box;
  128. margin: 0px;
  129. min-width: 0px;
  130. display: flex;
  131. padding-top: 0px;
  132. padding-bottom: 0px;
  133. flex-flow: column wrap;
  134. padding-top: 16px;
  135. padding-bottom: 16px;
  136. flex-direction: row;
  137. }
  138. .css-1ekpz1z {
  139. box-sizing: border-box;
  140. margin: 0px;
  141. min-width: 0px;
  142. order: 1;
  143. flex: 1 1 0%;
  144. }
  145. .czbox{width:100%;height:80px;margin-bottom:20px;}
  146. .czbox_1{width:30%;height:80px;float:left;}
  147. .czbox_2{width:70%;height:80px;float:right;}
  148. .czbox_3{width:100%;height:20px;line-height:20px;}
  149. .czbox_4{width:100%;height:50px;line-height:50px;margin-top:5px;border:1px solid #f5f5f5;padding-left:15px;}
  150. .czbox_4:hover{border:1px solid #FCD535;}
  151. .czbox_5{width:100%;height:100%;border:1px solid #fff;background-color:#fff;color:#000;font-size:14px;}
  152. .czbox_5:hover{border:1px solid #fff;background-color:#fff;}
  153. input:focus{border:1px solid #fff;background-color:#fff;}
  154. .layui-upload-file {
  155. display: none!important;
  156. opacity: .01;
  157. }
  158. .czbox_6{width:100%;height:50px;line-height:50px;margin-top:5px;}
  159. .dongbox{position:fixed;z-index:9999;display:none;top:0px;width:100%;height:100vh;background:rgba(0,0,0,0.2);}
  160. </style>
  161. </head>
  162. <body>
  163. <div class="App">
  164. <div class="css-tq0shg">
  165. <include file="Public:header"/>
  166. <div class="css-ogtd7z">
  167. <div class="css-jrzkh7">
  168. <div id="header_global_js_wxgy34nj" class="css-1aac2e"></div>
  169. </div>
  170. </div>
  171. <main class="css-1wr4jig">
  172. <main class="css-xry4yv">
  173. <div class="css-1ay57iv">
  174. <div class="css-8hzjvg">
  175. <div class="css-1eklhqk">
  176. <div class="css-190uhut">
  177. <div class="css-11y6cix" onclick="goback();">
  178. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" class="css-146agw4"><path d="M16.414 18.586L15 20l-8-8 8-8 1.414 1.414L9.828 12l6.586 6.586z" fill="#76808F"></path>
  179. </svg>
  180. <div data-bn-type="text" class="css-1djsyd6">{:L('数字货币提币')}</div>
  181. </div>
  182. </div>
  183. </div>
  184. </div>
  185. <div class="css-1dihobw">
  186. <div class="css-1eklhqk">
  187. <div class="css-tu2ioc" style="width:60%;float:left;">
  188. <div class="css-1ekpz1z">
  189. <div class="czbox">
  190. <div class="czbox_1">
  191. <span class="fch f16">{:L('选择币种')}</span>
  192. </div>
  193. <div class="czbox_2">
  194. <div class="czbox_3">
  195. <span class="fch f12">{:L('币种')}</span>
  196. </div>
  197. <div class="czbox_4">
  198. <span class="fch f14"><?php echo strtoupper($info['name']);?></span>
  199. </div>
  200. </div>
  201. </div>
  202. <div class="czbox" style="margin-bottom:0px;">
  203. <div class="czbox_1">
  204. <span class="fch f16">{:L('提币网络')}</span>
  205. </div>
  206. <div class="czbox_2">
  207. <div class="czbox_3">
  208. <span class="fch f12">{:L('网络')}</span>
  209. </div>
  210. <div class="czbox_4">
  211. <span class="fch f14">{$info.czline}</span>
  212. </div>
  213. </div>
  214. </div>
  215. <div class="czbox" style="margin-top:20px;">
  216. <div class="czbox_1">
  217. <span class="fch f16">{:L('提币地址')}</span>
  218. </div>
  219. <div class="czbox_2">
  220. <div class="czbox_3">
  221. <span class="fch f12">{:L('地址')}</span>
  222. </div>
  223. <div class="czbox_6">
  224. <input class="czbox_5" type="text" id="address" name="address" style="border: 1px solid #f5f5f5;padding:0px;padding-left: 15px;" />
  225. </div>
  226. </div>
  227. </div>
  228. <div class="czbox" style="margin-top:20px;">
  229. <div class="czbox_1">
  230. <span class="fch f16">{:L('提币数量')}</span>
  231. </div>
  232. <div class="czbox_2">
  233. <div class="czbox_3">
  234. <span class="fch f12">{:L('数量')}</span>
  235. <span class="f12 fcy">{:L('可用')}&nbsp;&nbsp;</span>
  236. <span class="f12 fcy">{$money}</span>
  237. <span class="f12 fcy"><?php echo strtoupper($info['name']);?></span>
  238. </div>
  239. <div class="czbox_6" style="padding:0px;">
  240. <input class="czbox_5" type="text" id="tbnum" onblur="changenum();" name="tbnum" style="border: 1px solid #f5f5f5;padding:0px;padding-left: 15px;" autocomplete="off" step="1" min="0" onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''" />
  241. <span class="f12 fcy">{:L('实际到账')}</span>
  242. <span class="f12 fcy" id="tmoney">0.000000</span>
  243. <span class="f12 fcy">&nbsp;&nbsp;<?php echo strtoupper($info['name']);?></span>
  244. </div>
  245. </div>
  246. </div>
  247. <input type="hidden" id="usermoney" value="{$money}" />
  248. <input type="hidden" id="txminnum" value="{$info.txminnum}" />
  249. <input type="hidden" id="txsxf" value="{$info.txsxf}" />
  250. <input type="hidden" id="txsxf_n" value="{$info.txsxf_n}" />
  251. <input type="hidden" id="sxftype" value="{$info.sxftype}" />
  252. <input type="hidden" id="tbid" value="{$info.id}" />
  253. <input type="hidden" id="tbaddre" value="{$adrinfo.addr}" />
  254. <input type="hidden" id="flag" value="1" />
  255. <div class="czbox">
  256. <div class="czbox_2">
  257. <div class="czbox_3"></div>
  258. <div id="sumbtn" class="czbox_4" style="background: linear-gradient(to left,#eeb80d,#ffe35b);text-align:center;cursor:pointer;">
  259. <span class="fch f14">{:L('提交')}</span>
  260. </div>
  261. </div>
  262. </div>
  263. </div>
  264. </div>
  265. <div style="width:35%;height:600px;float:right;padding:10px;">
  266. <div style="width:100%;height:60px;line-height:60px;">
  267. <span>{:L('温馨提示')}</span>
  268. </div>
  269. <div style="width:100%;min-height:180px;padding:10px;">
  270. <span class="f14" style="color:red;">{:L('最小提币数量')}:<?php echo strtoupper($info['txminnum']);?><?php echo strtoupper($info['name']);?>,{:L('小于最小金额的提币将不会到账且无法退回')}</span>
  271. <br />
  272. <br />
  273. <span class="f14 fch">{:L('为保障资金安全,当您账户安全策略变更,密码修改,我们会对提币进行人工审核,请耐心等待工作人员电话或邮件联系.')}</span><br /><br />
  274. <span class="f14 fch">{:L('请务必确认电脑及浏览器安全,防止信息被篡改或泄露')}</span><br /><br />
  275. </div>
  276. </div>
  277. </div>
  278. </div>
  279. </div>
  280. </main>
  281. </main>
  282. <include file="Public:footer"/>
  283. </div>
  284. </div>
  285. <div class="dongbox" id="gotaxbox" style="display:none;">
  286. <div style="width:300px;height:260px;background:#fff;margin:18% auto;border-radius:10px;padding:15px;">
  287. <div style="width:100%;height:100px;line-height:100px;text-align:center;">
  288. <i class="bi bi-exclamation-circle" style="font-size:56px;font-weight:bold;color:#f5465c;"></i>
  289. </div>
  290. <div style="width:100%;height:60px;text-align:center;color:#000;font-size:14px;">
  291. {:L('请先缴纳税金')}
  292. </div>
  293. <div style="width:100%;height:60px;">
  294. <a href="{:U('Finance/cztax')}" target="__blank">
  295. <div style="width:45%;height:36px;line-height:36px;text-align:center;float:left;font-size:14px;color:#fff;background:#0ecb81;border-radius:10px;">{:L('缴税')}</div></a>
  296. <div onclick="hidetaxbox()" style="width:45%;height:36px;line-height:36px;text-align:center;float:right;font-size:14px;color:#fff;background:#f5465c;border-radius:10px;">{:L('取消')}</div>
  297. </div>
  298. </div>
  299. </div>
  300. </body>
  301. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  302. <script type="text/javascript" src="/Public/Home/static/js/layer/layer.js" ></script>
  303. <script type="text/javascript" src="/Public/Home/static/js/jquery.SuperSlide.2.1.1.js" ></script>
  304. <script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
  305. <script type="text/javascript">
  306. function hidetaxbox(){
  307. $("#gotaxbox").hide();
  308. }
  309. function changenum(){
  310. var tbnum = parseFloat($("#tbnum").val());
  311. if(tbnum <= 0){
  312. layer.msg("{:L('请输入正确的数量')}");return false;
  313. }
  314. var txminnum = parseFloat($("#txminnum").val());
  315. if(tbnum < txminnum){
  316. layer.msg("{:L('不能低于最小提币值')}");return false;
  317. }
  318. var sxftype = $("#sxftype").val();
  319. var txsxf = $("#txsxf").val();
  320. var txsxf_n = $("#txsxf_n").val();
  321. if(sxftype == 1){
  322. var tmoney = tbnum - tbnum * txsxf / 100;
  323. }else if(sxftype == 2){
  324. var tmoney = tbnum - txsxf_n;
  325. }
  326. $("#tmoney").text(tmoney);
  327. }
  328. </script>
  329. <script type="text/javascript">
  330. $("#sumbtn").click(function(){
  331. var flag = $("#flag").val();
  332. if(flag == 2){
  333. return false;
  334. }
  335. var address = $("#address").val();
  336. var num = parseFloat($("#tbnum").val());
  337. var txminnum = parseFloat($("#txminnum").val());
  338. var id = $("#tbid").val();
  339. if(id <= 0){
  340. layer.msg("{:L('参数错误')}");return false;
  341. }
  342. if(address == '' || address == null){
  343. layer.msg("{:L('请输入提币地址')}");return false;
  344. }
  345. if(num <= 0){
  346. layer.msg("{:L('请输入正确的数量')}");return false;
  347. }
  348. if(num < txminnum){
  349. layer.msg("{:L('不能低于最小提币值')}");return false;
  350. }
  351. $("#flag").val(2);
  352. $.post("{:U('Finance/tbhandle')}",
  353. {'address':address,'num':num,'id':id},
  354. function(data){
  355. if(data.code == 1){
  356. layer.msg(data.info);
  357. setTimeout(function(){
  358. window.location.href = "{:U('Finance/index')}";
  359. },2000);
  360. }else if(data.code == 3){
  361. $("#gotaxbox").show();
  362. }else{
  363. layer.msg(data.info);return false;
  364. }
  365. });
  366. });
  367. </script>
  368. <script type="text/javascript">
  369. function goback(){
  370. self.location=document.referrer;
  371. }
  372. </script>
  373. <script type="text/javascript">
  374. $("#nav").slide({
  375. type:"menu",// 效果类型,针对菜单/导航而引入的参数(默认slide)
  376. titCell:".nLi", //鼠标触发对象
  377. targetCell:".sub", //titCell里面包含的要显示/消失的对象
  378. effect:"slideDown", //targetCell下拉效果
  379. delayTime:300 , //效果时间
  380. triggerTime:0, //鼠标延迟触发时间(默认150)
  381. returnDefault:true //鼠标移走后返回默认状态,例如默认频道是“预告片”,鼠标移走后会返回“预告片”(默认false)
  382. });
  383. </script>
  384. </html>