f100d423e798e67fc22e2035988cc233.php 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  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:#fff;outline: 1px solid #fff;}
  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;height: 45px;box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);}
  20. .txtl{line-height:50px;width:20%;text-align: center;border-bottom: 3px solid #FCD535;}
  21. .titlebox{width:100%;height:120px;background:#fff;margin-top:55px;border-top-left-radius:20px;border-top-right-radius:20px;}
  22. .allmoneybox{width:100%;height:150px;background: #f5f5f5;box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);position: fixed;top: 0px;}
  23. .allmbox_1{width:100%;height:40px;line-height:40px;text-align:right;padding:0px 15px;}
  24. .allmbox_2{width:100%;height:20px;line-height:20px;text-align:left;padding:0px 15px;}
  25. .allmbox_3{width:100%;height:40px;line-height:40px;text-align:left;padding:0px 15px;}
  26. .allmbox_btn{width:100%;height:35px;line-height:35px;padding:0px 10px;}
  27. .allmbox_btn_1{width:60%;height:35px;float:right;}
  28. .allmbox_cbtn{width:45%;height:35px;line-height:35px;text-align:center;float:left;border:1px solid #FCD535;border-radius:5px;}
  29. .allmbox_tbtn{width:45%;height:35px;line-height:35px;text-align:center;float:right;border:1px solid #e6e6e6;border-radius:5px;background:#e6e6e6;}
  30. .btn_active{background: linear-gradient(to left,#eeb80d,#ffe35b);}
  31. .findbox{width:100%;background:#fff;margin-top:160px;}
  32. .findbox_1{width:100%;height:40px;line-height:40px;padding:0px 15px;border-bottom:1px solid #f5f5f5;}
  33. .findbox_2{width:60%;height:40px;line-height:40px;float:left;}
  34. .findbox_3{height:40px;background:#ffffff;border-bottom:2px solid #FCD535;float: left;text-align:center;}
  35. .mlistbox{width:100%;padding:5px 15px;}
  36. .listbox{width:100%;height:90px;background:#fff;border-bottom:1px solid #f5f5f5;}
  37. .listbox_title{width:100%;height:30px;line-height:30px;}
  38. .listbox_title_l{width:50%;height:30px;line-height:40px;float:left;text-align:left;}
  39. .listbox_title_r{width:50%;height:30px;line-height:40px;float:right;text-align:right;}
  40. .dongbox{position:fixed;z-index:9999999999;display:none;top:0px;width:100%;height:100vh;background:rgba(0,0,0,0.2);}
  41. .dongbox_cbox{width:75%;background:#fff;margin:50% auto;border-radius:15px;padding:10px;}
  42. .showbtn{width:100%;height:40px;line-height:40px;background: linear-gradient(to left,#eeb80d,#ffe35b);border-radius:5px;text-align:center;margin-top:10px;}
  43. </style>
  44. </head>
  45. <body>
  46. <div class="container-fluid " style="padding:0px;width:100vw;">
  47. <div class="allmoneybox">
  48. <div class="allmbox_1">
  49. <input type="hidden" id="st" value="1" />
  50. <i class="bi bi-eye fcy" style="font-size:22px;" id="eyesid"></i>
  51. </div>
  52. <div class="allmbox_2">
  53. <span class="fzmm fch"><?php echo L('账户总资产折合');?>(USDT)</span>
  54. <i class="bi bi-exclamation-circle" style="font-size:16px;color: #FCD535;" id="showdongbtn"></i>
  55. </div>
  56. <div class="allmbox_3">
  57. <span class="fch zhehebox" style="font-size:24px;" id="allzhehebox">--</span>
  58. </div>
  59. <div class="allmbox_btn">
  60. <div class="allmbox_btn_1">
  61. <a href="<?php echo U('User/czcoin');?>">
  62. <div class="allmbox_cbtn btn_active">
  63. <span class="fch"><?php echo L('充币');?></span>
  64. </div>
  65. </a>
  66. <a href="<?php echo U('User/txcoin');?>">
  67. <div class="allmbox_tbtn">
  68. <span class="fch"><?php echo L('提币');?></span>
  69. </div>
  70. </a>
  71. </div>
  72. </div>
  73. </div>
  74. <div class="findbox">
  75. <div class="findbox_1">
  76. <div class="findbox_2">
  77. <div class="findbox_3">
  78. <span class="fzmm fch"><?php echo L('资产列表');?></span>
  79. </div>
  80. </div>
  81. </div>
  82. <div class="mlistbox" id="moneylistbox">
  83. <?php if(is_array($list)): foreach($list as $key=>$vo): ?><a href="/User/coininfo?cid=<?php echo ($vo["id"]); ?>">
  84. <div class="listbox">
  85. <div class="listbox_title">
  86. <div class="listbox_title_l">
  87. <span class="fcc" style="font-size:16px;font-weight:500;"><?php echo strtoupper($vo['name']);?></span>
  88. </div>
  89. <div class="listbox_title_r">
  90. <i class="bi bi-chevron-right fcc" style="font-size:14px;"></i>
  91. </div>
  92. </div>
  93. <div style="width:100%;height:60px;">
  94. <div style="width:33.33%;height:60px;float:left;">
  95. <div style="width:100%;height:30px;line-height:40px;">
  96. <span style="color:#cbcbcb;"><?php echo L("可用");?></span>
  97. </div>
  98. <div style="width:100%;height:30px;line-height:20px;">
  99. <span class="fch" id="num_<?php echo ($vo["name"]); ?>">0.000000</span>
  100. </div>
  101. </div>
  102. <div style="width:33.33%;height:60px;float:left;">
  103. <div style="width:100%;height:30px;line-height:40px;">
  104. <span style="color:#cbcbcb;"><?php echo L("冻结");?></span>
  105. </div>
  106. <div style="width:100%;height:30px;line-height:20px;">
  107. <span class="fch" id="numd_<?php echo ($vo["name"]); ?>">0.000000</span>
  108. </div>
  109. </div>
  110. <div style="width:33.33%;height:60px;float:left;">
  111. <div style="width:100%;height:30px;line-height:40px;text-align:right;">
  112. <span style="color:#cbcbcb;"><?php echo L("折合");?>(USDT)</span>
  113. </div>
  114. <div style="width:100%;height:30px;line-height:20px;text-align:right;">
  115. <span class="fch" id="zhehe_<?php echo ($vo["name"]); ?>">0.000000</span>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. </a><?php endforeach; endif; ?>
  121. </div>
  122. </div>
  123. <div style="width:100%;height:80px;"></div>
  124. </div>
  125. <!---提醒弹窗--->
  126. <div class="dongbox" id="dongbox" style="display:none;">
  127. <div class="dongbox_cbox">
  128. <div style="width:100%;height:50px;line-height:50px;text-align:center;">
  129. <i class="bi bi-exclamation-circle-fill fcy" style="font-size:36px;"></i>
  130. </div>
  131. <div style="width:100%;;padding:5px 10px;">
  132. <span class="fzmm fch"><?php echo L('由于资金统计存在延时,账户余额不一定是并非最新余额,如需准确余额请到相关账户页面进行查询');?></span>
  133. </div>
  134. <div class="showbtn" id="hidebtn">
  135. <span class="fzmm fch"><?php echo L('确定');?></span>
  136. </div>
  137. </div>
  138. </div>
  139. <!--底部-->
  140. <div class="footer">
  141. <a href="<?php echo U('Index/index');?>">
  142. <div class="footer_op">
  143. <div class="f_op_t">
  144. <span class="iconfont icon-shouye" style="font-size:22px;"></span>
  145. </div>
  146. <div class="f_op_b">
  147. <span class="fzm fcc"><?php echo L('首页');?></span>
  148. </div>
  149. </div>
  150. </a>
  151. <a href="<?php echo U('Trade/index');?>">
  152. <div class="footer_op">
  153. <div class="f_op_t" style="line-height:35px;">
  154. <span class="iconfont icon-fukuan" style="font-size:22px;"></span>
  155. </div>
  156. <div class="f_op_b">
  157. <span class="fzm fcc"><?php echo L('交易');?></span>
  158. </div>
  159. </div>
  160. </a>
  161. <a href="<?php echo U('Orepool/index');?>">
  162. <div class="footer_op">
  163. <div class="f_op_t" style="line-height:35px;">
  164. <span class="iconfont icon-ziyuan14" style="font-size:22px;"></span>
  165. </div>
  166. <div class="f_op_b">
  167. <span class="fzm fcc"><?php echo L('矿机');?></span>
  168. </div>
  169. </div>
  170. </a>
  171. <a href="<?php echo U('Levertade/index');?>">
  172. <div class="footer_op">
  173. <div class="f_op_t" style="line-height:35px;">
  174. <span class="iconfont icon-xuanxiang" style="font-size:22px;"></span>
  175. </div>
  176. <div class="f_op_b">
  177. <span class="fzm fcc"><?php echo L('合约');?></span>
  178. </div>
  179. </div>
  180. </a>
  181. <a href="<?php echo U('User/index');?>">
  182. <div class="footer_op">
  183. <div class="f_op_t" style="line-height:35px;">
  184. <svg class="icon fticon" aria-hidden="true"><use xlink:href="#icon-ziyuan24"></use></svg>
  185. </div>
  186. <div class="f_op_b">
  187. <span class="fzm fcy"><?php echo L('资产');?></span>
  188. </div>
  189. </div>
  190. </a>
  191. </div>
  192. </body>
  193. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  194. <script type="text/javascript" src="/Public/Static/js/layer/layer.js" ></script>
  195. <script type="text/javascript">
  196. function getmoney_usdt(){
  197. var coin = "Wallets-USDT";
  198. var numid = "#num_" + coin;
  199. var numdid = "#numd_" + coin;
  200. var zheheid = "#zhehe_" + coin;
  201. $.post("<?php echo U('User/getmoneyusdt');?>",
  202. {'coin':coin},
  203. function(data){
  204. if(data.code == 1){
  205. $(numid).html(data.num);
  206. $(numdid).html(data.numd);
  207. $(zheheid).html(data.zhe);
  208. }else{
  209. console.log("error");
  210. }
  211. }
  212. );
  213. }
  214. function getmoney_btc(){
  215. var coin = "btc";
  216. var numid = "#num_" + coin;
  217. var numdid = "#numd_" + coin;
  218. var zheheid = "#zhehe_" + coin;
  219. $.post("<?php echo U('User/getmoneybtc');?>",
  220. {'coin':coin},
  221. function(data){
  222. if(data.code == 1){
  223. $(numid).html(data.num);
  224. $(numdid).html(data.numd);
  225. $(zheheid).html(data.zhe);
  226. }else{
  227. console.log("error");
  228. }
  229. }
  230. );
  231. }
  232. function getmoney_eth(){
  233. var coin = "eth";
  234. var numid = "#num_" + coin;
  235. var numdid = "#numd_" + coin;
  236. var zheheid = "#zhehe_" + coin;
  237. $.post("<?php echo U('User/getmoneyeth');?>",
  238. {'coin':coin},
  239. function(data){
  240. if(data.code == 1){
  241. $(numid).html(data.num);
  242. $(numdid).html(data.numd);
  243. $(zheheid).html(data.zhe);
  244. }else{
  245. console.log("error");
  246. }
  247. }
  248. );
  249. }
  250. function getmoney_eos(){
  251. var coin = "eos";
  252. var numid = "#num_" + coin;
  253. var numdid = "#numd_" + coin;
  254. var zheheid = "#zhehe_" + coin;
  255. $.post("<?php echo U('User/getmoneyeos');?>",
  256. {'coin':coin},
  257. function(data){
  258. if(data.code == 1){
  259. $(numid).html(data.num);
  260. $(numdid).html(data.numd);
  261. $(zheheid).html(data.zhe);
  262. }else{
  263. console.log("error");
  264. }
  265. }
  266. );
  267. }
  268. function getmoney_doge(){
  269. var coin = "doge";
  270. var numid = "#num_" + coin;
  271. var numdid = "#numd_" + coin;
  272. var zheheid = "#zhehe_" + coin;
  273. $.post("<?php echo U('User/getmoneydoge');?>",
  274. {'coin':coin},
  275. function(data){
  276. if(data.code == 1){
  277. $(numid).html(data.num);
  278. $(numdid).html(data.numd);
  279. $(zheheid).html(data.zhe);
  280. }else{
  281. console.log("error");
  282. }
  283. }
  284. );
  285. }
  286. function getmoney_bch(){
  287. var coin = "bch";
  288. var numid = "#num_" + coin;
  289. var numdid = "#numd_" + coin;
  290. var zheheid = "#zhehe_" + coin;
  291. $.post("<?php echo U('User/getmoneybch');?>",
  292. {'coin':coin},
  293. function(data){
  294. if(data.code == 1){
  295. $(numid).html(data.num);
  296. $(numdid).html(data.numd);
  297. $(zheheid).html(data.zhe);
  298. }else{
  299. console.log("error");
  300. }
  301. }
  302. );
  303. }
  304. function getmoney_ltc(){
  305. var coin = "ltc";
  306. var numid = "#num_" + coin;
  307. var numdid = "#numd_" + coin;
  308. var zheheid = "#zhehe_" + coin;
  309. $.post("<?php echo U('User/getmoneyltc');?>",
  310. {'coin':coin},
  311. function(data){
  312. if(data.code == 1){
  313. $(numid).html(data.num);
  314. $(numdid).html(data.numd);
  315. $(zheheid).html(data.zhe);
  316. }else{
  317. console.log("error");
  318. }
  319. }
  320. );
  321. }
  322. function getmoney_trx(){
  323. var coin = "trx";
  324. var numid = "#num_" + coin;
  325. var numdid = "#numd_" + coin;
  326. var zheheid = "#zhehe_" + coin;
  327. $.post("<?php echo U('User/getmoneytrx');?>",
  328. {'coin':coin},
  329. function(data){
  330. if(data.code == 1){
  331. $(numid).html(data.num);
  332. $(numdid).html(data.numd);
  333. $(zheheid).html(data.zhe);
  334. }else{
  335. console.log("error");
  336. }
  337. }
  338. );
  339. }
  340. function getmoney_xrp(){
  341. var coin = "xrp";
  342. var numid = "#num_" + coin;
  343. var numdid = "#numd_" + coin;
  344. var zheheid = "#zhehe_" + coin;
  345. $.post("<?php echo U('User/getmoneyxrp');?>",
  346. {'coin':coin},
  347. function(data){
  348. if(data.code == 1){
  349. $(numid).html(data.num);
  350. $(numdid).html(data.numd);
  351. $(zheheid).html(data.zhe);
  352. }else{
  353. console.log("error");
  354. }
  355. }
  356. );
  357. }
  358. function getmoney_iotx(){
  359. var coin = "iotx";
  360. var numid = "#num_" + coin;
  361. var numdid = "#numd_" + coin;
  362. var zheheid = "#zhehe_" + coin;
  363. $.post("<?php echo U('User/getmoneyiotx');?>",
  364. {'coin':coin},
  365. function(data){
  366. if(data.code == 1){
  367. $(numid).html(data.num);
  368. $(numdid).html(data.numd);
  369. $(zheheid).html(data.zhe);
  370. }else{
  371. console.log("error");
  372. }
  373. }
  374. );
  375. }
  376. function getmoney_fil(){
  377. var coin = "fil";
  378. var numid = "#num_" + coin;
  379. var numdid = "#numd_" + coin;
  380. var zheheid = "#zhehe_" + coin;
  381. $.post("<?php echo U('User/getmoneyfil');?>",
  382. {'coin':coin},
  383. function(data){
  384. if(data.code == 1){
  385. $(numid).html(data.num);
  386. $(numdid).html(data.numd);
  387. $(zheheid).html(data.zhe);
  388. }else{
  389. console.log("error");
  390. }
  391. }
  392. );
  393. }
  394. function getmoney_shib(){
  395. var coin = "shib";
  396. var numid = "#num_" + coin;
  397. var numdid = "#numd_" + coin;
  398. var zheheid = "#zhehe_" + coin;
  399. $.post("<?php echo U('User/getmoneyshib');?>",
  400. {'coin':coin},
  401. function(data){
  402. if(data.code == 1){
  403. $(numid).html(data.num);
  404. $(numdid).html(data.numd);
  405. $(zheheid).html(data.zhe);
  406. }else{
  407. console.log("error");
  408. }
  409. }
  410. );
  411. }
  412. function getmoney_flow(){
  413. var coin = "flow";
  414. var numid = "#num_" + coin;
  415. var numdid = "#numd_" + coin;
  416. var zheheid = "#zhehe_" + coin;
  417. $.post("<?php echo U('User/getmoneyflow');?>",
  418. {'coin':coin},
  419. function(data){
  420. if(data.code == 1){
  421. $(numid).html(data.num);
  422. $(numdid).html(data.numd);
  423. $(zheheid).html(data.zhe);
  424. }else{
  425. console.log("error");
  426. }
  427. }
  428. );
  429. }
  430. function getmoney_jst(){
  431. var coin = "jst";
  432. var numid = "#num_" + coin;
  433. var numdid = "#numd_" + coin;
  434. var zheheid = "#zhehe_" + coin;
  435. $.post("<?php echo U('User/getmoneyjst');?>",
  436. {'coin':coin},
  437. function(data){
  438. if(data.code == 1){
  439. $(numid).html(data.num);
  440. $(numdid).html(data.numd);
  441. $(zheheid).html(data.zhe);
  442. }else{
  443. console.log("error");
  444. }
  445. }
  446. );
  447. }
  448. function getmoney_itc(){
  449. var coin = "itc";
  450. var numid = "#num_" + coin;
  451. var numdid = "#numd_" + coin;
  452. var zheheid = "#zhehe_" + coin;
  453. $.post("<?php echo U('User/getmoneyitc');?>",
  454. {'coin':coin},
  455. function(data){
  456. if(data.code == 1){
  457. $(numid).html(data.num);
  458. $(numdid).html(data.numd);
  459. $(zheheid).html(data.zhe);
  460. }else{
  461. console.log("error");
  462. }
  463. }
  464. );
  465. }
  466. function getmoney_ht(){
  467. var coin = "ht";
  468. var numid = "#num_" + coin;
  469. var numdid = "#numd_" + coin;
  470. var zheheid = "#zhehe_" + coin;
  471. $.post("<?php echo U('User/getmoneyht');?>",
  472. {'coin':coin},
  473. function(data){
  474. if(data.code == 1){
  475. $(numid).html(data.num);
  476. $(numdid).html(data.numd);
  477. $(zheheid).html(data.zhe);
  478. }else{
  479. console.log("error");
  480. }
  481. }
  482. );
  483. }
  484. function getmoney_ogo(){
  485. var coin = "ogo";
  486. var numid = "#num_" + coin;
  487. var numdid = "#numd_" + coin;
  488. var zheheid = "#zhehe_" + coin;
  489. $.post("<?php echo U('User/getmoneyogo');?>",
  490. {'coin':coin},
  491. function(data){
  492. if(data.code == 1){
  493. $(numid).html(data.num);
  494. $(numdid).html(data.numd);
  495. $(zheheid).html(data.zhe);
  496. }else{
  497. console.log("error");
  498. }
  499. }
  500. );
  501. }
  502. function getmoney_usdz(){
  503. var coin = "ukb";
  504. var numid = "#num_" + coin;
  505. var numdid = "#numd_" + coin;
  506. var zheheid = "#zhehe_" + coin;
  507. $.post("<?php echo U('User/getmoneyusdz');?>",
  508. {'coin':coin},
  509. function(data){
  510. if(data.code == 1){
  511. $(numid).html(data.num);
  512. $(numdid).html(data.numd);
  513. $(zheheid).html(data.zhe);
  514. }else{
  515. console.log("error");
  516. }
  517. }
  518. );
  519. }
  520. function getmoney_lever(){
  521. var coin = "Futures-USDT";
  522. var numid = "#num_" + coin;
  523. var numdid = "#numd_" + coin;
  524. var zheheid = "#zhehe_" + coin;
  525. $.post("<?php echo U('User/getmoneylever');?>",
  526. {'coin':coin},
  527. function(data){
  528. if(data.code == 1){
  529. $(numid).html(data.num);
  530. $(numdid).html(data.numd);
  531. $(zheheid).html(data.zhe);
  532. }else{
  533. console.log("error");
  534. }
  535. }
  536. );
  537. }
  538. </script>
  539. <script type="text/javascript">
  540. $(function(){
  541. setInterval("getmoney_usdz()",27000);
  542. setInterval("getmoney_ogo()",25000);
  543. setInterval("getmoney_ht()",23000);
  544. setInterval("getmoney_itc()",21000);
  545. setInterval("getmoney_jst()",19000);
  546. setInterval("getmoney_flow()",19000);
  547. setInterval("getmoney_shib()",17000);
  548. setInterval("getmoney_fil()",17000);
  549. setInterval("getmoney_iotx()",15000);
  550. setInterval("getmoney_xrp()",13000);
  551. setInterval("getmoney_trx()",11000);
  552. setInterval("getmoney_ltc()",9000);
  553. setInterval("getmoney_bch()",7000);
  554. setInterval("getmoney_doge()",5000);
  555. setInterval("getmoney_eos()",5000);
  556. setInterval("getmoney_eth()",3000);
  557. setInterval("getmoney_btc()",2000);
  558. getmoney_btc();
  559. setInterval("getallzhehe()",2000);
  560. setInterval("getallzhehe()",2000);
  561. getmoney_usdt();
  562. setInterval("getmoney_lever()",2000);
  563. });
  564. </script>
  565. <script type="text/javascript">
  566. function getallzhehe(){
  567. $.post("<?php echo U('User/getallzhehe');?>",
  568. function(data){
  569. if(data.code == 1){
  570. $("#allzhehebox").html(data.allzhehe);
  571. }
  572. });
  573. }
  574. </script>
  575. <!--
  576. <script type="text/javascript">
  577. function getusermoney(){
  578. $.post("<?php echo U('User/getmoneyinfo');?>",
  579. function(data){
  580. if(data.code == 1){
  581. $("#moneylistbox").empty();
  582. var html = '';
  583. if(data.data == '' || data.data == null){
  584. html = '<div style="width:100%;height:100px;line-height:100px;text-align:center;">'+
  585. '<span class="fzmm fcc">' + "<?php echo L('没有获取数据');?>" + '</span>'+
  586. '</div>';
  587. $("#moneylistbox").append(html);
  588. }else{
  589. $.each(data.data,function(key,val){
  590. html += '<a href="/User/coininfo?cid='+ val.cid +'">'+
  591. '<div class="listbox">'+
  592. '<div class="listbox_title">'+
  593. '<div class="listbox_title_l">'+
  594. '<span class="fcc" style="font-size:16px;font-weight:500;">' + val.cname + '</span>'+
  595. '</div>'+
  596. '<div class="listbox_title_r">'+
  597. '<i class="bi bi-chevron-right fcc" style="font-size:14px;"></i>'+
  598. '</div>'+
  599. '</div>'+
  600. '<div style="width:100%;height:60px;">'+
  601. '<div style="width:33.33%;height:60px;float:left;">'+
  602. '<div style="width:100%;height:30px;line-height:40px;">'+
  603. '<span style="color:#cbcbcb;"><?php echo l("可用");?></span>'+
  604. '</div>'+
  605. '<div style="width:100%;height:30px;line-height:20px;">'+
  606. '<span class="fch">' + val.num + '</span>'+
  607. '</div>'+
  608. '</div>'+
  609. '<div style="width:33.33%;height:60px;float:left;">'+
  610. '<div style="width:100%;height:30px;line-height:40px;">'+
  611. '<span style="color:#cbcbcb;"><?php echo l("冻结");?></span>'+
  612. '</div>'+
  613. '<div style="width:100%;height:30px;line-height:20px;">'+
  614. '<span class="fch">' + val.numd + '</span>'+
  615. '</div>'+
  616. '</div>'+
  617. '<div style="width:33.33%;height:60px;float:left;">'+
  618. '<div style="width:100%;height:30px;line-height:40px;text-align:right;">'+
  619. '<span style="color:#cbcbcb;"><?php echo l("折合");?>(USDT)</span>'+
  620. '</div>'+
  621. '<div style="width:100%;height:30px;line-height:20px;text-align:right;">'+
  622. '<span class="fch">' + val.zhe + '</span>'+
  623. '</div>'+
  624. '</div>'+
  625. '</div>'+
  626. '</div>'+
  627. '</a>';
  628. });
  629. $("#moneylistbox").append(html);
  630. }
  631. }else{
  632. html = '<div style="width:100%;height:100px;line-height:100px;text-align:center;">'+
  633. '<span class="fzmm fcc">' + "<?php echo L('没有获取数据');?>" + '</span>'+
  634. '</div>';
  635. $("#moneylistbox").append(html);
  636. }
  637. });
  638. }
  639. </script>
  640. ---->
  641. <script type="text/javascript">
  642. function goback(){
  643. window.history.go(-1);
  644. }
  645. $("#eyesid").click(function(){
  646. var st = $("#st").val();
  647. if(st == 1){
  648. $("#eyesid").removeClass("bi-eye");
  649. $("#eyesid").addClass("bi-eye-slash");
  650. $("#st").val(2);
  651. $(".zhehebox").html("******.******");
  652. $(".zhehebox").removeAttr("id");
  653. }else if(st == 2){
  654. $("#eyesid").addClass("bi-eye");
  655. $("#eyesid").removeClass("bi-eye-slash");
  656. $("#st").val(1);
  657. $(".zhehebox").attr("id","allzhehebox");
  658. }
  659. });
  660. $("#hidebtn").click(function(){
  661. $("#dongbox").hide();
  662. });
  663. $("#showdongbtn").click(function(){
  664. $("#dongbox").show();
  665. });
  666. </script>
  667. </html>