Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / footsen

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • footsen
  • footseen
  • Nesting
  • withdraw
  • aliDraw.html
Find file
BlameHistoryPermalink
  • dawei's avatar
    feat: 马甲包提现页面 · fa14f3ae
    dawei committed 8 months ago
    fa14f3ae
aliDraw.html 8.62 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
	<meta content="telephone=no" name="format-detection">
	<meta name="wap-font-scale" content="no">
	<title></title>
	<link rel="stylesheet" href="https://app.ixiulive.com/static/css/reset.css">
	<link rel="stylesheet" href="../../layer-v3.1.0/layer/theme/default/layer.css">
	<link rel="stylesheet" href="css/alipay.css?v=202307071742" />
	<script type="text/javascript" src="../../lib/fsize.js"></script>

</head>

<body>
	<div class="main">
		<div class="mainPic">
			<img src="./img/bigCard4.png" alt="">
		</div>
		<div class="mBox">
			<div class="inputBox">
				<p class="lang1">真實姓名</p>
				<input class="mIpt mIpt1" type="text" placeholder="" />
			</div>
			<div class="inputBox">
				<p class="lang2">身份證號</p>
				<input class="mIpt mIpt2" type="text" placeholder="" />
			</div>
			<div class="inputBox">
				<p class="lang3">支付寶賬號</p>
				<input class="mIpt mIpt3" type="text" placeholder="" />
			</div>
		</div>
		<div class="mBtn"></div>
		<!-- <p class="mDesc"></p> -->
	</div>
	<!--示意圖說明彈窗-->
	<div class="mask1 hide">
		<img src="img/close.png" class="closeMasking" />
		<p class="maskTitle"></p>
		<div class="maskInfo">
			<p></p>
			<p></p>
		</div>
		<p class="maskDesc"></p>
		<div class="maskExample"></div>
	</div>
	<!--確認信息彈窗-->
	<div class="mask2 hide">
		<div class="mask2Info">
			<p></p>
			<p class="check cardaddr ellipsis"></p>
			<p class="check cardname ellipsis"></p>
			<p class="check cardId ellipsis"></p>
			<p class="check"></p>
		</div>
		<div class="mask2Btn">
			<span></span>
			<span></span>
		</div>
	</div>

	<!--提現設置成功彈窗-->
	<div class="mask mask5 hide">
		<p class="mask5Title"></p>
		<div class="mask5Btn"></div>
	</div>
