85757f9328659a6265d2b2dbf957eaeb.php 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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" href="/Public/Static/Icoinfont/iconfont.css">
  11. <script src="/Public/Static/Icoinfont/iconfont.js"></script>
  12. <title><?php echo ($webname); ?></title>
  13. <style>
  14. ::-webkit-input-placeholder {color: #b5b5b5;font-size: 12px;}
  15. ::-moz-placeholder {color: #b5b5b5;font-size: 12px;}
  16. input:focus{background:#f5f5f5;outline: 1px solid #f5f5f5;}
  17. a:hover,a:link,a:visited,a:active{color:#707A8A;text-decoration:none;}
  18. .topbox{width:100%;height:50px;border-bottom:1px solid #f5f5f5;padding:5px 10px;position: fixed;top: 0px;background: #fff;}
  19. .topbox_1{width:80%;height:40px;float:left;padding:0px 10px;}
  20. .topbox_1_b{width:100%;height:30px;margin-top:5px;background:#f5f5f5;border-radius:15px;padding:0px 5px;}
  21. .topbox_2{width:20%;height:40px;line-height:40px;float:left;text-align:center;}
  22. .sybolc{width:80%;height:25px;line-height:25px;margin-top:2px;border:#f5f5f5;background:#f5f5f5;}
  23. .topbox_1_c{width:20%;height:30px;line-height:30px;text-align:center;float:left;}
  24. .topbox_1_d{width:80%;height:30px;line-height:30px;float:right;}
  25. .lmcoin{width:20%;height:30px;line-height:30px;float:left;text-align:center;border:1px solid #707A8A;border-radius:5px;margin-right:5%;}
  26. .coinlistbox{width:100%;margin-top:10px;padding:10px;}
  27. .coinlistbox_top{width:100%;height:30px;line-height:30px;}
  28. .coinlistbox_info{width:100%;padding:10px 0px;;padding:5px;}
  29. .coinlistbox_info_list{width:100%;height:40px;border-bottom:1px solid #f5f5f5;margin-top:10px;}
  30. .coinlistbox_info_list_l{width:30%;height:40px;line-height:40px;float:left;}
  31. .coinlistbox_info_list_c{width:30%;height:40px;line-height:40px;float:left;}
  32. .coinlistbox_info_list_r{width:40%;height:40px;line-height:40px;float:right;text-align:right;}
  33. </style>
  34. </head>
  35. <body style="background:#fff;">
  36. <div class="container-fluid " style="padding:0px;width:100vw;">
  37. <div class="topbox">
  38. <div class="topbox_1" style="">
  39. <div class="topbox_1_b">
  40. <div class="topbox_1_c">
  41. <i class="bi bi-search"></i>
  42. </div>
  43. <div class="topbox_1_d">
  44. <input type="text" oninput="findc();" id="symbol" class="sybolc" placeholder="<?php echo L('搜索您需要的币种');?>" />
  45. </div>
  46. </div>
  47. </div>
  48. <div class="topbox_2" onclick="goback();">
  49. <span class="fzmmm fch"><?php echo L('取消');?></span>
  50. </div>
  51. </div>
  52. <div style="width:100%;height:100px;margin-top:50px;padding:10px;">
  53. <div style="width:100%;height:30px;line-height:30px;">
  54. <span class="fzmmm fch" style="padding:5px;border-bottom:3px solid #FCD535;"><?php echo L('热门币种');?></span>
  55. </div>
  56. <div style="width:100%;height:70px;padding:20px;">
  57. <a href="<?php echo U('User/czpage');?>?id=4">
  58. <div class="lmcoin">
  59. <span class="fzmm fch">USDT</span>
  60. </div>
  61. </a>
  62. <a href="<?php echo U('User/czpage');?>?id=6">
  63. <div class="lmcoin">
  64. <span class="fzmm fch">BTC</span>
  65. </div>
  66. </a>
  67. <a href="<?php echo U('User/czpage');?>?id=7">
  68. <div class="lmcoin">
  69. <span class="fzmm fch">ETH</span>
  70. </div>
  71. </a>
  72. <a href="<?php echo U('User/czpage');?>?id=16">
  73. <div class="lmcoin">
  74. <span class="fzmm fch">TRX</span>
  75. </div>
  76. </a>
  77. </div>
  78. </div>
  79. <div class="coinlistbox">
  80. <div class="coinlistbox_top">
  81. <span class="fzmmm fch" style="padding:5px;border-bottom:3px solid #FCD535;"><?php echo L('币种列表');?></span>
  82. </div>
  83. <div class="coinlistbox_info" id="coinbox">
  84. <?php if(is_array($list)): foreach($list as $key=>$vo): ?><a href="<?php echo U('User/czpage');?>?id=<?php echo ($vo["id"]); ?>">
  85. <div class="coinlistbox_info_list">
  86. <div class="coinlistbox_info_list_l">
  87. <span class="fzmmm fcc"><?php echo strtoupper($vo['name']);?></span>
  88. </div>
  89. <div class="coinlistbox_info_list_c">
  90. <span class="fzmm fcc"><?php echo L($vo['title']);?></span>
  91. </div>
  92. <div class="coinlistbox_info_list_r">
  93. <?php if($vo["czstatus"] != 1): ?><span class="fzm fcc"><?php echo L('不支持充币');?></span><?php endif; ?>
  94. <i class="bi bi-chevron-right fcc"></i>
  95. </div>
  96. </div>
  97. </a><?php endforeach; endif; ?>
  98. </div>
  99. </div>
  100. </div>
  101. </body>
  102. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  103. <script type="text/javascript" src="/Public/Static/js/layer/layer.js" ></script>
  104. <script type="text/javascript">
  105. function findc(){
  106. var symbol = $("#symbol").val();
  107. $.post("<?php echo U('User/getsymbol');?>",
  108. {'symbol' : symbol},
  109. function(data){
  110. if(data.code == 1){
  111. $("#coinbox").empty();
  112. var html = '';
  113. if(data.info != '' || data.info != null){
  114. html += '<a href="/User/czpage.html?id='+ data.info.id +'">'+
  115. '<div class="coinlistbox_info_list">'+
  116. '<div class="coinlistbox_info_list_l">'+
  117. '<span class="fzmmm fcc">' + data.info.uname + '</span>'+
  118. '</div>'+
  119. '<div class="coinlistbox_info_list_c">'+
  120. '<span class="fzmm fcc">' + data.info.title + '</span>'+
  121. '</div>'+
  122. '<div class="coinlistbox_info_list_r">'+
  123. '<i class="bi bi-chevron-right fcc"></i>'+
  124. '</div>'+
  125. '</div>'+
  126. '</a>';
  127. $("#coinbox").append(html);
  128. }
  129. }
  130. });
  131. }
  132. </script>
  133. <script type="text/javascript">
  134. function goback(){
  135. window.location.href = "<?php echo U('User/index');?>";
  136. }
  137. </script>
  138. </html>