123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1.0,initial-scale=1,user-scalable=no,viewport-fit=true" data-shuvi-head="true">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
- <link rel="stylesheet" type="text/css" href="/Public/Home/static/css/base.css" />
- <title>{$webname}</title>
- <style>
- .css-ogtd7z {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- display: flex;
- transition: all 1s ease 0s;
- -webkit-box-pack: center;
- justify-content: center;
- background-color: rgb(254, 241, 242);
- }
- .css-jrzkh7 {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- background-color: rgb(24, 26, 32);
- }
- .css-1aac2e {
- box-sizing: border-box;
- margin: 0px auto;
- min-width: 0px;
- padding-left: 24px;
- padding-right: 24px;
- max-width: 1248px;
- background-color: rgb(254, 241, 242);
- }
- .css-1wr4jig {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- display: flex;
- flex-direction: column;
- flex: 1 1 0%;
- }
- .css-1ay57iv {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- display: flex;
- background-color: rgb(250, 250, 250);
- flex: 1 1 0%;
- flex-direction: column;
- }
- .css-8hzjvg {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- padding: 24px 16px;
- padding-left: 24px;
- padding-right: 24px;
- }
- .css-1eklhqk {
- box-sizing: border-box;
- min-width: 0px;
- width: 100%;
- max-width: 1200px;
- margin: 0px auto;
- }
- .css-190uhut {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- display: flex;
- -webkit-box-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- justify-content: space-between;
- }
- .css-11y6cix {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- display: flex;
- -webkit-box-align: center;
- align-items: center;
- flex: 1 1 0%;
- }
- .css-146agw4 {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- color: currentcolor;
- font-size: 24px;
- fill: currentcolor;
- cursor: pointer;
- width: 32px;
- height: 32px;
- font-size: 32px;
- margin-left: -48px;
- }
- .css-1djsyd6 {
- box-sizing: border-box;
- margin: 0px 0px 0px 16px;
- min-width: 0px;
- font-weight: 600;
- font-size: 24px;
- line-height: 32px;
- }
- .css-1dihobw {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- flex: 1 1 0%;
- background-color: rgb(255, 255, 255);
- border-radius: 40px 40px 0px 0px;
- padding: 24px 16px;
- padding-left: 24px;
- padding-right: 24px;
- }
- .css-1eklhqk {
- box-sizing: border-box;
- min-width: 0px;
- width: 100%;
- max-width: 1200px;
- margin: 0px auto;
- }
- .css-tu2ioc {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- display: flex;
- padding-top: 0px;
- padding-bottom: 0px;
- flex-flow: column wrap;
- padding-top: 16px;
- padding-bottom: 16px;
- flex-direction: row;
- }
- .css-1ekpz1z {
- box-sizing: border-box;
- margin: 0px;
- min-width: 0px;
- order: 1;
- flex: 1 1 0%;
- }
- .czbox{width:100%;height:80px;margin-bottom:20px;}
- .czbox_1{width:30%;height:80px;float:left;}
- .czbox_2{width:70%;height:80px;float:right;}
- .czbox_3{width:100%;height:20px;line-height:20px;}
- .czbox_4{width:100%;height:50px;line-height:50px;margin-top:5px;border:1px solid #f5f5f5;padding-left:15px;border-radius:5px;}
- .czbox_4:hover{border:1px solid #FCD535;}
- .czbox_9{width:40%;height:50px;line-height:50px;margin-top:5px;border:1px solid #f5f5f5;padding-left:15px;border-radius:5px;float:left;}
- .czbox_9:hover{border:1px solid #FCD535;background-color:#FCD535;}
- .czbox_5{width:50%;height:30px;border:1px solid #fff;background-color:#fff;color:#000;font-size:14px;}
- .czbox_5:hover{border:1px solid #fff;background-color:#fff;}
- .czbox_5 input:focus{border:1px solid #fff;background-color:#fff;}
- .layui-upload-file {
- display: none!important;
- opacity: .01;
- }
- </style>
- </head>
- <body>
- <div class="App">
- <div class="css-tq0shg">
- <include file="Public:header"/>
-
- <div class="css-ogtd7z">
- <div class="css-jrzkh7">
- <div id="header_global_js_wxgy34nj" class="css-1aac2e"></div>
- </div>
- </div>
-
- <main class="css-1wr4jig">
- <main class="css-xry4yv">
-
- <div class="css-1ay57iv">
- <div class="css-8hzjvg">
- <div class="css-1eklhqk">
- <div class="css-190uhut">
- <div class="css-11y6cix" onclick="goback();">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" class="css-146agw4"><path d="M16.414 18.586L15 20l-8-8 8-8 1.414 1.414L9.828 12l6.586 6.586z" fill="#76808F"></path>
- </svg>
- <div data-bn-type="text" class="css-1djsyd6">{:L('数字货币充值')}</div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="css-1dihobw">
- <div class="css-1eklhqk">
- <div class="css-tu2ioc" style="width:60%;float:left;">
- <div class="css-1ekpz1z">
- <div class="czbox">
- <div class="czbox_1">
- <span class="fch f16">{:L('选择币种')}</span>
- </div>
- <div class="czbox_2">
- <div class="czbox_3">
- <span class="fch f12">{:L('币种')}</span>
- </div>
- <div class="czbox_4">
- <span class="fch f14"><?php echo strtoupper($info['name']);?></span>
- </div>
- </div>
- </div>
-
- <div class="czbox" style="margin-bottom:0px;">
- <div class="czbox_1">
- <span class="fch f16">{:L('充值网络')}</span>
- </div>
- <div class="czbox_2">
- <div class="czbox_3">
- <span class="fch f12">{:L('网络')}</span>
- </div>
-
- <button class="czbox_9" class="fch f14" onclick="tec()">{$info.czline}</button>
- <button id="yincang" class="czbox_9" style="margin-left:10px" class="fch f14" onclick="dianji()">ERC20</button>
-
- </div>
- </div>
-
- <div class="czbox" style="min-height:200px;">
- <div class="czbox_1" style="min-height:200px;"></div>
- <div class="czbox_2" style="min-height:200px;">
- <div style="width:100%;min-height:200px;margin-top:10px;">
- <div style="width:100%;height:120px;text-align:center;" id="tupian">
- <img src="/Public/Static/coinimgs/{$address}.png" style="height:120px;" />
- </div>
- <div style="width:100%;height:40px;line-height:40px;text-align:center;">
- <input type="hidden" id="czaddress" value="{$info.czaddress}" />
- <span id="dizhi">{$info.czaddress}</span>
- <i class="bi bi-back fcy" style="cursor:pointer;" onclick="copyUrl()"></i>
- </div>
-
- </div>
- </div>
- </div>
-
- <div class="czbox">
- <div class="czbox_1">
- <span class="fch f16">{:L('充值数量')}</span>
- </div>
- <div class="czbox_2">
- <div class="czbox_3">
- <span class="fch f12">{:L('数量')}</span>
- </div>
- <div class="czbox_4">
- <input class="czbox_5" type="text" id="zznum" name="zznum" />
- </div>
- </div>
- </div>
-
- <div class="czbox" style="height:120px;">
- <div class="czbox_1" style="height:120px;">
- <span class="fch f16">{:L('上传转账凭证')}</span>
- </div>
- <div class="czbox_2" style="height:120px;">
- <div class="czbox_3">
- <span class="fch f12">{:L('转账凭证')}</span>
- </div>
- <div class="czbox_4" style="min-height:100px;border: none;text-align:center;">
- <img src="/Public/Static/img/upimg.png" id="test1" style="height:100px;">
- </div>
- </div>
- </div>
-
- <input type="hidden" id="payimg" value="" />
- <input type="hidden" id="coinname" value="{$info.name}" />
- <input type="hidden" id="cid" value="{$info.id}" />
- <input type="hidden" id="flag" value="1" />
- <div class="czbox">
- <div class="czbox_2">
- <div class="czbox_3"></div>
- <div id="sumbtn" class="czbox_4" style="background: linear-gradient(to left,#eeb80d,#ffe35b);text-align:center;cursor:pointer;">
- <span class="fch f14">{:L('提交')}</span>
- </div>
- </div>
- </div>
-
- </div>
- </div>
- <div style="width:35%;height:600px;float:right;padding:10px;">
- <div style="width:100%;height:60px;line-height:60px;">
- <span>{:L('温馨提示')}</span>
- </div>
- <div style="width:100%;min-height:180px;padding:10px;">
- <span class="f14" style="color:red;">{:L('最小充值金额')}:<?php echo strtoupper($info['czminnum']);?><?php echo strtoupper($info['name']);?>,{:L('小于最小金额的充值将不会上账且无法退回')}</span><br /><br />
- <span class="f12 fch">{:L('请选择正确的充值通道网络,否则资产将不可找回')}</span><br /><br />
- <span class="f14 fch">{:L('最小充值金额')}:<?php echo strtoupper($info['czminnum']);?><?php echo strtoupper($info['name']);?>,{:L('小于最小金额的充值将不会上账且无法退回')}</span><br /><br />
- <span class="f14 fch">{:L('您的充值地址不会经常改变,可以重复充值;如有更改,我们会尽量通过网站公告或邮件通知您')}</span><br /><br />
- <span class="f14 fch">{:L('请务必确认电脑及浏览器安全,防止信息被篡改或泄露')}</span>
- <br />
- </div>
- </div>
- </div>
- </div>
-
-
- </div>
-
- </main>
- </main>
- <include file="Public:footer"/>
- </div>
- </div>
-
- </body>
- <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
- <script type="text/javascript" src="/Public/Home/static/js/layer/layer.js" ></script>
- <script type="text/javascript" src="/Public/Home/static/js/jquery.SuperSlide.2.1.1.js" ></script>
- <script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
- <script type="text/javascript">
- var img = "{$addresss}";
- var dizhi = "{$infos.czaddress}";
- var name = "{$info.name}";
- if(name != 'usdt'){
- $("#yincang").attr("style","display:none;");//隐藏div
- }
- function tec(){
- location.reload();
- }
-
- function dianji(){
- $("#czaddress").val(img);
- $("#dizhi").html(img);
- $("#tupian").html('<img src="/Public/Static/coinimgs/'+img+'.png" style="height:120px;"/>')
- }
- $("#sumbtn").click(function(){
- var flag = $("#flag").val();
- if(flag == 2){
- return false;
- }
- var zznum = $("#zznum").val();
- var payimg = $("#payimg").val();
- var coinname = $("#coinname").val();
- var cid = $("#cid").val();
- if(cid <= 0){
- layer.msg("{:L('缺少重要参数')}");return false;
- }
- if(zznum <= 0){
- layer.msg("{:L('请输入转账额度')}");return false;
- }
- if(payimg == ''){
- layer.msg("{:L('请上传转账凭证')}");return false;
- }
- $("#flag").val(2)
- $.post("{:U('Finance/paycoin')}",
- {'cid' : cid,'zznum':zznum,'payimg':payimg,'coinname':coinname},
- function(data){
- if(data.code == 1){
- layer.msg(data.info);
- setTimeout(function(args){
- window.location.reload();
- },2000);
- }else{
- layer.msg(data.info);return false;
- }
- }
- );
-
- });
- </script>
- <script type="text/javascript">
- function copyUrl(){
- var qrcode_url=$("#czaddress").val();
- copy(qrcode_url);
- }
-
- function copy(message) {
- var input = document.createElement("input");
- input.value = message;
- document.body.appendChild(input);
- input.select();
- input.setSelectionRange(0, input.value.length), document.execCommand('Copy');
- document.body.removeChild(input);
- layer.msg("{:L('复制成功')}");
- }
- </script>
- <script type="text/javascript">
- layui.use('upload', function(){
- var upload = layui.upload;
- var uploadInst = upload.render({
- elem: '#test1' //绑定元素
- ,url: '{:U("User/recharge_img")}' //上传接口
- ,done: function(res){
- console.log(res);
- if(res.code == 0){
- $('#payimg').val(res.data.img);
- $("#test1").attr('src',res.data.src);
- }
- }
- ,error: function(){
- layer.msg("{:L('上传失败')}");
- }
- });
- });
- </script>
- <script type="text/javascript">
- function goback(){
- self.location=document.referrer;
- }
- </script>
- <script type="text/javascript">
- $("#nav").slide({
- type:"menu",// 效果类型,针对菜单/导航而引入的参数(默认slide)
- titCell:".nLi", //鼠标触发对象
- targetCell:".sub", //titCell里面包含的要显示/消失的对象
- effect:"slideDown", //targetCell下拉效果
- delayTime:300 , //效果时间
- triggerTime:0, //鼠标延迟触发时间(默认150)
- returnDefault:true //鼠标移走后返回默认状态,例如默认频道是“预告片”,鼠标移走后会返回“预告片”(默认false)
- });
- </script>
-
- </html>
|