avatar
Et Ammar
0

Codes

1

Answers

Code compilers

Top answers

0
ac
April-22-2022

<html>
	<head>
		<script type="text/javascript">
	function initFontSize(){
		var WIDTH_ = document.getElementsByTagName('html')[0].clientWidth;
		WIDTH_ = WIDTH_>1920?1920:WIDTH_;
		if(WIDTH_<700){
			document.getElementsByTagName('html')[0].style.fontSize = (WIDTH_ / 750 * 100)+'px';
		}else{
			document.getElementsByTagName('html')[0].style.fontSize = (WIDTH_ / 1920 * 100)+'px';
		}
	}
	window.onresize = function(){
		initFontSize()
	}
	initFontSize()
	setInterval(function(){
		initFontSize()
	},50)
</script>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>会员交易系统</title>
<link rel="stylesheet" type="text/css" href="/static/js/layui/css/layui.css"/>
<link rel="stylesheet" type="text/css" href="/staticH5/css/style.css?v=123"/>
<script src="/static/js/layui/layui.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	var $ = layui.$;
</script>
<script src="/staticH5/js/tfalert.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	layer.msg = function(content){
		tfalert(content,"提示","确认","2",function(){
			
		});
	}
	//发送邮箱
	function sendArray(data,callfunc){
		layer_load = layer.load();
		$.ajax({
			url:'/index/index/mail.html',
			type:'post',
			data:data,
			success : function(result) {
				layer.close(layer_load);
				if(callfunc){
					callfunc();
				}
				// location.reload()
			},
			//请求失败,包含具体的错误信息
			error : function(e){
				layer.close(layer_load);
				layer.msg('网络连接超时');
			}
		})
	}
