coininfo.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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:#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:#fff;}
  20. .contentbox{width:100%;margin-top:45px;}
  21. .contentbox_top{width:100%;height:50px;line-height:50px;text-align:left;background:#fff;}
  22. .topbox{width:100%;height:240px;background:#fff;padding:5px 15px;}
  23. .coinstyle{font-size:26px;font-weight:bold;}
  24. .infolist{width:33.33%;height:50px;float:left;}
  25. .infolist_1{width:100%;height:20px;line-height:20px;}
  26. .listbox_a{width:45%;height:60px;background:#f5f5f5;border-radius:5px;float:left;padding:5px 10px;}
  27. .listbox_a_1{width:100%;height:20px;line-height:20px;}
  28. .listbox_a_2{width:45%;height:30px;line-height:30px;float:left;}
  29. .listbox_a_3{width:45%;height:50%;line-height:30px;float:right;text-align:right;}
  30. .infobox_a{width:100%;min-height: 350px;background:#fff;margin-top:10px;padding:10px;}
  31. .infobox_b{width:100%;height:90px;padding:5px 10px;}
  32. .infobox_c{width:100%;height:30px;line-height:30px;}
  33. .infobox_d{width:100%;height:60px;}
  34. .infobox_e{width:33.33%;height:50px;float:left;}
  35. .btnbox{width:100%;height:60px;position: fixed;bottom:0px;padding:10px;background:#fff;}
  36. .btnbox_a{width:45%;height:40px;line-height:40px;text-align:center;float:left;}
  37. .btnbox_b{width:45%;height:40px;line-height:40px;text-align:center;float:right;}
  38. .btnbg_a{background: linear-gradient(to left,#eeb80d,#ffe35b);border-radius:5px;}
  39. .btnbg_b{background: #f5f5f5;border-radius:5px;}
  40. .bgreen{background:#0ecb81;}
  41. .bred{background:#f5465c;}
  42. .green{color:#0ecb81;}
  43. .red{color:#f5465c;}
  44. </style>
  45. </head>
  46. <body>
  47. <div class="container-fluid " style="padding:0px;width:100vw;">
  48. <div class="no_header">
  49. <div class="fl allhg txtl">
  50. <i class="bi bi-arrow-left fcc fw" onclick="goback()" style="font-size: 24px;"></i>
  51. </div>
  52. <div class="fr allhg txtr" style="line-height:50px;width:10%;"></div>
  53. </div>
  54. <div class="contentbox">
  55. <div class="topbox" <?php if($coinname == "USDT"){?> style="height:120px;" <?php }?>>
  56. <div class="contentbox_top">
  57. <span class="fcy coinstyle">{$coinname}</span>
  58. </div>
  59. <div style="width:100%;height:50px;">
  60. <div class="infolist">
  61. <div class="infolist_1">
  62. <span class="fcc fzm">{:L('可用')}</span>
  63. </div>
  64. <div class="infolist_1">
  65. <span class="fch fzmm" id="kymoney">{$data.kymoney}</span>
  66. </div>
  67. </div>
  68. <div class="infolist">
  69. <div class="infolist_1">
  70. <span class="fcc fzm">{:L('冻结')}</span>
  71. </div>
  72. <div class="infolist_1">
  73. <span class="fch fzmm" id="djmonfy">{$data.djmoney}</span>
  74. </div>
  75. </div>
  76. <div class="infolist">
  77. <div class="infolist_1" style="text-align:right;">
  78. <span class="fcc fzm">{:L('折合')}(USDT)</span>
  79. </div>
  80. <div class="infolist_1" style="text-align:right;">
  81. <span class="fch fzmm" id="zhmoney">{$data.zhmoney}</span>
  82. </div>
  83. </div>
  84. </div>
  85. <?php if($coinname != "USDT"){?>
  86. <div class="contentbox_top">
  87. <span class="fch" style="font-size:20px;font-weight:500;"><?php echo L('去交易');?></span>
  88. </div>
  89. <div style="width:100%;height:60px;">
  90. <a href="/Trade/index.html">
  91. <div class="listbox_a">
  92. <div class="listbox_a_1">
  93. <span class="fcc fzm" ><?php echo $coinname;?>/USDT</span>
  94. <span class="fcc fzm"><?php echo L('币币交易');?></span>
  95. </div>
  96. <div style="width:100%;height:30px;">
  97. <div class="listbox_a_2">
  98. <span class="fch fzm newprice">--</span>
  99. </div>
  100. <div class="listbox_a_3">
  101. <span class="fch fzm changebox">--</span>
  102. </div>
  103. </div>
  104. </div>
  105. </a>
  106. <a href="/Contract/index.html">
  107. <div class="listbox_a" style="float:right;">
  108. <div class="listbox_a_1">
  109. <span class="fcc fzm"><?php echo $coinname;?>/USDT</span>
  110. <span class="fcc fzm"><?php echo L('快速合约');?></span>
  111. </div>
  112. <div style="width:100%;height:30px;">
  113. <div class="listbox_a_2">
  114. <span class="fch fzm newprice">--</span>
  115. </div>
  116. <div class="listbox_a_3">
  117. <span class="fch fzm changebox">--</span>
  118. </div>
  119. </div>
  120. </div>
  121. </a>
  122. </div>
  123. <?php } ?>
  124. </div>
  125. <div class="infobox_a">
  126. <div class="contentbox_top">
  127. <span class="fch" style="font-size:20px;font-weight:500;">{:L('财务记录')}</span>
  128. </div>
  129. <empty name="billlist">
  130. <div style="width:100%;height:200px;line-height:200px;text-align:center;">
  131. <span class="fcc fzmm">{:L('暂时没有数据')}</span>
  132. </div>
  133. <else />
  134. <foreach name="billlist" item="vo">
  135. <div class="infobox_b" style="border-bottom:1px solid #f5f5f5;">
  136. <div class="infobox_c">
  137. <div style="width:80%;height:30px;line-height:30px;float:left;">
  138. <?php if($vo['type']==1){?>
  139. <span class="fch fzmm"><?php echo L('充币');?></span>
  140. <?php }elseif($vo['type']==2){?>
  141. <span class="fch fzmm"><?php echo L('提币');?></span>
  142. <?php }elseif($vo['type']==3){?>
  143. <span class="fch fzmm"><?php echo L('合约建仓');?></span>
  144. <?php }elseif($vo['type']==4){?>
  145. <span class="fch fzmm"><?php echo L('合约平仓');?></span>
  146. <?php }elseif($vo['type']==5){?>
  147. <span class="fch fzmm"><?php echo L('购买矿机');?></span>
  148. <?php }elseif($vo['type']==6){?>
  149. <span class="fch fzmm"><?php echo L('购机奖励');?></span>
  150. <?php }elseif($vo['type']==7){?>
  151. <span class="fch fzmm"><?php echo L('矿机收益释放冻结');?></span>
  152. <?php }elseif($vo['type']==8){?>
  153. <span class="fch fzmm"><?php echo L('释放冻结收益');?></span>
  154. <?php }elseif($vo['type']==9){?>
  155. <span class="fch fzmm"><?php echo L('币币交易');?></span>
  156. <?php }elseif($vo['type']==10){?>
  157. <span class="fch fzmm"><?php echo L('币币交易');?></span>
  158. <?php }elseif($vo['type']==11){?>
  159. <span class="fch fzmm"><?php echo L('认购');?></span>
  160. <?php }elseif($vo['type']==12){?>
  161. <span class="fch fzmm"><?php echo L('认购');?></span>
  162. <?php }elseif($vo['type']==13){?>
  163. <span class="fch fzmm"><?php echo L('一代会员认购奖励');?></span>
  164. <?php }elseif($vo['type']==14){?>
  165. <span class="fch fzmm"><?php echo L('二代会员认购奖励');?></span>
  166. <?php }elseif($vo['type']==15){?>
  167. <span class="fch fzmm"><?php echo L('三代会员认购奖励');?></span>
  168. <?php }elseif($vo['type']==16){?>
  169. <span class="fch fzmm"><?php echo L('提币驳回');?></span>
  170. <?php }elseif($vo['type']==17){?>
  171. <span class="fch fzmm"><?php echo L('充币成功');?></span>
  172. <?php }elseif($vo['type']==18){?>
  173. <span class="fch fzmm"><?php echo L('资金划转');?></span>
  174. <?php }elseif($vo['type']==55){?>
  175. <span class="fch fzmm"><?php echo $vo['remark']?></span>
  176. <?php }else{?>
  177. <span class="fch fzmm"><?php echo $vo['remark']?></span>
  178. <?php }?>
  179. </div>
  180. <div style="width:20%;height:30px;line-height:30px;float:right;text-align:right;">
  181. <i class="bi bi-chevron-right fcc"></i>
  182. </div>
  183. </div>
  184. <div class="infobox_d">
  185. <div class="infobox_e">
  186. <div style="width:100%;height:20px;line-height:20px;">
  187. <span class="fcc fzm"><?php echo L('数量');?></span>
  188. </div>
  189. <div style="width:100%;height:40px;line-height:30px;">
  190. <span class="fch fzmm">{$vo.num}</span>
  191. </div>
  192. </div>
  193. <div class="infobox_e">
  194. <div style="width:100%;height:20px;line-height:20px;">
  195. <span class="fcc fzm">{:L('状态')}</span>
  196. </div>
  197. <div style="width:100%;height:40px;line-height:30px;">
  198. <span class="fch fzmm">{:L('已完成')}</span>
  199. </div>
  200. </div>
  201. <div class="infobox_e" >
  202. <div style="width:100%;height:20px;line-height:20px;text-align:right;">
  203. <span class="fcc fzm">{:L('时间')}</span>
  204. </div>
  205. <div style="width:100%;height:40px;line-height:30px;text-align:right;">
  206. <span class="fch fzmm"><?php echo date("m-d H:i",strtotime($vo['addtime']));?></span>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </foreach>
  212. </empty>
  213. <div style="width:100%;height:80px;background:#fff;"></div>
  214. </div>
  215. </div>
  216. <if condition='$lowcoin eq "ukb"'>
  217. <else />
  218. <div class="btnbox">
  219. <a href="/User/czpage.html?id={$oid}">
  220. <div class="btnbox_a btnbg_a" style="width:30%;float:left;margin-right:3%;">
  221. <span class="fch fzmm">{:L('充币')}</span>
  222. </div>
  223. </a>
  224. <a href="/User/txpage.html?id={$oid}">
  225. <div class="btnbox_b btnbg_b" style="width:30%;float:left;margin-right:3%;">
  226. <span class="fch fzmm">{:L('提币')}</span>
  227. </div>
  228. </a>
  229. <?php if($oid == 4){?>
  230. <a href="/User/transfer.html?id=<?php echo $oid;?>">
  231. <div class="btnbox_b btnbg_b" style="width:30%;float:left;margin-right:3%;">
  232. <span class="fch fzmm"><?php echo L('划转');?></span>
  233. </div>
  234. </a>
  235. <?php }?>
  236. </div>
  237. </if>
  238. </div>
  239. </body>
  240. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  241. <script type="text/javascript" src="/Public/Static/js/layer/layer.js" ></script>
  242. <script type="text/javascript">
  243. $(function(){
  244. setInterval("getnewprice()",1000);
  245. });
  246. </script>
  247. <script type="text/javascript">
  248. function getnewprice(){
  249. var coinname = "{$coinname}";
  250. $.post("{:U('User/getnewprice')}",
  251. {'coinname' : coinname},
  252. function(data){
  253. if(data.code == 1){
  254. $(".newprice").html(data.newprice);
  255. $(".changebox").html(data.changestr);
  256. }
  257. });
  258. }
  259. </script>
  260. <script type="text/javascript">
  261. function goback(){
  262. window.history.go(-1);
  263. }
  264. </script>
  265. </html>