index.html 26 KB

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