</body>
<script src="../../lib/jquery-3.1.1.min.js"></script>
<script src="../../layer-v3.1.0/layer/layer.js"></script>
<script src="../../lib/langchange.js?v=202307071742"></script>
<script type="text/javascript" src="https://app.ixiulive.com/static/js/webAppComm.js?v=202406121801"></script>
<script>

	if (langType != 0) {
		$('.maskExample').addClass('L_En');
	}
	$('title').html(langList[langType].draw25);

	$('.mTitle').html(langList[langType].draw35);
	$('.mIpt1').attr('placeholder', langList[langType].draw47);
	$('.mIpt2').attr('placeholder', langList[langType].draw74);
	$('.mIpt3').attr('placeholder', langList[langType].draw46);
	$('.mBtn').html(langList[langType].draw36);
	$('.mDesc').html(langList[langType].draw37);

	$('.maskTitle').html(langList[langType].draw38);
	$('.maskInfo p:eq(0)').html(langList[langType].draw39);
	$('.maskInfo p:eq(1)').html(langList[langType].draw40);

	$('.maskDesc').html(langList[langType].draw41);
	$('.maskDesc').html(langList[langType].draw41);
	$('.maskDesc').html(langList[langType].draw41);

	$('.mask2Info p').eq(0).html(langList[langType].newDraw4);
	$('.mask2Info p').eq(4).html(langList[langType].newDraw5);

	$('.lang1').html(langList[langType].newDraw1);
	$('.lang2').html(langList[langType].newDraw2);
	$('.lang3').html(langList[langType].newDraw3);



	$('.mask2Btn span:eq(0)').html(langList[langType].draw12);
	$('.mask2Btn span:eq(1)').html(langList[langType].draw8);

	$('.mask5Btn').html(langList[langType].draw15);
	$('.mask5Title').html(langList[langType].draw16);
	// 7400后
	if ($firefly.urlData.appversion >= 7400) {
		tellCliIcon();
		$firefly.changeTitle2();
		function tellCliIcon() {
			let mInfos = [ //第一级 右上角展示的Icon
				{
					"imgUrl": 'https://app.ixiulive.com/static/app/img/fusi/kf.png',
					"explain": '客服',
					"webFunc": "$firefly.goCustomerService()",
				},
				{
					//第二级 更多中的内容
					"imgUrl": 'https://app.ixiulive.com/static/app/img/more2.png?v=202304191549',    // ...的icon
					"explain": "更多",// ...的cid
					"webFunc": "openExtra()"
				}
			]
			$firefly.showIcons(mInfos);
		}


		function openExtra() {
			let infos = [
				[{
					"fontStyle": {
						"highLight": false // 是否高亮
					},
					"explain": $firefly.langList[$firefly.langType].lang2,
					"webFunc": "$firefly.refreshWeb()",
				}],
				[{
					"fontStyle": {
						"highLight": false // 是否高亮
					},
					"explain": $firefly.langList[$firefly.langType].lang3,
					"webFunc": "$firefly.goCustomerService()",
				},
				{
					"fontStyle": {
						"highLight": false // 是否高亮
					},
					"explain": $firefly.langList[$firefly.langType].lang6,
					"webFunc": "$firefly.closeWebView()",
				}]
			]
			$firefly.openExtra(infos);
		}
	}
	$('.mask5Btn').on('click', function () {
		layer.closeAll();
	})

	var flag1 = true;
	var flag2 = true;
	var flag3 = true;
	var countryType = '';
	var data = getRequest();
	if (!sessionStorage.bbb) {
		sessionStorage.bbb = data.uid;
		sessionStorage.lang = data.lang;
		sessionStorage.kkk = data.token;
	}

	if (data.country != undefined) {
		countryType = data.country;
	}
	let inputOk1 = false;
	let inputOk2 = false;
	let inputOk3 = false;

	$(".mIpt1").on("keyup", function () {
		cardname = $(".mIpt1").val();
		if (cardname) {
			inputOk1 = true
		} else {
			inputOk1 = false;
		}
		if (inputOk1 && inputOk2 && inputOk3) {
			$('.mBtn').addClass('able');
		} else {
			$('.mBtn').removeClass('able');
		}
	})


	$(".mIpt2").on("keyup", function () {
		cardaddr = $(".mIpt2").val();
		if (cardaddr) {
			inputOk2 = true
		} else {
			inputOk2 = false;
		}
		if (inputOk1 && inputOk2 && inputOk3) {
			$('.mBtn').addClass('able');
		} else {
			$('.mBtn').removeClass('able');
		}
	})


	$(".mIpt3").on("keyup", function () {
		idCard = $(".mIpt3").val();
		if (idCard) {
			inputOk3 = true
		} else {
			inputOk3 = false;
		}
		if (inputOk1 && inputOk2 && inputOk3) {
			$('.mBtn').addClass('able');
		} else {
			$('.mBtn').removeClass('able');
		}
	})

	//綁定支付寶
	$('.mBtn').on('click', function () {
		//賬號名稱
		var cardaddr = $('.mIpt3').val().replace(/\s/g, "");
		if (!cardaddr && cardaddr.length == 0) {
			layer.msg(langList[langType].draw46);
			return false;
		}
		//用戶姓名
		var cardname = $('.mIpt1').val().replace(/\s/g, "");
		if (!cardname && cardname.length == 0) {
			layer.msg(langList[langType].draw47);
			return false;
		}

		var idCard = $('.mIpt2').val().replace(/\s/g, "");
		if (countryType == 1) {
			if (!idCard && idCard.length == 0) {
				layer.msg(langList[langType].draw74);
				return false;
			}
		}

		if (!flag2) return;
		flag2 = false;
		$('.cardaddr').html(langList[langType].draw22 + ':<span>' + cardaddr + '</span>');
		$('.cardname').html(langList[langType].draw45 + ':<span>' + cardname + '</span>');
		$('.cardId').html(langList[langType].draw75 + ':<span>' + idCard + '</span>');
		setTimeout(function () {
			layer.open({
				type: 1,
				title: false,
				shadeClose: true,
				shade: .4,
				area: ['7.2rem', ''],
				closeBtn: 0,
				content: $('.mask2'),
				end: function () {
					flag2 = true;
				}
			})
		}, 500)


	})

	//打開提現示意圖說明
	$('.mDesc').on('click', function () {
		if (!flag1) return;
		flag1 = false;
		layer.open({
			type: 1,
			title: false,
			shadeClose: true,
			shade: .4,
			offset: 'lb',
			anim: 2,
			area: ['10rem', ''],
			closeBtn: 0,
			content: $('.mask1'),
			end: function () {
				flag1 = true;
			}
		})
	})
	//關閉提現示意圖說明
	$('.closeMasking,.mask2Btn span:eq(0)').on('click', function () {
		layer.closeAll();
	})

	//绑定支付宝
	$('.mask2Btn span:eq(1)').on('click', function () {
		if (!flag3) return;
		flag3 = false;
		$.ajax({
			url: $ip + '/withdraw/alipaybinding.html',
			type: 'post',
			data: {
				os: "WEB",
				cid: "web_gw",
				lang: sessionStorage.lang,
				uid: sessionStorage.bbb,
				token: sessionStorage.kkk,
				cardaddr: $('.mIpt3').val(),
				cardname: $('.mIpt1').val(),
				cardfrom: '',
				// country: countryType,
				idCard: $('.mIpt2').val(),
			},
			dataType: "JSON",
			success: function (res) {
				layer.closeAll();
				if (res.code == 1) {
					layer.open({
						type: 1,
						title: false,
						shadeClose: true,
						shade: .4,
						area: ['7.2rem', ''],
						closeBtn: 0,
						content: $('.mask5'),
						end: function () {
							// window.location.href = "http://yazhai://_closeweb";
							window.location.href = "./index.html" + location.search;
							flag3 = true;
						}
					})
				} else {
					layer.msg(res.msg);
					flag3 = true;
				}
			}
		})
		$('.mask2Btn span:eq(0)').on('click', function () {
			layer.closeAll();
		})
	})
</script>

</html>