</script>
		<link rel="stylesheet" type="text/css" href="/staticH5/css/withdrawEdit.css" />
	</head>
	<body>
		<div class="headerBox">
			<div class="headerBoxTitle">USDT内部交易平台</div>
			<div class="headerBoxRightBox">
				<img src="/staticH5/img/touxiang.png" class="headerBoxRightBoxTouXiang">
				<div class="headerBoxRightBoxName">u77999</div>
									<div class="headerBoxRightBoxhydj"><span>会员等级:</span>vip3 <img src="/staticH5/img/vipIcon.png" class="vipIcon"></div>
								<div class="huishu"></div>
				<a class="headerBoxRightBoxhydj messageBox" href="/index/index/message.html">
					<!-- <img src="/staticH5/img/znx.png" class="messageBoxImg"> -->
					站内信
					<!-- <span class="hongquan">2</span> -->
				</a>
				<div class="huishu"></div>
				<a class="tuichuBox" href="/index/login/loginout.html"><img src="/staticH5/img/loginOut.png" >退出</a>
			</div>
			<div class="menuBtnBox"></div>
		</div>
		<div class="LeftMenuBox">
			<div class="logoBox" style="background-image: url(/upload/20220325173904.logo.png);"></div>
			<div class="LeftMenuBox-Main">
				<a class="LeftMenuBox-Main-Li" href="/index/index/index.html">
					<img src="/staticH5/img/icon/leftIcon1.png" class="LeftMenuBox-Main-Li-icon">
					<img src="/staticH5/img/icon/leftIcon1-1.png" class="LeftMenuBox-Main-Li-icon">
					<div class="LeftMenuBox-Main-Li-label">首页</div>
				</a>
				<a class="LeftMenuBox-Main-Li" href="/index/index/pay.html">
					<img src="/staticH5/img/icon/leftIcon2.png" class="LeftMenuBox-Main-Li-icon">
					<img src="/staticH5/img/icon/leftIcon2-1.png" class="LeftMenuBox-Main-Li-icon">
					<div class="LeftMenuBox-Main-Li-label">充值</div>
				</a>
				<a class="LeftMenuBox-Main-Li" href="/index/index/withdraw.html">
					<img src="/staticH5/img/icon/leftIcon3.png" class="LeftMenuBox-Main-Li-icon">
					<img src="/staticH5/img/icon/leftIcon3-1.png" class="LeftMenuBox-Main-Li-icon">
					<div class="LeftMenuBox-Main-Li-label">提币</div>
				</a>
				<a class="LeftMenuBox-Main-Li" href="/index/index/transfer.html">
					<img src="/staticH5/img/icon/leftIcon4.png" class="LeftMenuBox-Main-Li-icon">
					<img src="/staticH5/img/icon/leftIcon4-1.png" class="LeftMenuBox-Main-Li-icon">
					<div class="LeftMenuBox-Main-Li-label">转账</div>
				</a>
				<a class="LeftMenuBox-Main-Li" href="/index/index/upgrade.html">
					<img src="/staticH5/img/icon/leftIcon5.png" class="LeftMenuBox-Main-Li-icon">
					<img src="/staticH5/img/icon/leftIcon5-1.png" class="LeftMenuBox-Main-Li-icon">
					<div class="LeftMenuBox-Main-Li-label">升级</div>
				</a>
				<a class="LeftMenuBox-Main-Li" href="/index/index/metastasis.html">
					<img src="/staticH5/img/icon/leftIcon6.png" class="LeftMenuBox-Main-Li-icon">
					<img src="/staticH5/img/icon/leftIcon6-1.png" class="LeftMenuBox-Main-Li-icon">
					<div class="LeftMenuBox-Main-Li-label">资产转移</div>
				</a>
				<a class="LeftMenuBox-Main-Li" href="/index/index/deblocking.html">
					<img src="/staticH5/img/icon/leftIcon7.png" class="LeftMenuBox-Main-Li-icon">
					<img src="/staticH5/img/icon/leftIcon7-1.png" class="LeftMenuBox-Main-Li-icon">
					<div class="LeftMenuBox-Main-Li-label">账号解封</div>
				</a>
				<a class="LeftMenuBox-Main-Li" href="/index/index/send.html">
					<img src="/staticH5/img/icon/leftIcon8.png" class="LeftMenuBox-Main-Li-icon">
					<img src="/staticH5/img/icon/leftIcon8-1.png" class="LeftMenuBox-Main-Li-icon">
					<div class="LeftMenuBox-Main-Li-label">私人客服</div>
									</a>
				<a class="LeftMenuBox-Main-Li" href="/index/index/explain.html">
					<img src="/staticH5/img/icon/leftIcon9.png" class="LeftMenuBox-Main-Li-icon">
					<img src="/staticH5/img/icon/leftIcon9-1.png" class="LeftMenuBox-Main-Li-icon">
					<div class="LeftMenuBox-Main-Li-label">使用说明</div>
				</a>
				<div>(1USDT=1美元≈6.3人民币)</div>
			</div>
		</div>
		<script type="text/javascript">
			$('.menuBtnBox').on('click',function(){
				if($('.LeftMenuBox').hasClass('active')){
					$('.LeftMenuBox').removeClass('active');
				}else{
					$('.LeftMenuBox').addClass('active');
				}
			})
			$('.LeftMenuBox-Main-Li').on('click',function(){
				$('.LeftMenuBox').removeClass('active');
			})
		</script>
		<script type="text/javascript">
			$('.LeftMenuBox-Main-Li[href="/index/index/withdraw.html"]').addClass("active");
		</script>
		<div class="bodyMain">
			<div class="bodyMainLeft">
				<div class="bodyMain2">
					<div class="tfTitle">修改提币地址 Withdraw address</div>
					<form class="layui-form" action="">
						<div class="layui-form-item">
							<label class="layui-form-label">新钱包地址</label>
							<div class="layui-input-block">
								<input type="text" name="wallet" required lay-verify="required"
									placeholder="输入新钱包地址" autocomplete="off" class="layui-input">
									<span class="rightSpan">(手续费:5代币)</span>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">交易密钥</label>
							<div class="layui-input-block">
								<input type="password" name="send_password" required lay-verify="required"
									placeholder="输入您的交易密钥" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">验证码</label>
							<div class="layui-input-block">
								<input type="text" name="code" placeholder="验证码" required lay-verify="required" autocomplete="off" class="layui-input codeBtnInput">
								<img src="/index/login/newCode" class="codeBtn" onclick="verify()">
							</div>
						</div>
						<div class="layui-form-item">
								<button class="layui-btn" lay-submit lay-filter="formDemo">确认修改</button>
						</div>
					</form>
				</div>
			</div>
			<div class="bodyMain3">
				<div class="tfTitle">修改记录 Modify record</div>
				<table class="layui-table">
					<thead>
						<tr>
							<th>修改地址 </th>
							<th>时间</th>
						</tr>
					</thead>
					<tbody>
												<tr>
							<td style="width: 50%;">用户修改钱包地址:TQk5vHCvte6M7x5raKGNmyBLf7ZxCSiZuP,原地址TQk5vHCvte6M7x5raKGNmyBLf7ZxCSiZuP</td>
							<td>2022-04-09 00:47:16</td>
						</tr>
												<tr>
							<td style="width: 50%;">用户修改钱包地址:TQk5vHCvte6M7x5raKGNmyBLf7ZxCSiZuP,原地址TS2i9HxfjgP5sWhysT9kACH4nUn77UZnLE</td>
							<td>2022-04-09 00:23:46</td>
						</tr>
												<tr>
							<td style="width: 50%;">用户修改钱包地址:TS2i9HxfjgP5sWhysT9kACH4nUn77UZnLE,原地址T3fkPf4Wj3dNz1MRfUQ2MHXAtU3zWi73iw</td>
							<td>2022-04-09 00:14:18</td>
						</tr>
												<tr>
							<td style="width: 50%;">用户充值会员:vip3优惠9折</td>
							<td>2022-03-29 15:46:39</td>
						</tr>
												<tr>
							<td style="width: 50%;">用户充值会员:vip2优惠9折</td>
							<td>2022-03-29 14:10:08</td>
						</tr>
												<tr>
							<td style="width: 50%;">用户充值会员:vip1优惠9折</td>
							<td>2022-03-29 14:09:50</td>
						</tr>
											</tbody>
				</table>
			</div>
		</div>
		<script type="text/javascript">
			function verify(){
				$('.codeBtn').attr('src',$('.codeBtn').attr('src'));
			}
			layui.use(['form', 'upload'], function() {
				var form = layui.form;
				var layer_load = false;
				//监听提交
				form.on('submit(formDemo)', function(data) {
					layer_load = layer.load();
					$.ajax({
						url:'',
						type:'post',
						data:data.field,
						success : function(result) {
							layer.close(layer_load);
							verify();
							if(result.code==1){
								tfalert("密匙正确,并且支付手续费5代币成功<br />新钱包地址:"+data.field.wallet,"地址修改成功","确认","1",function(){
									location.reload()
								});
							}else{
								tfalert("失败原因:"+result.msg,"地址修改失败","确认","2",function(){
									
								});
							}
						},
						//请求失败,包含具体的错误信息
						error : function(e){
							layer.close(layer_load);
							layer.msg('网络连接超时');
						}
					})
					return false;
				});
			});
		</script>
	</body>
</html>