5a667d19cd34df437d4df5b5790182a7.php 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. <?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
  2. <html lang="zh-CN" style="background:#fff;">
  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%;margin-top:45px;}
  21. .contentbox_top{width:100%;height:50px;line-height:50px;text-align:left;padding:0px 15px;}
  22. .listbox{width:100%;height:100px;background:#fff;padding:5px 15px;}
  23. .listbox_title{width:100%;height:30px;line-height:30px;}
  24. .listbox_title_l{width:50%;height:30px;float:left;text-align:left;}
  25. .listbox_title_r{width:50%;height:30px;float:right;text-align:right;}
  26. .titlebox{width:29%;height:50px;line-height:50px;float:left;}
  27. .xztitile{color:#000;font-size:22px;font-weight:bold;}
  28. .notitile{color:#707A8A;font-size:20px;font-weight:500px;}
  29. .listbox{width:100%;background:#fff;margin-top:120px;}
  30. .tlistbox{width:100%;clear:both;padding:10px 0px;}
  31. .tlistbox_1{width:100%;border-bottom:1px solid #f5f5f5;}
  32. .tlistbox_2{width:100%;height:30px;}
  33. .tlistbox_3{width:80%;height:30px;line-height:30px;}
  34. .tlistbox_4{width:20%;height:30px;line-height:30px;}
  35. .tlistbox_5{padding:5px 10px;background:#fcfcfc;border-radius:5px;}
  36. .tlistbox_6{width:100%;height:60px;}
  37. .tlistbox_7{width:33.33%;height:60px;}
  38. .tlistbox_8{width:100%;height:30px;line-height:30px;}
  39. .tlistbox_9{width:100%;height:30px;line-height:20px;}
  40. .tl{text-align:left;}
  41. .tr{text-align:right;}
  42. .tc{text-align:center;}
  43. .fl{float:left;}
  44. .fr{float:right;}
  45. .red{color:#f5465c;}
  46. .bghc{background:#f5f5f5;}
  47. .green{color:#0ecb81;}
  48. .emptybox{width:100%;height:80px;line-height:80px;text-align:center;}
  49. </style>
  50. </head>
  51. <body style="background:#fff;">
  52. <div class="container-fluid " style="padding:0px;width:100vw;">
  53. <div class="no_header">
  54. <div class="fl allhg txtl">
  55. <i class="bi bi-arrow-left fcc fw" onclick="goback()" style="font-size: 24px;"></i>
  56. </div>
  57. <div class="fr allhg txtr" style="line-height:50px;width:10%;"></div>
  58. </div>
  59. <div class="contentbox">
  60. <div class="contentbox_top" style="position: fixed;top: 50px;background:#f5f5f5;">
  61. <div class="titlebox">
  62. <span class="xztitile" id="wtlistbtn"><?php echo L('全部认购');?></span>
  63. </div>
  64. <div class="titlebox">
  65. <span class="notitile" id="alllistbtn"><?php echo L('冻结中');?></span>
  66. </div>
  67. <div class="titlebox">
  68. <span class="notitile" id="finishbtn"><?php echo L('已解冻');?></span>
  69. </div>
  70. </div>
  71. <!---已解冻-->
  72. <div class="listbox" id="finishbox" style="display:none;">
  73. <?php if(empty($jdllist)): ?><div class="emptybox">
  74. <span class="fcc fzmm"><?php echo L('暂时没有记录');?></span>
  75. </div>
  76. <?php else: ?>
  77. <?php if(is_array($jdllist)): foreach($jdllist as $key=>$vo): ?><div class="tlistbox">
  78. <div class="tlistbox_1">
  79. <div class="tlistbox_2">
  80. <div class="tlistbox_3 fl">
  81. <span class="fzmmm fch" style="font-weight:500;"><?php echo L('项目');?>:<?php echo ($vo["name"]); ?></span>
  82. </div>
  83. <?php if($vo["status"] == 1): ?><div class="tlistbox_4 fr tr">
  84. <span class="tlistbox_5 red"><?php echo L('冻结中');?></span>
  85. </div>
  86. <?php elseif($vo["status"] == 2): ?>
  87. <div class="tlistbox_4 fr tr">
  88. <span class="tlistbox_5 green"><?php echo L('已解冻');?></span>
  89. </div><?php endif; ?>
  90. </div>
  91. <div class="tlistbox_6">
  92. <div class="tlistbox_7 fl" style="width:30%;height:60px;">
  93. <div class="tlistbox_8 tl">
  94. <span class="fzm fcc"><?php echo L('认购数量');?>(<?php echo strtoupper($vo['coinname']);?>)</span>
  95. </div>
  96. <div class="tlistbox_9 tl">
  97. <span class="fzmm fch"><?php echo ($vo["num"]); ?></span>
  98. </div>
  99. </div>
  100. <div class="tlistbox_7 fl" style="width:40%;height:60px;">
  101. <div class="tlistbox_8 tc">
  102. <span class="fzm fcc"><?php echo L('支付金额');?>(<?php echo strtoupper($vo['buycoin']);?>)</span>
  103. </div>
  104. <div class="tlistbox_9 tc">
  105. <span class="fzmm fch"><?php echo ($vo["mum"]); ?></span>
  106. </div>
  107. </div>
  108. <div class="tlistbox_7 fl" style="width:30%;height:60px;">
  109. <div class="tlistbox_8 tr">
  110. <span class="fzm fcc"><?php echo L('解冻日期');?></span>
  111. </div>
  112. <div class="tlistbox_9 tr">
  113. <span class="fzmm fch"><?php echo ($vo["endday"]); ?></span>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. </div><?php endforeach; endif; endif; ?>
  119. </div>
  120. <!---冻结中-->
  121. <div class="listbox" id="alllistbox" style="display:none;">
  122. <?php if(empty($djllist)): ?><div class="emptybox">
  123. <span class="fcc fzmm"><?php echo L('暂时没有记录');?></span>
  124. </div>
  125. <?php else: ?>
  126. <?php if(is_array($djllist)): foreach($djllist as $key=>$vo): ?><div class="tlistbox">
  127. <div class="tlistbox_1">
  128. <div class="tlistbox_2">
  129. <div class="tlistbox_3 fl">
  130. <span class="fzmmm fch" style="font-weight:500;"><?php echo L('项目');?>:<?php echo ($vo["name"]); ?></span>
  131. </div>
  132. <?php if($vo["status"] == 1): ?><div class="tlistbox_4 fr tr">
  133. <span class="tlistbox_5 red"><?php echo L('冻结中');?></span>
  134. </div>
  135. <?php elseif($vo["status"] == 2): ?>
  136. <div class="tlistbox_4 fr tr">
  137. <span class="tlistbox_5 green"><?php echo L('已解冻');?></span>
  138. </div><?php endif; ?>
  139. </div>
  140. <div class="tlistbox_6">
  141. <div class="tlistbox_7 fl" style="width:30%;">
  142. <div class="tlistbox_8 tl">
  143. <span class="fzm fcc"><?php echo L('认购数量');?>(<?php echo strtoupper($vo['coinname']);?>)</span>
  144. </div>
  145. <div class="tlistbox_9 tl">
  146. <span class="fzmm fch"><?php echo ($vo["num"]); ?></span>
  147. </div>
  148. </div>
  149. <div class="tlistbox_7 fl" style="width:40%;">
  150. <div class="tlistbox_8 tc">
  151. <span class="fzm fcc"><?php echo L('支付金额');?>(<?php echo strtoupper($vo['buycoin']);?>)</span>
  152. </div>
  153. <div class="tlistbox_9 tc">
  154. <span class="fzmm fch"><?php echo ($vo["mum"]); ?></span>
  155. </div>
  156. </div>
  157. <div class="tlistbox_7 fl" style="width:30%;">
  158. <div class="tlistbox_8 tr">
  159. <span class="fzm fcc"><?php echo L('解冻日期');?></span>
  160. </div>
  161. <div class="tlistbox_9 tr">
  162. <span class="fzmm fch"><?php echo ($vo["endday"]); ?></span>
  163. </div>
  164. </div>
  165. </div>
  166. </div>
  167. </div><?php endforeach; endif; endif; ?>
  168. </div>
  169. <!----全部认购--->
  170. <div class="listbox" id="wtlistbox" style="display:block;">
  171. <?php if(empty($alllist)): ?><div class="emptybox">
  172. <span class="fcc fzmm"><?php echo L('暂时没有记录');?></span>
  173. </div>
  174. <?php else: ?>
  175. <?php if(is_array($alllist)): foreach($alllist as $key=>$vo): ?><div class="tlistbox">
  176. <div class="tlistbox_1">
  177. <div class="tlistbox_2">
  178. <div class="tlistbox_3 fl">
  179. <span class="fzmmm fch" style="font-weight:500;"><?php echo L('项目');?>:<?php echo ($vo["name"]); ?></span>
  180. </div>
  181. <?php if($vo["status"] == 1): ?><div class="tlistbox_4 fr tr">
  182. <span class="tlistbox_5 red"><?php echo L('冻结中');?></span>
  183. </div>
  184. <?php elseif($vo["status"] == 2): ?>
  185. <div class="tlistbox_4 fr tr">
  186. <span class="tlistbox_5 green"><?php echo L('已解冻');?></span>
  187. </div><?php endif; ?>
  188. </div>
  189. <div class="tlistbox_6">
  190. <div class="tlistbox_7 fl" style="width:30%;">
  191. <div class="tlistbox_8 tl"
  192. <span class="fzm fcc"><?php echo L('认购数量');?>(<?php echo strtoupper($vo['coinname']);?>)</span>
  193. </div>
  194. <div class="tlistbox_9 tl">
  195. <span class="fzmm fch"><?php echo ($vo["num"]); ?></span>
  196. </div>
  197. </div>
  198. <div class="tlistbox_7 fl" style="width:40%;">
  199. <div class="tlistbox_8 tc">
  200. <span class="fzm fcc"><?php echo L('支付金额');?>(<?php echo strtoupper($vo['buycoin']);?>)</span>
  201. </div>
  202. <div class="tlistbox_9 tc">
  203. <span class="fzmm fch"><?php echo ($vo["mum"]); ?></span>
  204. </div>
  205. </div>
  206. <div class="tlistbox_7 fl" style="width:30%;">
  207. <div class="tlistbox_8 tr">
  208. <span class="fzm fcc"><?php echo L('解冻日期');?></span>
  209. </div>
  210. <div class="tlistbox_9 tr">
  211. <span class="fzmm fch"><?php echo ($vo["endday"]); ?></span>
  212. </div>
  213. </div>
  214. </div>
  215. </div>
  216. </div><?php endforeach; endif; endif; ?>
  217. </div>
  218. <div style="width:100%;height:80px;"></div>
  219. </div>
  220. </div>
  221. </body>
  222. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  223. <script type="text/javascript" src="/Public/Static/js/layer/layer.js" ></script>
  224. <script type="text/javascript">
  225. $("#wtlistbtn").click(function(){
  226. $("#wtlistbtn").addClass("xztitile");
  227. $("#wtlistbtn").removeClass("notitile");
  228. $("#alllistbtn").addClass("notitile");
  229. $("#alllistbtn").removeClass("xztitile");
  230. $("#finishbtn").addClass("notitile");
  231. $("#finishbtn").removeClass("xztitile");
  232. $("#wtlistbox").show();
  233. $("#alllistbox").hide();
  234. $("#finishbox").hide();
  235. });
  236. $("#alllistbtn").click(function(){
  237. $("#wtlistbtn").addClass("notitile");
  238. $("#wtlistbtn").removeClass("xztitile");
  239. $("#alllistbtn").addClass("xztitile");
  240. $("#alllistbtn").removeClass("notitile");
  241. $("#finishbtn").addClass("notitile");
  242. $("#finishbtn").removeClass("xztitile");
  243. $("#wtlistbox").hide();
  244. $("#alllistbox").show();
  245. $("#finishbox").hide();
  246. });
  247. $("#finishbtn").click(function(){
  248. $("#wtlistbtn").addClass("notitile");
  249. $("#wtlistbtn").removeClass("xztitile");
  250. $("#alllistbtn").addClass("notitile");
  251. $("#alllistbtn").removeClass("xztitile");
  252. $("#finishbtn").addClass("xztitile");
  253. $("#finishbtn").removeClass("notitile");
  254. $("#wtlistbox").hide();
  255. $("#alllistbox").hide();
  256. $("#finishbox").show();
  257. });
  258. </script>
  259. <script type="text/javascript">
  260. function clearorder(id){
  261. var oid = id;
  262. $.post("<?php echo U('Trade/clearorder');?>",
  263. {"oid":oid},
  264. function(data){
  265. if(data.code == 1){
  266. layer.msg(data.info);
  267. setTimeout(function(args){
  268. window.location.reload();
  269. },2000);
  270. }else{
  271. layer.msg(data.info);return false;
  272. }
  273. });
  274. }
  275. </script>
  276. <script type="text/javascript">
  277. function goback(){
  278. window.history.go(-1);
  279. }
  280. </script>
  281. </html>