f236d23b464b878858250491e421c63d.php 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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:#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;box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);}
  20. .contentbox{width:100%;height:600px;margin-top:45px;padding:5px 15px;}
  21. .contentbox_top{width:100%;height:50px;line-height:50px;text-align:left;}
  22. .btitle{width:100%;height:35px;line-height:35px;text-align:center;background:#fff;margin-top:10px;border-radius:15px;}
  23. .addbox{width:100%;height:120px;background:#fff;margin-top:20px;border-radius:15px;}
  24. .addressbox{width:100%;height:40px;line-height:40px;background:#f9f9f9;padding:0px 15px;border-top-left-radius:10px;border-top-right-radius:10px;}
  25. .address{width:100%;height:80px;margin-top:10px;padding:10px;word-wrap:break-word;word-break:normal; }
  26. .btnbox{width:100%;height:70px;background:#fff;position:fixed;bottom:0px;}
  27. .btnaddress{width:92%;height:40px;line-height:40px;background: linear-gradient(to left,#eeb80d,#ffe35b);margin:0px auto;text-align:center;margin-top:15px;border-radius:10px;}
  28. </style>
  29. </head>
  30. <body>
  31. <div class="container-fluid " style="padding:0px;width:100vw;">
  32. <div class="no_header">
  33. <div class="fl allhg txtl" style="width: 10%;">
  34. <i class="bi bi-arrow-left fcc fw" onclick="goback()" style="font-size: 24px;"></i>
  35. </div>
  36. <div class="fl allhg" id="centerbox" style="width:80%;text-align:center;line-height:50px;">
  37. <span class="fcc fzmmm"><?php echo L('提币地址管理');?></span>
  38. </div>
  39. <a href="<?php echo U('User/txcoin');?>">
  40. <div class="fr allhg txtr" style="line-height:50px;width:10%;">
  41. <span><?php echo L('添加');?></span>
  42. </div>
  43. </a>
  44. </div>
  45. <div class="contentbox">
  46. <?php if(empty($adrlist)): ?><div style="width:100%;height:300px;line-height:300px;text-align:center;">
  47. <span class="fzmm fch"><?php echo L('没有保存地址');?></span>
  48. </div>
  49. <?php else: ?>
  50. <?php if(is_array($adrlist)): foreach($adrlist as $key=>$vo): ?><div class="addbox">
  51. <div class="addressbox">
  52. <div style="width:80%;height:40px;line-height:40px;float:left;">
  53. <span class="fzmmm fch"><?php echo strtoupper($vo['name']);?> (<?php echo ($vo["remark"]); ?>)</span>
  54. </div>
  55. <div onclick="deladdress(<?php echo ($vo["id"]); ?>);" style="width:20%;height:40px;line-height:40px;float:right;text-align:right;">
  56. <i class="bi bi-x-circle fzmmm fcy"></i>
  57. </div>
  58. </div>
  59. <div class="address">
  60. <span class="fzmmm fch"><?php echo ($vo["addr"]); ?></span>
  61. </div>
  62. </div><?php endforeach; endif; endif; ?>
  63. </div>
  64. <div style="width:100%;height:100px;background:#f5f5f5;"></div>
  65. </div>
  66. </body>
  67. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  68. <script type="text/javascript" src="/Public/Static/js/layer/layer.js" ></script>
  69. <script type="text/javascript">
  70. function deladdress(id){
  71. var id = id;
  72. if(id <= 0){
  73. layer.msg("<?php echo L('缺少重要参数');?>");return false;
  74. }
  75. $.post("<?php echo U('User/deladdress');?>",
  76. {'aid':id},
  77. function(data){
  78. if(data.code == 1){
  79. layer.msg(data.info);
  80. setTimeout(function(){
  81. window.location.reload();
  82. },2000);
  83. }else{
  84. layer.msg(data.info);return false;
  85. }
  86. });
  87. }
  88. </script>
  89. <script type="text/javascript">
  90. function goback(){
  91. window.history.go(-1);
  92. }
  93. </script>
  94. </html>