Commit 81a4a485 by agan

添加payoneer

parent 649365ee
......@@ -663,7 +663,7 @@ body {
float: right;
}
.takeOut .date,
.takeOut .paypal,
.takeOut .paypal,.payoneer,
.takeOut .no {
text-indent: 0.75rem;
line-height: 0.55rem;
......@@ -755,4 +755,3 @@ body {
.cashHelp .tit {
margin-top: 0.4rem;
}
......@@ -169,6 +169,16 @@ body {
background-size: 100% 100%;
overflow: hidden;
}
.payoneer-big-box {
width: 8.9rem;
position: relative;
margin: 0 auto;
height: 6rem;
background: url("../img/payoneerbigBox.png") no-repeat;
background-size: 100% 100%;
overflow: hidden;
}
.paypal-big-box .paypal-input {
width: 7.5rem;
height: 0.8rem;
......@@ -196,6 +206,36 @@ body {
display: inline-block;
position: absolute;
}
.payoneer-big-box .paypal-input {
width: 7.5rem;
height: 0.8rem;
margin: 0 auto;
position: absolute;
left: 0.7rem;
top: 3.7rem;
}
.payoneer-big-box .paypal-input .money-logo {
position: absolute;
font-size: 0.5rem;
font-weight: 700;
color: #fff;
top: 0.2rem;
}
.payoneer-big-box .paypal-input input {
background: rgba(0, 0, 0, 0);
font-size: 0.7rem;
text-indent: 0.5rem;
color: #fff;
height: 1rem;
width: 7.5rem;
line-height: 1rem;
border-bottom: 0.02rem solid #2F3F7A;
display: inline-block;
position: absolute;
}
.paypal-tips {
font-size: 0.35rem;
color: #E8E8E8;
......@@ -475,7 +515,7 @@ body {
.paypal-layer .paypal-layer-content :nth-child(1) {
width: 6.5rem;
margin: 0 auto;
margin-top: 1rem;
margin-top: 0.8rem;
font-size: 0.35rem;
line-height: 0.6rem;
color: #212121;
......@@ -533,6 +573,9 @@ body {
.show3 {
display: none;
}
.show4{
display: none;
}
.w-icon {
width: 1rem;
position: fixed;
......
<!DOCTYPE html>
<html lang="en">
<head>
<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="css/reset.css">
<link rel="stylesheet" href="layer-v3.1.0/layer.css">
<link rel="stylesheet" href="css/indexLi.css?v='23123121'">
<script src="js/fsize.js"></script>
<style>
.layui-layer-setwin .layui-layer-close2 {
display: none !important;
}
.layui-layer-page .layui-layer-content {
border-radius: 0.4rem !important;
}
.yourclass2 {
border-radius: 0.4rem !important;
}
.paypal-big-box {
width: 8.9rem;
position: relative;
margin: 0 auto;
height: 6rem;
background: url(./img/payoneerbigBox.png) no-repeat;
background-size: 100% 100%;
overflow: hidden;
}
</style>
</head>
<body>
<div style="height: 1rem;"></div>
<div class="paypal-big-box">
<p class="paypal-true-p1">Payoneer:<span class="paypal-big-mall"></span></p>
<p class="paypal-true-p2"></p>
<div class="paypal-input"><span class="money-logo">$</span><input oninput="value=value.replace(/[^\d]/g,'')"
type="text" placeholder=""></div>
<p class="paypal-true-p3"></p>
</div>
<div class="paypal-false-btn "></div>
<!-- <p class="paypal-tips-b"><a
href="https://www.paypal.com/hk/webapps/mpp/ua/useragreement-full?locale.x=zh_HK#exhibit_"></a></p> -->
<div class="paypal-layer">
<div class="paypal-layer-content">
<p></p>
<p></p>
</div>
<div class="paypal-layer-btnBox">
<div class="paypal-layer-no"></div>
<div class="paypal-layer-yes"></div>
</div>
</div>
</body>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="layer-v3.1.0/layer/layer.js"></script>
<script src="../../lib/langchange.js"></script>
<script>
$('title').html(langList[langType].payoneer20);
$('.paypal-true-p2').html(langList[langType].payoneer15);
$('.paypal-input input').attr('placeholder', langList[langType].payoneer16);
$('.paypal-true-p3').html(langList[langType].payoneer17 + '$<span class="paypal-money">--</span>,<span class="paypal-all" style="color: #2ADAAB;">' + langList[langType].payoneer18 + '</span>');
$('.paypal-false-btn ').html(langList[langType].cashreal11);
$('.paypal-layer-content p').eq(0).html(langList[langType].cashreal13 + ' <span class="layer-money">--</span>' + langList[langType].cashreal13 + ' <br>' + langList[langType].cashreal15 + '<span class="layer-mall">--</span>' + langList[langType].cashreal16);
$('.paypal-layer-content p').eq(1).html(langList[langType].payoneer21);
$('.paypal-layer-no').html(langList[langType].payoneer4);
$('.paypal-layer-yes').html(langList[langType].payoneer5);
$('.paypal-tips-b a').html(langList[langType].payoneer19);
//呼叫帮助
try {
var obj2 = {
"cid": 9,
"reqCode": new Date().getTime(),
"data": {
msg: '是否分享或帮助',
shareType: 0,
helpType: 1
}
}
var obj = JSON.stringify(obj2);
localStorage.help = 'payoneer'
appCollaboration(obj)
}
catch (err) {
console.log(err)
}
var data = getRequest()
if (sessionStorage.bbb == undefined || sessionStorage.bbb == "undefined") {
sessionStorage.bbb = data.uid;
sessionStorage.lang = data.lang;
sessionStorage.kkk = data.token;
}
$.ajax({
url: $ip + '/withdraw/getbindway.html',
type: "post",
data: {
os: "WEB",
cid: "web_gw",
lang: 2,
uid: sessionStorage.bbb,
token: sessionStorage.kkk
},
success: function (msg) {
var data = JSON.parse(msg);
console.log(data);
btnOK = true;
$(".paypal-big-mall").text(data.cardaddr);
$(".paypal-money").text(parseInt(data.cashamount / 10) * 10);
$('.paypal-input input').val(parseInt(data.cashamount / 10) * 10)
if ($('.paypal-input input').val() > 49) {
$(".paypal-false-btn").addClass("paypal-btn-ok");
}
//全部提現
$(".paypal-all").on("click", function () {
$('.paypal-input input').val(parseInt(data.cashamount / 10) * 10)
})
//輸入金額
$('.paypal-input input').on("input", function () {
if ($('.paypal-input input').val().length > 1 && $('.paypal-input input').val() % 10 != 0) {
$('.paypal-input input').val(parseInt($('.paypal-input input').val() / 10) * 10);
layer.msg(langList[langType].cashreal27)
}
if ($('.paypal-input input').val() > parseInt(data.cashamount / 10) * 10) {
$('.paypal-input input').val(parseInt(data.cashamount / 10) * 10);
layer.msg(langList[langType].cashreal14);
}
else if ($('.paypal-input input').val() < 50) {
$(".paypal-false-btn").removeClass("paypal-btn-ok");
}
else if ($('.paypal-input input').val() > 49) {
$(".paypal-false-btn").addClass("paypal-btn-ok");
}
})
$(".paypal-btn-ok").on("click", function () {
if (btnOK == true) {
btnOK = false;
$(".layer-money").text($(".paypal-input input").val());
$(".layer-mall").text($(".paypal-big-mall").text())
if ($('.paypal-input input').val() > 49) {
$.ajax({
url: $ip + '/withdraw/queryCashData.html',
type: "post",
data: {
os: "WEB",
cid: "web_gw",
lang: 2,
uid: sessionStorage.bbb,
token: sessionStorage.kkk,
amount: $('.paypal-input input').val()
},
success: function (res) {
var result = JSON.parse(res);
if (result.code == 1) {
$('.totalCost').html(result.cashBonds);
$('.taxCost').html(result.rateBonds);
layer.open({
type: 1,
title: false,
shadeClose: false,
skin: 'yourclass2',
area: ['7.2rem', '4.6rem'],
content: $(".paypal-layer"),
});
} else {
layer.msg(result.msg)
}
}
})
} else {
layer.msg(langList[langType].cashreal32)
btnOK = true;
}
}
})
}
})
$(".paypal-layer-no").on("click", function () {
layer.closeAll()
btnOK = true;
})
$(".paypal-layer-yes").on("click", function () {
paypalGet()
})
function paypalGet() {
if ($('.paypal-input input').val() > 49) {
$.ajax({
url: $ip + '/withdraw/payoneerApply.html',
type: "post",
data: {
os: "WEB",
cid: "h5_firefly",
lang: 2,
uid: sessionStorage.bbb,
amount: $('.paypal-input input').val(),
token: sessionStorage.kkk
},
success: function (msg) {
var data = JSON.parse(msg);
console.log(data);
if (data.code == 1) {
sessionStorage.payNum = data.wid;
window.location.href = 'withdrawEnd.html';
} else {
layer.msg(data.msg)
btnOK = true;
}
}
})
} else {
layer.msg(langList[langType].cashreal32);
}
}
</script>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<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">
<link rel="stylesheet" href="css/base.css">
<script src="lib/fsize.js"></script>
<title>Payoneer提現説明</title>
<style>
.bg {
padding: 0 0.2rem;
}
p {
font-size: 0.347rem;
color: #fff;
line-height: 0.8rem;
}
</style>
</head>
<body style="background: #000;">
<div class="bg">
<p style="font-size: 0.4rem;font-weight: bold;"> Payoneer提現說明</p>
<p style="margin-top: 1rem;">一,36050螢火(含1050螢火的稅)=50美元</p>
<p>二,可提現最低金額為$50,且必須為10的整數倍。選擇全部體現后,會自動算出可提現的最大金額。</p>
<p>三,提現后,一般7個工作日内進行處理。</p>
<p>四,Payoneer收取3%的稅,所以稅後可提現螢火=稅前可提現螢火/1.03</p>
<p>五,可提現螢火詳情請前往APP-我的-螢火體現中查詢</p>
</div>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment