完善提现功能
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
<body>
|
||||
<!-- 返回 -->
|
||||
<img src="./images/back.png" alt="" class="back">
|
||||
<!-- 标题 -->
|
||||
<!-- 標題 -->
|
||||
<h3>中國大陸銀聯</h3>
|
||||
<!-- 姓名身份证 -->
|
||||
<!-- 姓名身份證 -->
|
||||
<div class="box1">
|
||||
<div>
|
||||
<span>真實姓名</span>
|
||||
@@ -26,7 +26,7 @@
|
||||
<input class="card" type="text" placeholder="請輸入正確的身份證號碼">
|
||||
</div>
|
||||
</div>
|
||||
<!-- 银行卡手机号等信息 -->
|
||||
<!-- 銀行卡手機號等信息 -->
|
||||
<div class="box2">
|
||||
<div>
|
||||
<span>銀行卡號</span>
|
||||
@@ -45,7 +45,7 @@
|
||||
<input class="address" type="text" placeholder="請輸入身份證地址">
|
||||
</div>
|
||||
</div>
|
||||
<!-- 上传身份证 -->
|
||||
<!-- 上傳身份證 -->
|
||||
<div class="box3">
|
||||
<p>上傳身份證照片</p>
|
||||
<div class="idBox">
|
||||
@@ -65,18 +65,18 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 绑定按钮 -->
|
||||
<!-- 綁定按鈕 -->
|
||||
<div class="but">確認綁定</div>
|
||||
<!-- 说明 -->
|
||||
<!-- 說明 -->
|
||||
<div class="rule">
|
||||
<p>註意:</p>
|
||||
<p>1.該頁面適用於中國大陸地區的提現,非大陸地區請切換其他提現方式;</p>
|
||||
<p>2.提現人必須年滿18周歲,提現資料請勿隨意填寫,需正確填寫以上資料;</p>
|
||||
<p>3.銀行卡號、手機號、身份證號碼必須與提現實名一致,否則提現不能到賬;</p>
|
||||
<p>4.請勿將賬號綁定他人的姓名,提現真實姓名綁定後不能修改,請謹慎操作;</p>
|
||||
<p>5.實際提現收益按照轉賬時的匯率之後金額;</p>
|
||||
<p>6.首次進行提現流程時,會需要上傳您的身份證相關信息;</p>
|
||||
<p>7.如有疑問請聯系Wechat:sd245376</p>
|
||||
<p>1.該頁面適用於中國大陸地區的提領,非大陸地區請切換其他提領方式;</p>
|
||||
<p>2.提領人必須年滿18周歲,提領資料請勿隨意填寫,需正確填寫以上資料;</p>
|
||||
<p>3.銀行卡號、手機號、身份證號碼必須與提領實名一致,否則提領不能到賬;</p>
|
||||
<p>4.請勿將賬號綁定他人的姓名,提領真實姓名綁定後不能修改,請謹慎操作;</p>
|
||||
<p>5.實際提領收益按照轉賬時的匯率之後金額;</p>
|
||||
<p>6.首次進行提領流程時,會需要上傳您的身份證相關信息;</p>
|
||||
<p>7.如有疑問請聯繫Wechat:sd245376</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
41
view/peko/modules/h5Income/css/rule.css
Normal file
41
view/peko/modules/h5Income/css/rule.css
Normal file
@@ -0,0 +1,41 @@
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
background: #F3F5FA;
|
||||
}
|
||||
|
||||
.back {
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
width: 0.7466666667rem;
|
||||
height: 0.7466666667rem;
|
||||
left: 0.5333333333rem;
|
||||
top: 0.2rem;
|
||||
}
|
||||
|
||||
.box {
|
||||
width: 9.1466666667rem;
|
||||
height: auto;
|
||||
margin: 0.8666666667rem auto 0;
|
||||
box-sizing: border-box;
|
||||
padding: 0.64rem 0.5333333333rem;
|
||||
background: #fff;
|
||||
border-radius: 0.2666666667rem;
|
||||
}
|
||||
.box h3 {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #1F1B4F;
|
||||
font-size: 0.4266666667rem;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.32rem;
|
||||
}
|
||||
.box p {
|
||||
color: #8A8CAB;
|
||||
font-size: 0.3466666667rem;
|
||||
margin-bottom: 0.2666666667rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=rule.css.map */
|
47
view/peko/modules/h5Income/css/rule.scss
Normal file
47
view/peko/modules/h5Income/css/rule.scss
Normal file
@@ -0,0 +1,47 @@
|
||||
@function px2rem($px, $rem:75) {
|
||||
@return $px / $rem+rem;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
background: #F3F5FA;
|
||||
}
|
||||
|
||||
.back {
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
width: px2rem(56, );
|
||||
height: px2rem(56, );
|
||||
left: px2rem(40, );
|
||||
top: 0.2rem;
|
||||
// display: none;
|
||||
}
|
||||
|
||||
.box {
|
||||
width: px2rem(686, );
|
||||
// height: px2rem(1348, );
|
||||
height: auto;
|
||||
margin: px2rem(65, ) auto 0;
|
||||
box-sizing: border-box;
|
||||
padding: px2rem(48, ) px2rem(40, );
|
||||
background: #fff;
|
||||
border-radius: px2rem(20, );
|
||||
|
||||
h3 {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #1F1B4F;
|
||||
font-size: px2rem(32, );
|
||||
font-weight: bold;
|
||||
margin-bottom: px2rem(24, );
|
||||
}
|
||||
|
||||
p {
|
||||
color: #8A8CAB;
|
||||
font-size: px2rem(26, );
|
||||
margin-bottom: px2rem(20, );
|
||||
width: 100%;
|
||||
}
|
||||
}
|
@@ -13,6 +13,22 @@ body {
|
||||
top: 0.2rem;
|
||||
}
|
||||
|
||||
.butBig {
|
||||
width: 8.08rem;
|
||||
height: 1.28rem;
|
||||
background: linear-gradient(90deg, #EEDCFF 0%, #DEE4FF 50%, #CCF8F9 100%);
|
||||
border-radius: 1.28rem;
|
||||
line-height: 1.28rem;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
font-size: 0.4266666667rem;
|
||||
margin: 0 auto 0.6666666667rem;
|
||||
}
|
||||
|
||||
.butBigActive {
|
||||
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
|
||||
}
|
||||
|
||||
.myInfo {
|
||||
width: 9.2rem;
|
||||
height: 1.8133333333rem;
|
||||
@@ -165,6 +181,13 @@ body {
|
||||
font-size: 0.3733333333rem;
|
||||
color: #B3B3C3;
|
||||
}
|
||||
.withdrawal .withdrawalBox {
|
||||
width: 8.08rem;
|
||||
height: 1.28rem;
|
||||
position: absolute;
|
||||
left: 0.55rem;
|
||||
top: 1.3rem;
|
||||
}
|
||||
.withdrawal .numBox {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
@@ -180,6 +203,11 @@ body {
|
||||
font-size: 0.3733333333rem;
|
||||
float: right;
|
||||
}
|
||||
.withdrawal .numBox .active {
|
||||
color: #9168FA;
|
||||
font-size: 0.4666666667rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.withdrawal p {
|
||||
margin-bottom: 0.16rem;
|
||||
color: #8A8CAB;
|
||||
|
@@ -18,6 +18,23 @@ body {
|
||||
// display: none;
|
||||
}
|
||||
|
||||
.butBig {
|
||||
width: px2rem(606, );
|
||||
height: px2rem(96, );
|
||||
background: linear-gradient(90deg, #EEDCFF 0%, #DEE4FF 50%, #CCF8F9 100%);
|
||||
border-radius: px2rem(96, );
|
||||
line-height: px2rem(96, );
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
font-size: px2rem(32, );
|
||||
margin: 0 auto px2rem(50, );
|
||||
}
|
||||
|
||||
.butBigActive {
|
||||
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
|
||||
;
|
||||
}
|
||||
|
||||
.myInfo {
|
||||
width: px2rem(690, );
|
||||
height: px2rem(136, );
|
||||
@@ -188,6 +205,14 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.withdrawalBox {
|
||||
width: px2rem(606, );
|
||||
height: px2rem(96, );
|
||||
position: absolute;
|
||||
left: 0.55rem;
|
||||
top: 1.3rem;
|
||||
}
|
||||
|
||||
.numBox {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
@@ -205,6 +230,12 @@ body {
|
||||
font-size: px2rem(28, );
|
||||
float: right;
|
||||
}
|
||||
|
||||
.active {
|
||||
color: #9168FA;
|
||||
font-size: px2rem(35, );
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
@@ -519,6 +550,7 @@ body {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.switch {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
|
@@ -13,22 +13,22 @@
|
||||
<body>
|
||||
<!-- 返回 -->
|
||||
<img src="./images/back.png" alt="" class="back">
|
||||
<!-- 兑换信息 -->
|
||||
<!-- 兌換信息 -->
|
||||
<div class="box">
|
||||
<div class="golds">我的金币:0</div>
|
||||
<div class="diamonds">我的钻石:0</div>
|
||||
<div class="golds">我的金幣:0</div>
|
||||
<div class="diamonds">我的鉆石:0</div>
|
||||
<input type="number" placeholder="0" class="num">
|
||||
<input type="number" disabled placeholder="0" class="num2">
|
||||
</div>
|
||||
<!-- 确认兑换 -->
|
||||
<div class="but">确认兑换</div>
|
||||
<!-- 二次确认弹窗 -->
|
||||
<!-- 確認兌換 -->
|
||||
<div class="but">確認兌換</div>
|
||||
<!-- 二次確認彈窗 -->
|
||||
<div class="pub">
|
||||
<div class="pub_in">
|
||||
<div class="title">确认兑换</div>
|
||||
<p>确认奖 <b class="gold">0</b> 金币兑换为 <b class="diamond">0</b> 钻石吗?</p>
|
||||
<div class="title">確認兌換</div>
|
||||
<p>確認獎 <b class="gold">0</b> 金幣兌換為 <b class="diamond">0</b> 鉆石嗎?</p>
|
||||
<div class="close">取消</div>
|
||||
<div class="ok">确认</div>
|
||||
<div class="ok">確認</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
@@ -21,28 +21,28 @@
|
||||
<b>ID:123456</b>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 钻石 -->
|
||||
<!-- 鉆石 -->
|
||||
<div class="diamond">
|
||||
<img src="./images/index/diamondIcon.png" alt="" class="diamondIcon">
|
||||
<!-- <img src="./images/index/moreD.png" alt="" class="moreD"> -->
|
||||
<span>钻石</span>
|
||||
<!-- <b>明细</b> -->
|
||||
<span>鉆石</span>
|
||||
<!-- <b>明細</b> -->
|
||||
<p>0</p>
|
||||
</div>
|
||||
<!-- 金币 -->
|
||||
<!-- 金幣 -->
|
||||
<div class="gold">
|
||||
<img src="./images/index/goldIcon.png" alt="" class="goldIcon">
|
||||
<span>金币</span>
|
||||
<span>金幣</span>
|
||||
<a href="../myincome/index.html#/CrystalLog">
|
||||
<b>明细</b>
|
||||
<b>明細</b>
|
||||
<img src="./images/index/moreG.png" alt="" class="moreG">
|
||||
</a>
|
||||
<p>0</p>
|
||||
<a href="./exchangeGold.html">
|
||||
<div class="exchangeGold">兑换钻石</div>
|
||||
<div class="exchangeGold">兌換鉆石</div>
|
||||
</a>
|
||||
<a href="./withdrawal.html">
|
||||
<div class="withdrawal">提领</div>
|
||||
<div class="withdrawal">提領</div>
|
||||
</a>
|
||||
</div>
|
||||
</body>
|
||||
|
@@ -1,5 +1,6 @@
|
||||
let urlPrefix = getUrlPrefix()
|
||||
let browser = checkVersion()
|
||||
var url = getQueryString();
|
||||
let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
@@ -86,6 +87,8 @@ function getUploadToken (type) {
|
||||
|
||||
},
|
||||
});
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -126,4 +129,55 @@ function listenFun () {
|
||||
// 监听所有输入框输入
|
||||
$(".box1 div .name,.box1 div .card,.box2 div .bankCard,.box2 div .phone,.box2 div .address").on("keyup", function () {
|
||||
listenFun()
|
||||
});
|
||||
});
|
||||
//
|
||||
// 保存绑定
|
||||
function withdrawUserAccount (name, idCardNo, accountNo, contact, thirdAccountNo, address, frontPhoto, backPhoto) {
|
||||
var obj = {
|
||||
uid: pubInfo.uid,
|
||||
accountType: url.accountType,
|
||||
name,
|
||||
idCardNo,
|
||||
accountNo,
|
||||
contact,
|
||||
thirdAccountNo,
|
||||
address,
|
||||
frontPhoto,
|
||||
backPhoto,
|
||||
};
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'POST',
|
||||
url: urlPrefix + '/withdrawUserAccount/save',
|
||||
contentType: 'application/json',
|
||||
data: JSON.stringify(obj),
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
toastMsg('保存成功')
|
||||
setTimeout(function () {
|
||||
window.location.href = './withdrawal.html'
|
||||
}, 500)
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
$('.but').click(function () {
|
||||
var frontImageUpload = document.querySelector('#frontImageUpload').files;
|
||||
var backImageUpload = document.querySelector('#backImageUpload').files;
|
||||
if (listenFun()) {
|
||||
if (frontImageUpload.length == 0 || backImageUpload.length == 0) {
|
||||
toastMsg('請上傳身份證');
|
||||
return;
|
||||
}
|
||||
withdrawUserAccount($('.box1 div .name').val(), $('.box1 div .card').val(), $('.box2 div .bankCard').val(), $('.box2 div .phone').val(), $('.box2 div .alipay').val(), $('.box2 div .address').val(), $('.box3 .idBox .z .documents').attr('src'), $('.box3 .idBox .z .documents').attr('src'));
|
||||
}
|
||||
})
|
@@ -4,7 +4,7 @@ let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封装layer消息提醒框
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
@@ -26,9 +26,9 @@ const toastMsg = (content = '操作完成', time = 2) => {
|
||||
skin: 'msg'
|
||||
})
|
||||
}
|
||||
var rate;//转换比例
|
||||
var minDiamonds;//最少兑换钻石
|
||||
var maxDiamonds;//最多兑换钻石
|
||||
var rate;//轉換比例
|
||||
var minDiamonds;//最少兌換鉆石
|
||||
var maxDiamonds;//最多兌換鉆石
|
||||
$(function () {
|
||||
setTimeout(function () {
|
||||
getInfoFromClient()
|
||||
@@ -40,7 +40,7 @@ $(function () {
|
||||
}, 100)
|
||||
})
|
||||
})
|
||||
// 钻石金币接口
|
||||
// 鉆石金幣接口
|
||||
function getConfig () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
@@ -53,6 +53,8 @@ function getConfig () {
|
||||
minDiamonds = res.data.minDiamonds;
|
||||
$('.box .golds').text('我的金幣:' + res.data.golds);
|
||||
$('.box .diamonds').text('我的鉆石:' + res.data.diamonds);
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -64,7 +66,7 @@ function getConfig () {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 确认兑换接口
|
||||
// 確認兌換接口
|
||||
function exchange () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
@@ -76,6 +78,8 @@ function exchange () {
|
||||
$('.pub').hide();
|
||||
getConfig();
|
||||
toastMsg('兌換成功')
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -87,33 +91,33 @@ function exchange () {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 返回按钮
|
||||
// 返回按鈕
|
||||
$('.back').click(function () {
|
||||
window.history.go(-1)
|
||||
})
|
||||
// 监听输入
|
||||
// 監聽輸入
|
||||
$(".box .num").on("keyup", function () {
|
||||
var val = $(this).val();
|
||||
$('.box .num2').val(val * rate);
|
||||
});
|
||||
// 打开二次弹窗
|
||||
// 打開二次彈窗
|
||||
$('.but').click(function () {
|
||||
var num = Number($('.box .num2').val());
|
||||
if (num < minDiamonds) {
|
||||
toastMsg(`至少需要兑换${minDiamonds}钻石`)
|
||||
toastMsg(`至少需要兌換${minDiamonds}鉆石`)
|
||||
} else if (num > maxDiamonds) {
|
||||
toastMsg(`兑换钻石不能超过${maxDiamonds}钻石`)
|
||||
toastMsg(`兌換鉆石不能超過${maxDiamonds}鉆石`)
|
||||
} else {
|
||||
$('.pub .pub_in p .gold').text($('.box .num').val());
|
||||
$('.pub .pub_in p .diamond').text($('.box .num2').val());
|
||||
$('.pub').show();
|
||||
}
|
||||
})
|
||||
// 确认兑换
|
||||
// 確認兌換
|
||||
$('.pub .pub_in .ok').click(function () {
|
||||
exchange();
|
||||
})
|
||||
// 取消兑换
|
||||
// 取消兌換
|
||||
$('.pub .pub_in .close').click(function () {
|
||||
$('.pub').hide();
|
||||
})
|
@@ -4,7 +4,7 @@ let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封装layer消息提醒框
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
@@ -39,7 +39,7 @@ $(function () {
|
||||
}, 100)
|
||||
})
|
||||
})
|
||||
// 钻石金币接口
|
||||
// 鉆石金幣接口
|
||||
function getQueryWithRoomType () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
@@ -49,6 +49,8 @@ function getQueryWithRoomType () {
|
||||
if (res.code === 200) {
|
||||
$('.diamond p').text(res.data.diamonds);
|
||||
$('.gold p').text(res.data.golds);
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -72,6 +74,8 @@ function getUser () {
|
||||
$('.myInfo img').attr('src', res.data.avatar);
|
||||
$('.myInfo div p').text(res.data.nick);
|
||||
$('.myInfo div b').text("ID:" + res.data.erbanNo);
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -83,7 +87,7 @@ function getUser () {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 返回按钮
|
||||
// 返回按鈕
|
||||
$('.back').click(function () {
|
||||
window.history.go(-1)
|
||||
})
|
||||
|
@@ -4,7 +4,7 @@ let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封装layer消息提醒框
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
@@ -26,9 +26,9 @@ const toastMsg = (content = '操作完成', time = 2) => {
|
||||
skin: 'msg'
|
||||
})
|
||||
}
|
||||
var idOrPhone = true;//判断id登入或手机号登入
|
||||
var times = 0;//倒计时计时器
|
||||
var isClick = true;//判断是否再次获取验证码
|
||||
var idOrPhone = true;//判斷id登入或手機號登入
|
||||
var times = 0;//倒計時計時器
|
||||
var isClick = true;//判斷是否再次獲取驗證碼
|
||||
var token;
|
||||
$(function () {
|
||||
setTimeout(function () {
|
||||
@@ -39,7 +39,7 @@ $(function () {
|
||||
})
|
||||
})
|
||||
|
||||
// 获取验证码接口
|
||||
// 獲取驗證碼接口
|
||||
function getCode () {
|
||||
var mobileDes = encryptDes($('.box .phone .phoneNumberBox .phoneNumber').val(), '1ea53d260ecf11e7b56e00163e046a26');
|
||||
showLoading()
|
||||
@@ -90,7 +90,7 @@ function ticket () {
|
||||
function oauthToken () {
|
||||
if (idOrPhone) {
|
||||
var phone = $('.box .idLogin .id').val();
|
||||
var password = $('.box .idLogin .password').val();
|
||||
var password = encryptDes($('.box .idLogin .password').val(), '1ea53d260ecf11e7b56e00163e046a26');
|
||||
} else {
|
||||
var phone = $('.box .phone .phoneNumberBox .phoneNumber').val();
|
||||
var code = $('.box .phone .codeBox .code').val();
|
||||
@@ -116,7 +116,7 @@ function oauthToken () {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 区号接口
|
||||
// 區號接口
|
||||
function getAreaInfo () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
@@ -147,7 +147,7 @@ function getAreaInfo () {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 点击获取验证码
|
||||
// 點擊獲取驗證碼
|
||||
$('.box .phone .codeBox .codeBut').click(function () {
|
||||
var val = $('.box .phone .phoneNumberBox .phoneNumber').val();
|
||||
if (val == '') {
|
||||
@@ -159,15 +159,15 @@ $('.box .phone .codeBox .codeBut').click(function () {
|
||||
}
|
||||
|
||||
})
|
||||
// 倒计时
|
||||
// 倒計時
|
||||
function timerFun () {
|
||||
isClick = false;
|
||||
times = 59;
|
||||
// 开启定时器
|
||||
// 開啟定時器
|
||||
var timer = setInterval(function () {
|
||||
// 判断剩余秒数
|
||||
// 判斷剩余秒數
|
||||
if (times == 0) {
|
||||
// 清除定时器和复原按钮
|
||||
// 清除定時器和復原按鈕
|
||||
clearInterval(timer);
|
||||
$('.box .phone .codeBox .codeBut').text('獲取驗證碼');
|
||||
$('.box .phone .codeBox .codeBut').removeClass('codeButTime')
|
||||
@@ -178,7 +178,7 @@ function timerFun () {
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
// 切换登入方式按钮
|
||||
// 切換登入方式按鈕
|
||||
$('.box .hone').click(function () {
|
||||
idOrPhone = !idOrPhone;
|
||||
$('.box .phone .phoneNumberBox .phoneNumber,.box .phone .codeBox .code,.box .idLogin .id,.box .idLogin .password').val('');
|
||||
@@ -193,17 +193,17 @@ $('.box .hone').click(function () {
|
||||
$('.box .hone').text('Peko賬號登錄');
|
||||
}
|
||||
})
|
||||
// 打开选择区号
|
||||
// 打開選擇區號
|
||||
$('.box .phone .phoneNumberBox .prefix').click(function () {
|
||||
$('.area').show();
|
||||
return false;
|
||||
})
|
||||
// 关闭选择区号
|
||||
// 關閉選擇區號
|
||||
$('.area').click(function () {
|
||||
$('.area').hide();
|
||||
return false;
|
||||
})
|
||||
//监听是否可以登入函数
|
||||
//監聽是否可以登入函數
|
||||
function phoneFun () {
|
||||
var num1 = $(".box .idLogin .id").val();
|
||||
var num2 = $(".box .idLogin .password").val();
|
||||
@@ -217,23 +217,23 @@ function phoneFun () {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// 监听账号输入
|
||||
// 監聽賬號輸入
|
||||
$(".box .idLogin .id").on("keyup", function () {
|
||||
phoneFun()
|
||||
});
|
||||
// 监听密码输入
|
||||
// 監聽密碼輸入
|
||||
$(".box .idLogin .password").on("keyup", function () {
|
||||
phoneFun()
|
||||
});
|
||||
// 监听手机号输入
|
||||
// 監聽手機號輸入
|
||||
$(".box .phone .phoneNumberBox .phoneNumber").on("keyup", function () {
|
||||
phoneFun()
|
||||
});
|
||||
// 监听验证码输入
|
||||
// 監聽驗證碼輸入
|
||||
$(".box .phone .codeBox .code").on("keyup", function () {
|
||||
phoneFun()
|
||||
});
|
||||
// 登入按钮
|
||||
// 登入按鈕
|
||||
$('.box .but').click(function () {
|
||||
if (phoneFun()) {
|
||||
oauthToken();
|
||||
|
@@ -1,10 +1,11 @@
|
||||
let urlPrefix = getUrlPrefix()
|
||||
let browser = checkVersion()
|
||||
var url = getQueryString();
|
||||
let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封装layer消息提醒框
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
@@ -37,7 +38,7 @@ $(function () {
|
||||
}, 100)
|
||||
})
|
||||
})
|
||||
// 返回按钮
|
||||
// 返回按鈕
|
||||
$('.back').click(function () {
|
||||
window.history.go(-1)
|
||||
})
|
||||
@@ -55,7 +56,7 @@ function fileChangeF (e) {
|
||||
}
|
||||
getUploadToken(2)
|
||||
}
|
||||
// 上传身份证接口
|
||||
// 上傳身份證接口
|
||||
function getUploadToken (type) {
|
||||
const frontImage = document.getElementById('frontImageUpload').files[0];
|
||||
const backImage = document.getElementById('backImageUpload').files[0];
|
||||
@@ -86,6 +87,8 @@ function getUploadToken (type) {
|
||||
|
||||
},
|
||||
});
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -97,7 +100,7 @@ function getUploadToken (type) {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 确认绑定按钮
|
||||
// 確認綁定按鈕
|
||||
$('.but').click(function () {
|
||||
if (listenFun()) {
|
||||
var filesList = document.querySelector('#frontImageUpload').files;
|
||||
@@ -108,7 +111,7 @@ $('.but').click(function () {
|
||||
}
|
||||
}
|
||||
})
|
||||
//监听是否完善信息
|
||||
//監聽是否完善信息
|
||||
function listenFun () {
|
||||
var num1 = $(".box1 div .name").val();
|
||||
var num2 = $(".box1 div .accountName").val();
|
||||
@@ -121,7 +124,7 @@ function listenFun () {
|
||||
var num10 = $(".box2 div .bankName").val();
|
||||
var num11 = $(".box2 div .swiftCode").val();
|
||||
var num12 = $(".box2 div .phone").val();
|
||||
if (num1 != '' && num2 != '' && num3 != '' && num4 != '' && num5 != '' && num7 != '' && num8 != '' && num9 != '' && num10 != '' && num11 != '' && num12 != '') {
|
||||
if (num1 != '' && num2 != '' && num3 != '' && num4 != '' && num5 != '' && num7 != '' && num8 != '' && num9 != '' && num10 != '' && num11 != '' && num12 != '') {
|
||||
$('.but').addClass('active');
|
||||
return true;
|
||||
} else {
|
||||
@@ -129,7 +132,89 @@ function listenFun () {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// 监听所有输入框输入
|
||||
// 監聽所有輸入框輸入
|
||||
$(".box1 div .name,.box1 div .accountName,.box1 div .card,.box1 div .state,.box1 div .city,.box1 div .street,.box1 div .postalCode,.box2 div .bankAccount,.box2 div .bankName,.box2 div .swiftCode,.box2 div .phone").on("keyup", function () {
|
||||
listenFun()
|
||||
});
|
||||
});
|
||||
// 保存绑定
|
||||
function withdrawUserAccount (
|
||||
surname,
|
||||
name,
|
||||
idCardNo,
|
||||
province,
|
||||
city,
|
||||
street,
|
||||
postCode,
|
||||
accountNo,
|
||||
bankName,
|
||||
swiftCode,
|
||||
contact,
|
||||
frontPhoto,
|
||||
backPhoto,) {
|
||||
var obj = {
|
||||
uid: pubInfo.uid,
|
||||
accountType: url.accountType,
|
||||
surname,
|
||||
name,
|
||||
idCardNo,
|
||||
province,
|
||||
city,
|
||||
street,
|
||||
postCode,
|
||||
accountNo,
|
||||
bankName,
|
||||
swiftCode,
|
||||
contact,
|
||||
frontPhoto,
|
||||
backPhoto,
|
||||
};
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'POST',
|
||||
url: urlPrefix + '/withdrawUserAccount/save',
|
||||
contentType: 'application/json',
|
||||
data: JSON.stringify(obj),
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
toastMsg('保存成功')
|
||||
setTimeout(function () {
|
||||
window.location.href = './withdrawal.html'
|
||||
}, 500)
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
$('.but').click(function () {
|
||||
var frontImageUpload = document.querySelector('#frontImageUpload').files;
|
||||
var backImageUpload = document.querySelector('#backImageUpload').files;
|
||||
if (listenFun()) {
|
||||
if (frontImageUpload.length == 0 || backImageUpload.length == 0) {
|
||||
toastMsg('請上傳身份證');
|
||||
return;
|
||||
}
|
||||
withdrawUserAccount(
|
||||
$('.box1 div .name').val(),
|
||||
$('.box1 div .accountName').val(),
|
||||
$('.box1 div .card').val(),
|
||||
$('.box1 div .state').val(),
|
||||
$('.box1 div .city').val(),
|
||||
$('.box1 div .street').val(),
|
||||
$('.box1 div .postalCode').val(),
|
||||
$('.box2 div .bankAccount').val(),
|
||||
$('.box2 div .bankName').val(),
|
||||
$('.box2 div .swiftCode').val(),
|
||||
$('.box2 div .phone').val(),
|
||||
$('.box3 .idBox .z .documents').attr('src'),
|
||||
$('.box3 .idBox .z .documents').attr('src')
|
||||
);
|
||||
}
|
||||
})
|
@@ -1,10 +1,11 @@
|
||||
let urlPrefix = getUrlPrefix()
|
||||
let browser = checkVersion()
|
||||
var url = getQueryString();
|
||||
let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封装layer消息提醒框
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
@@ -37,7 +38,7 @@ $(function () {
|
||||
}, 100)
|
||||
})
|
||||
})
|
||||
// 返回按钮
|
||||
// 返回按鈕
|
||||
$('.back').click(function () {
|
||||
window.history.go(-1)
|
||||
})
|
||||
@@ -55,7 +56,7 @@ function fileChangeF (e) {
|
||||
}
|
||||
getUploadToken(2)
|
||||
}
|
||||
// 上传身份证接口
|
||||
// 上傳身份證接口
|
||||
function getUploadToken (type) {
|
||||
const frontImage = document.getElementById('frontImageUpload').files[0];
|
||||
const backImage = document.getElementById('backImageUpload').files[0];
|
||||
@@ -86,6 +87,8 @@ function getUploadToken (type) {
|
||||
|
||||
},
|
||||
});
|
||||
} else if (res.code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -97,7 +100,7 @@ function getUploadToken (type) {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 确认绑定按钮
|
||||
// 確認綁定按鈕
|
||||
$('.but').click(function () {
|
||||
if (listenFun()) {
|
||||
var filesList = document.querySelector('#frontImageUpload').files;
|
||||
@@ -108,7 +111,7 @@ $('.but').click(function () {
|
||||
}
|
||||
}
|
||||
})
|
||||
//监听是否完善信息
|
||||
//監聽是否完善信息
|
||||
function listenFun () {
|
||||
var num1 = $(".box2 div .bankCard").val();
|
||||
var num2 = $(".box2 div .name").val();
|
||||
@@ -122,7 +125,68 @@ function listenFun () {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// 监听所有输入框输入
|
||||
// 監聽所有輸入框輸入
|
||||
$(".box2 div .bankCard,.box2 div .name,.box2 div .card,.box2 div .phone").on("keyup", function () {
|
||||
listenFun()
|
||||
});
|
||||
});
|
||||
// 保存绑定
|
||||
function withdrawUserAccount (
|
||||
accountNo,
|
||||
name,
|
||||
idCardNo,
|
||||
contact,
|
||||
frontPhoto,
|
||||
backPhoto,) {
|
||||
var obj = {
|
||||
uid: pubInfo.uid,
|
||||
accountType: url.accountType,
|
||||
accountNo,
|
||||
name,
|
||||
idCardNo,
|
||||
contact,
|
||||
frontPhoto,
|
||||
backPhoto,
|
||||
};
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'POST',
|
||||
url: urlPrefix + '/withdrawUserAccount/save',
|
||||
contentType: 'application/json',
|
||||
data: JSON.stringify(obj),
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
toastMsg('保存成功')
|
||||
setTimeout(function () {
|
||||
window.location.href = './withdrawal.html'
|
||||
}, 500)
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
$('.but').click(function () {
|
||||
var frontImageUpload = document.querySelector('#frontImageUpload').files;
|
||||
var backImageUpload = document.querySelector('#backImageUpload').files;
|
||||
if (listenFun()) {
|
||||
if (frontImageUpload.length == 0 || backImageUpload.length == 0) {
|
||||
toastMsg('請上傳身份證');
|
||||
return;
|
||||
}
|
||||
withdrawUserAccount(
|
||||
$('.box1 div .bankCard').val(),
|
||||
$('.box1 div .name').val(),
|
||||
$('.box1 div .card').val(),
|
||||
$('.box1 div .phone').val(),
|
||||
$('.box3 .idBox .z .documents').attr('src'),
|
||||
$('.box3 .idBox .z .documents').attr('src')
|
||||
);
|
||||
}
|
||||
})
|
67
view/peko/modules/h5Income/js/rule.js
Normal file
67
view/peko/modules/h5Income/js/rule.js
Normal file
@@ -0,0 +1,67 @@
|
||||
let urlPrefix = getUrlPrefix()
|
||||
let browser = checkVersion()
|
||||
let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
type: 2,
|
||||
shadeClose: false,
|
||||
content,
|
||||
success (e) {
|
||||
layerIndex = $(e).attr('index')
|
||||
}
|
||||
})
|
||||
}
|
||||
const hideLoading = (index) => {
|
||||
layer.close(index)
|
||||
}
|
||||
const toastMsg = (content = '操作完成', time = 2) => {
|
||||
layer.open({
|
||||
content,
|
||||
time,
|
||||
skin: 'msg'
|
||||
})
|
||||
}
|
||||
$(function () {
|
||||
setTimeout(function () {
|
||||
getInfoFromClient()
|
||||
if (browser.app) {
|
||||
$('.back').hide();
|
||||
}
|
||||
setTimeout(function () {
|
||||
getConfig()
|
||||
}, 100)
|
||||
})
|
||||
})
|
||||
// 提領配置接口接口
|
||||
function getConfig () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/withdrawUser/config',
|
||||
data: { uid: pubInfo.uid },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
$('.box p b').text(res.data.weekMaxValue);
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
console.log();
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
// 返回按鈕
|
||||
$('.back').click(function () {
|
||||
window.history.go(-1)
|
||||
})
|
@@ -1,10 +1,11 @@
|
||||
let urlPrefix = getUrlPrefix()
|
||||
let browser = checkVersion()
|
||||
var url = getQueryString();
|
||||
let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封装layer消息提醒框
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
@@ -37,7 +38,7 @@ $(function () {
|
||||
}, 100)
|
||||
})
|
||||
})
|
||||
// 返回按钮
|
||||
// 返回按鈕
|
||||
$('.back').click(function () {
|
||||
window.history.go(-1)
|
||||
})
|
||||
@@ -55,7 +56,7 @@ function fileChangeF (e) {
|
||||
}
|
||||
getUploadToken(2)
|
||||
}
|
||||
// 上传身份证接口
|
||||
// 上傳身份證接口
|
||||
function getUploadToken (type) {
|
||||
const frontImage = document.getElementById('frontImageUpload').files[0];
|
||||
const backImage = document.getElementById('backImageUpload').files[0];
|
||||
@@ -86,6 +87,8 @@ function getUploadToken (type) {
|
||||
|
||||
},
|
||||
});
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -97,7 +100,7 @@ function getUploadToken (type) {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 确认绑定按钮
|
||||
// 確認綁定按鈕
|
||||
$('.but').click(function () {
|
||||
if (listenFun()) {
|
||||
var filesList = document.querySelector('#frontImageUpload').files;
|
||||
@@ -108,7 +111,7 @@ $('.but').click(function () {
|
||||
}
|
||||
}
|
||||
})
|
||||
//监听是否完善信息
|
||||
//監聽是否完善信息
|
||||
function listenFun () {
|
||||
var num1 = $(".box1 div .name").val();
|
||||
var num2 = $(".box1 div .accountName").val();
|
||||
@@ -129,7 +132,89 @@ function listenFun () {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// 监听所有输入框输入
|
||||
// 監聽所有輸入框輸入
|
||||
$(".box1 div .name,.box1 div .accountName,.box1 div .card,.box1 div .state,.box1 div .city,.box1 div .street,.box1 div .postalCode,.box2 div .bankAccount,.box2 div .bankName,.box2 div .swiftCode,.box2 div .phone").on("keyup", function () {
|
||||
listenFun()
|
||||
});
|
||||
});
|
||||
// 保存绑定
|
||||
function withdrawUserAccount (
|
||||
surname,
|
||||
name,
|
||||
idCardNo,
|
||||
province,
|
||||
city,
|
||||
street,
|
||||
postCode,
|
||||
accountNo,
|
||||
bankName,
|
||||
swiftCode,
|
||||
contact,
|
||||
frontPhoto,
|
||||
backPhoto,) {
|
||||
var obj = {
|
||||
uid: pubInfo.uid,
|
||||
accountType: url.accountType,
|
||||
surname,
|
||||
name,
|
||||
idCardNo,
|
||||
province,
|
||||
city,
|
||||
street,
|
||||
postCode,
|
||||
accountNo,
|
||||
bankName,
|
||||
swiftCode,
|
||||
contact,
|
||||
frontPhoto,
|
||||
backPhoto,
|
||||
};
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'POST',
|
||||
url: urlPrefix + '/withdrawUserAccount/save',
|
||||
contentType: 'application/json',
|
||||
data: JSON.stringify(obj),
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
toastMsg('保存成功')
|
||||
setTimeout(function () {
|
||||
window.location.href = './withdrawal.html'
|
||||
}, 500)
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
$('.but').click(function () {
|
||||
var frontImageUpload = document.querySelector('#frontImageUpload').files;
|
||||
var backImageUpload = document.querySelector('#backImageUpload').files;
|
||||
if (listenFun()) {
|
||||
if (frontImageUpload.length == 0 || backImageUpload.length == 0) {
|
||||
toastMsg('請上傳身份證');
|
||||
return;
|
||||
}
|
||||
withdrawUserAccount(
|
||||
$('.box1 div .name').val(),
|
||||
$('.box1 div .accountName').val(),
|
||||
$('.box1 div .card').val(),
|
||||
$('.box1 div .state').val(),
|
||||
$('.box1 div .city').val(),
|
||||
$('.box1 div .street').val(),
|
||||
$('.box1 div .postalCode').val(),
|
||||
$('.box2 div .bankAccount').val(),
|
||||
$('.box2 div .bankName').val(),
|
||||
$('.box2 div .swiftCode').val(),
|
||||
$('.box2 div .phone').val(),
|
||||
$('.box3 .idBox .z .documents').attr('src'),
|
||||
$('.box3 .idBox .z .documents').attr('src')
|
||||
);
|
||||
}
|
||||
})
|
@@ -4,7 +4,7 @@ let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封装layer消息提醒框
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
@@ -26,7 +26,11 @@ const toastMsg = (content = '操作完成', time = 2) => {
|
||||
skin: 'msg'
|
||||
})
|
||||
}
|
||||
|
||||
var accountType;//1 其它賬戶 2 中國大陸銀聯 4 馬來西亞銀行 8 新加坡銀行
|
||||
var minValue;//最小提領金币数量
|
||||
var golds;//当前剩余金币
|
||||
var weekLimitCount;//本周剩余次数
|
||||
var weekMaxValue;//本周剩余最大金额
|
||||
$(function () {
|
||||
setTimeout(function () {
|
||||
getInfoFromClient()
|
||||
@@ -34,10 +38,326 @@ $(function () {
|
||||
$('.back').hide();
|
||||
}
|
||||
setTimeout(function () {
|
||||
getUser();
|
||||
}, 100)
|
||||
})
|
||||
})
|
||||
// 返回按钮
|
||||
// 提領配置接口接口
|
||||
function getConfig () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/withdrawUser/config',
|
||||
data: { uid: pubInfo.uid },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
minValue = res.data.minValue;
|
||||
weekLimitCount = res.data.weekLimitCount;
|
||||
weekMaxValue = res.data.weekMaxValue;
|
||||
var str = `
|
||||
<p>收益金幣達到${res.data.minValue}或以上可以申請提領</p>
|
||||
<p>提領金幣必須為100的整倍數</p>
|
||||
<p>每周可提領次數:<i>${res.data.weekMaxValue}</i></p>
|
||||
<p>提領手續費:<i>${res.data.chargeRate}%</i></p>
|
||||
`
|
||||
$('.withdrawal').append(str);
|
||||
getAccounts();
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
console.log();
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
// 用戶錢包接口
|
||||
function query () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/purse/query',
|
||||
data: { uid: pubInfo.uid },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
$('.income p').text(`金幣 ${res.data.golds}`);
|
||||
golds = res.data.golds;
|
||||
getConfig();
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
console.log();
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
// 用戶基本信息接口
|
||||
function getUser () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/user/get',
|
||||
data: { uid: pubInfo.uid },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
$('.myInfo img').attr('src', res.data.avatar);
|
||||
$('.myInfo div p').text(res.data.nick);
|
||||
$('.myInfo div b').text("ID:" + res.data.erbanNo);
|
||||
query()
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
// 提領賬戶管理接口
|
||||
function getAccounts () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/withdrawAccountDtl/getAccounts',
|
||||
data: { uid: pubInfo.uid },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
var str = '';
|
||||
res.data.forEach(res => {
|
||||
str += `
|
||||
<li accountType=${res.accountType} isBind=${res.isBind}>${res.accountName}${res.isBind == 0 ? "(未綁定)" : ''}</li>
|
||||
`
|
||||
if (res.isPrev == 1) {
|
||||
accountType = res.accountType
|
||||
$('.account span').text(res.accountName);
|
||||
$('.account span').addClass('active');
|
||||
} else {
|
||||
if (res.isBind == 1) {
|
||||
accountType = res.accountType
|
||||
$('.account span').text(res.accountName);
|
||||
$('.account span').addClass('active');
|
||||
}
|
||||
}
|
||||
});
|
||||
$('.accountPub .accountPub_in ul').append(str);
|
||||
// 跳轉綁定賬戶或選擇賬戶
|
||||
$('.accountPub .accountPub_in ul li').click(function () {
|
||||
var isBind = $(this).attr('isBind');//是否綁定 0 否 1 是
|
||||
if (isBind == 1) {
|
||||
var accountTypes = $(this).attr('accounttype');//1 其它賬戶 2 中國大陸銀聯 4 馬來西亞銀行 8 新加坡銀行
|
||||
if (accountTypes == 1) {
|
||||
$('.switch .pub_in p').text('是否切換到其它賬戶提領 ');
|
||||
} else if (accountTypes == 2) {
|
||||
$('.switch .pub_in p').text('是否切換到中國大陸銀聯提領 ');
|
||||
} else if (accountTypes == 4) {
|
||||
$('.switch .pub_in p').text('是否切換到馬來西亞銀行提領 ');
|
||||
} else if (accountTypes == 8) {
|
||||
$('.switch .pub_in p').text('是否切換到新加坡銀行提領 ');
|
||||
}
|
||||
$('.switch .pub_in .ok').attr('accounttype', accountTypes);
|
||||
$('.switch .pub_in .ok').attr('text', $(this).text());
|
||||
$('.switch').show();
|
||||
} else {
|
||||
var accountTypes = $(this).attr('accounttype');//1 其它賬戶 2 中國大陸銀聯 4 馬來西亞銀行 8 新加坡銀行
|
||||
if (accountTypes == 1) {
|
||||
$('.binding .pub_in p').text('需要先綁定賬戶資料');
|
||||
} else if (accountTypes == 2) {
|
||||
$('.binding .pub_in p').text('需要先綁定中國大陸銀聯賬戶資料');
|
||||
} else if (accountTypes == 4) {
|
||||
$('.binding .pub_in p').text('需要先綁定馬來西亞銀行賬戶資料');
|
||||
} else if (accountTypes == 8) {
|
||||
$('.binding .pub_in p').text('需要先綁定新加坡銀行賬戶資料');
|
||||
}
|
||||
$('.binding').show();
|
||||
// 確認跳轉綁定頁面按鈕
|
||||
$('.binding .pub_in .ok').click(function () {
|
||||
if (accountTypes == 1) {
|
||||
window.location.href = `./other.html?accountType=${accountTypes}`;
|
||||
} else if (accountTypes == 2) {
|
||||
window.location.href = `./chainBank.html?accountType=${accountTypes}`;
|
||||
} else if (accountTypes == 4) {
|
||||
window.location.href = `./malaysia.html?accountType=${accountTypes}`;
|
||||
} else if (accountTypes == 8) {
|
||||
window.location.href = `./singapore.html?accountType=${accountTypes}`;
|
||||
}
|
||||
})
|
||||
}
|
||||
return false;
|
||||
})
|
||||
if (golds < minValue) {
|
||||
$('.withdrawal input').attr('placeholder', '可提領金幣不足');
|
||||
} else if ($('.account span').text() != '未绑定') {
|
||||
$(`.withdrawal input`).text('請輸入提領金幣數額');
|
||||
$(`.withdrawal .withdrawalBox`).attr('click', 1);
|
||||
}
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
// 取消切换按钮
|
||||
$('.switch .pub_in .close').click(function () {
|
||||
$('.switch').hide();
|
||||
})
|
||||
// 确认切换按钮
|
||||
$('.switch .pub_in .ok').click(function () {
|
||||
accountType = $(this).attr('accounttype');//1 其它賬戶 2 中國大陸銀聯 4 馬來西亞銀行 8 新加坡銀行
|
||||
$('.account span').text($(this).attr("text"));
|
||||
$('.account span').addClass('active');
|
||||
$('.accountPub').hide();
|
||||
$('.switch').hide();
|
||||
})
|
||||
// 确定输入提領弹窗按钮
|
||||
$('.goldPub .goldPub_in .but').click(function () {
|
||||
var num = $('.goldPub .goldPub_in input').val();
|
||||
if (num == '') {
|
||||
toastMsg('請輸入提領金幣數額');
|
||||
return
|
||||
}
|
||||
if (num < minValue) {
|
||||
toastMsg(`最少申請金幣为${minValue}`);
|
||||
return
|
||||
}
|
||||
if (num % 100 != 0) {
|
||||
toastMsg(`提領金幣必須為100的整倍數`);
|
||||
return
|
||||
}
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/withdrawUserAccount/calculate',
|
||||
data: { uid: pubInfo.uid, accountType, goldNum: num, },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
$('.withdrawal .numBox b').addClass('active');
|
||||
$('.withdrawal input').val(num);
|
||||
$('.withdrawal .numBox b').text(`${res.data.currency} ${res.data.currencyAmount}`);
|
||||
$('.goldPub').hide();
|
||||
$('.goldPub .goldPub_in input').val('');
|
||||
$('.butBig').addClass('butBigActive');
|
||||
$('.butBig').attr('click', 1);
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
console.log();
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
return false;
|
||||
})
|
||||
// 关闭二次确认提領按钮
|
||||
$('.withDrawalPub').click(function () {
|
||||
$('.withDrawalPub').hide();
|
||||
return false;
|
||||
})
|
||||
// 确定提領按钮
|
||||
$('.butBig').click(function () {
|
||||
var num = $('.withdrawal input').val();
|
||||
var status = $(this).attr("click");
|
||||
if (status != 1) {
|
||||
return
|
||||
}
|
||||
if (weekLimitCount <= 0) {
|
||||
toastMsg('超出本周最大提领次数')
|
||||
return
|
||||
}
|
||||
if (num >= weekMaxValue) {
|
||||
toastMsg('超出本周最大提领金额')
|
||||
return
|
||||
}
|
||||
$('.withDrawalPub .withDrawalPub_in p ').html(`確認通過 <b>${$('.account .active').text()}</b> 提領 <b>${num}</b>金幣?`)
|
||||
$('.withDrawalPub .withDrawalPub_in span b ').html(`${$('.withdrawal .numBox b').text()}`)
|
||||
$('.withDrawalPub').show();
|
||||
})
|
||||
// 二次确认提領按钮
|
||||
$('.withDrawalPub .withDrawalPub_in .but').click(function () {
|
||||
var num = $('.withdrawal input').val();
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'POST',
|
||||
url: urlPrefix + '/withdrawUserAccount/apply',
|
||||
data: { uid: pubInfo.uid, accountType, goldNum: num, },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
getUser();
|
||||
$('.withDrawalPub').hide();
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
console.log();
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
return false;
|
||||
})
|
||||
// 点击输入提領数额按钮
|
||||
$('.withdrawal .withdrawalBox').click(function () {
|
||||
var status = $(this).attr('click');
|
||||
if (status == 1) {
|
||||
$('.goldPub .goldPub_in .num').text(golds);
|
||||
$('.goldPub').show();
|
||||
}
|
||||
});
|
||||
// 防止提領输入事件冒泡
|
||||
$('.goldPub .goldPub_in').click(function () {
|
||||
return false;
|
||||
})
|
||||
// 取消输入提領弹窗
|
||||
$('.goldPub').click(function () {
|
||||
$('.goldPub').hide();
|
||||
})
|
||||
// 點擊綁定賬戶
|
||||
$('.account').click(function () {
|
||||
$('.accountPub').show();
|
||||
})
|
||||
// 關閉綁定賬戶彈窗
|
||||
$('.accountPub').click(function () {
|
||||
$('.accountPub').hide();
|
||||
})
|
||||
// 關閉跳轉綁定頁面按鈕
|
||||
$('.binding .pub_in .close').click(function () {
|
||||
$('.binding ').hide();
|
||||
})
|
||||
// 返回按鈕
|
||||
$('.back').click(function () {
|
||||
window.history.go(-1)
|
||||
})
|
||||
// 跳转提領规则页面
|
||||
$('.income .rule').click(function () {
|
||||
window.location.href = './rule.html';
|
||||
})
|
@@ -10,21 +10,21 @@
|
||||
<link rel="stylesheet" href="./css/login.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body>
|
||||
<!-- 返回 -->
|
||||
<img src="./images/back.png" alt="" class="back">
|
||||
<!-- 头部 -->
|
||||
<!-- 頭部 -->
|
||||
<div class="header">
|
||||
<img src="./images/login/logo.png" alt="" class="logo">
|
||||
</div>
|
||||
<!-- 底部登入 -->
|
||||
<div class="box">
|
||||
<!-- 账号登入 -->
|
||||
<!-- 賬號登入 -->
|
||||
<div class="idLogin">
|
||||
<input type="number" class="id" placeholder="請輸入Peko賬號">
|
||||
<input type="password" class="password" placeholder="請輸入密碼">
|
||||
</div>
|
||||
<!-- 手机号登入 -->
|
||||
<!-- 手機號登入 -->
|
||||
<div class="phone">
|
||||
<div class="phoneNumberBox">
|
||||
<div class="prefix">
|
||||
@@ -37,11 +37,11 @@
|
||||
<div class="codeBut">獲取驗證碼</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 登入按钮 -->
|
||||
<!-- 登入按鈕 -->
|
||||
<div class="but">登錄</div>
|
||||
<div class="hone">Peko手機號登錄</div>
|
||||
</div>
|
||||
<!-- 区号选择 -->
|
||||
<!-- 區號選擇 -->
|
||||
<div class="area">
|
||||
<div class="box">
|
||||
<p>請選擇區號</p>
|
||||
|
@@ -13,9 +13,9 @@
|
||||
<body>
|
||||
<!-- 返回 -->
|
||||
<img src="./images/back.png" alt="" class="back">
|
||||
<!-- 标题 -->
|
||||
<!-- 標題 -->
|
||||
<h3>馬來西亞銀行</h3>
|
||||
<!-- 姓名身份证 -->
|
||||
<!-- 姓名身份證 -->
|
||||
<div class="box1">
|
||||
<div>
|
||||
<span>開戶姓氏</span>
|
||||
@@ -26,8 +26,8 @@
|
||||
<input class="accountName" type="text" placeholder="例:LEE HONG">
|
||||
</div>
|
||||
<div>
|
||||
<span>身份證號备份</span>
|
||||
<input class="card" type="text" placeholder="請輸入正確的身份證號碼备份">
|
||||
<span>身份證號備份</span>
|
||||
<input class="card" type="text" placeholder="請輸入正確的身份證號碼備份">
|
||||
</div>
|
||||
<div>
|
||||
<span>省(州)</span>
|
||||
@@ -46,7 +46,7 @@
|
||||
<input class="postalCode" type="text" placeholder="請輸入身份證上的郵編信息">
|
||||
</div>
|
||||
</div>
|
||||
<!-- 银行卡手机号等信息 -->
|
||||
<!-- 銀行卡手機號等信息 -->
|
||||
<div class="box2">
|
||||
<div>
|
||||
<span>銀行收款賬戶</span>
|
||||
@@ -61,11 +61,11 @@
|
||||
<input class="swiftCode" type="text" placeholder="例:MBBEMYKLPKG">
|
||||
</div>
|
||||
<div>
|
||||
<span>聯系方式</span>
|
||||
<input class="phone" type="text" placeholder="可聯系您的聯系方式,郵箱/電話">
|
||||
<span>聯繫方式</span>
|
||||
<input class="phone" type="text" placeholder="可聯繫您的聯繫方式,郵箱/電話">
|
||||
</div>
|
||||
</div>
|
||||
<!-- 上传身份证 -->
|
||||
<!-- 上傳身份證 -->
|
||||
<div class="box3">
|
||||
<p>上傳身份證照片</p>
|
||||
<div class="idBox">
|
||||
@@ -87,19 +87,19 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 绑定按钮 -->
|
||||
<!-- 綁定按鈕 -->
|
||||
<div class="but">確認綁定</div>
|
||||
<!-- 说明 -->
|
||||
<!-- 說明 -->
|
||||
<div class="rule">
|
||||
<p>註意:</p>
|
||||
<p>1.該頁面適用於馬來西亞地區的提現,非馬來西亞地區請切換其他提現方式;</p>
|
||||
<p>2.提現資料請勿隨意填寫,需正確填寫以上資料;</p>
|
||||
<p>3.銀行賬號與身份證號碼必須與提現實名一致,否則提現不能到賬;</p>
|
||||
<p>4.請勿將賬號綁定他人的姓名,提現真實姓名綁定後不能修改,請謹慎操作;</p>
|
||||
<p>5.實際提現收益按照轉賬時的匯率之後金額;</p>
|
||||
<p>6.首次進行提現流程時,會需要上傳您的身份證相關信息;</p>
|
||||
<p>7.申請提現人為未滿二十歲的未成年人,除需提供申請人的身份證相關信息外,另須提供法定代理人(或監護人)的身份證件相關信息;</p>
|
||||
<p>8.如有疑問請聯系Wechat:sd245376</p>
|
||||
<p>1.該頁面適用於馬來西亞地區的提領,非馬來西亞地區請切換其他提領方式;</p>
|
||||
<p>2.提領資料請勿隨意填寫,需正確填寫以上資料;</p>
|
||||
<p>3.銀行賬號與身份證號碼必須與提領實名一致,否則提領不能到賬;</p>
|
||||
<p>4.請勿將賬號綁定他人的姓名,提領真實姓名綁定後不能修改,請謹慎操作;</p>
|
||||
<p>5.實際提領收益按照轉賬時的匯率之後金額;</p>
|
||||
<p>6.首次進行提領流程時,會需要上傳您的身份證相關信息;</p>
|
||||
<p>7.申請提領人為未滿二十歲的未成年人,除需提供申請人的身份證相關信息外,另須提供法定代理人(或監護人)的身份證件相關信息;</p>
|
||||
<p>8.如有疑問請聯繫Wechat:sd245376</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
@@ -13,9 +13,9 @@
|
||||
<body>
|
||||
<!-- 返回 -->
|
||||
<img src="./images/back.png" alt="" class="back">
|
||||
<!-- 标题 -->
|
||||
<!-- 標題 -->
|
||||
<h3>其他賬戶</h3>
|
||||
<!-- 银行卡手机号等信息 -->
|
||||
<!-- 銀行卡手機號等信息 -->
|
||||
<div class="box2">
|
||||
<div>
|
||||
<span>Payoneer賬戶</span>
|
||||
@@ -30,11 +30,11 @@
|
||||
<input class="card" type="text" placeholder="請輸入正確的身份證號碼">
|
||||
</div>
|
||||
<div>
|
||||
<span>聯系方式</span>
|
||||
<input class="phone" type="text" placeholder="可聯系您的聯系方式,郵箱/電話">
|
||||
<span>聯繫方式</span>
|
||||
<input class="phone" type="text" placeholder="可聯繫您的聯繫方式,郵箱/電話">
|
||||
</div>
|
||||
</div>
|
||||
<!-- 上传身份证 -->
|
||||
<!-- 上傳身份證 -->
|
||||
<div class="box3">
|
||||
<p>上傳身份證照片</p>
|
||||
<div class="idBox">
|
||||
@@ -56,18 +56,18 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 绑定按钮 -->
|
||||
<!-- 綁定按鈕 -->
|
||||
<div class="but">確認綁定</div>
|
||||
<!-- 说明 -->
|
||||
<!-- 說明 -->
|
||||
<div class="rule">
|
||||
<p>註意:</p>
|
||||
<p>1.其他賬戶提現將由Payoneer發放;</p>
|
||||
<p>2.Payoneer的使用方法請聯系客服 Wechat:xxxx 咨詢;</p>
|
||||
<p>3.Payoneer賬户必須與真實姓名一致,否則提現不能到賬;</p>
|
||||
<p>4.請勿將賬號綁定他人的姓名,提現真實姓名綁定後不能修改,請謹慎操作;</p>
|
||||
<p>5.首次進行提現流程時,會需要上傳您的身份證相關信息;</p>
|
||||
<p>6.申請提現人為未滿二十歲的未成年人,除需提供申請人的身份證相關信息外,另須提供法定代理人(或監護人)的身份證件相關信息;</p>
|
||||
<p>7.如有疑問請聯系Wechat:sd245376</p>
|
||||
<p>1.其他賬戶提領將由Payoneer發放;</p>
|
||||
<p>2.Payoneer的使用方法請聯繫客服 Wechat:xxxx 咨詢;</p>
|
||||
<p>3.Payoneer賬戶必須與真實姓名一致,否則提領不能到賬;</p>
|
||||
<p>4.請勿將賬號綁定他人的姓名,提領真實姓名綁定後不能修改,請謹慎操作;</p>
|
||||
<p>5.首次進行提領流程時,會需要上傳您的身份證相關信息;</p>
|
||||
<p>6.申請提領人為未滿二十歲的未成年人,除需提供申請人的身份證相關信息外,另須提供法定代理人(或監護人)的身份證件相關信息;</p>
|
||||
<p>7.如有疑問請聯繫Wechat:sd245376</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
42
view/peko/modules/h5Income/rule.html
Normal file
42
view/peko/modules/h5Income/rule.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>提領規則</title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/rule.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- 返回 -->
|
||||
<img src="./images/back.png" alt="" class="back">
|
||||
<!-- 内容 -->
|
||||
<div class="box">
|
||||
<h3>提領規則</h3>
|
||||
<p>1.什是金幣</p>
|
||||
<p>金幣是在房間收到的禮物打賞可以收穫金幣。</p>
|
||||
<p>2.如何獲得金幣</p>
|
||||
<p>可以通過接受別人打賞的禮物,獲得金幣。</p>
|
||||
<p>3.收益提領规则</p>
|
||||
<p>3.1. 1000金幣等於1美元,根據提領地區匯率換算,匯率每週更新</p>
|
||||
<p>3.2. 每周可申請提領5次,次日發放;</p>
|
||||
<p>3.3. 金幣數量需大於或等於<b></b>金幣才能申請提取;</p>
|
||||
<p>3.4. 如您的提領信息有誤無法發放,金幣原路退回帳號,請聯繫客服;</p>
|
||||
<p>4.金幣兌換鑽石规则</p>
|
||||
<p>金幣可兌換為鑽石,兌換比例:1000金幣=1000鑽石。</p>
|
||||
<p>5.不提取不兌換,金幣則不會被清空。</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<script src="../../common/js/flexible.js"></script>
|
||||
<script src="../../common/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="../../common/js/common2.js"></script>
|
||||
<script src="../../common/js/layer.js"></script>
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/route-constant.js"></script>
|
||||
<script src="../../common/js/svga.min.js"></script>
|
||||
<script src="./js/rule.js"></script>
|
@@ -14,7 +14,7 @@
|
||||
<!-- 返回 -->
|
||||
<img src="./images/back.png" alt="" class="back">
|
||||
<!-- 标题 -->
|
||||
<h3>馬來西亞銀行</h3>
|
||||
<h3>新加坡銀行</h3>
|
||||
<!-- 姓名身份证 -->
|
||||
<div class="box1">
|
||||
<div>
|
||||
@@ -92,13 +92,13 @@
|
||||
<!-- 说明 -->
|
||||
<div class="rule">
|
||||
<p>註意:</p>
|
||||
<p>1.該頁面適用於馬來西亞地區的提現,非馬來西亞地區請切換其他提現方式;</p>
|
||||
<p>2.提現資料請勿隨意填寫,需正確填寫以上資料;</p>
|
||||
<p>3.銀行賬號與身份證號碼必須與提現實名一致,否則提現不能到賬;</p>
|
||||
<p>4.請勿將賬號綁定他人的姓名,提現真實姓名綁定後不能修改,請謹慎操作;</p>
|
||||
<p>5.實際提現收益按照轉賬時的匯率之後金額;</p>
|
||||
<p>6.首次進行提現流程時,會需要上傳您的身份證相關信息;</p>
|
||||
<p>7.申請提現人為未滿二十歲的未成年人,除需提供申請人的身份證相關信息外,另須提供法定代理人(或監護人)的身份證件相關信息;</p>
|
||||
<p>1.該頁面適用於馬來西亞地區的提領,非馬來西亞地區請切換其他提領方式;</p>
|
||||
<p>2.提領資料請勿隨意填寫,需正確填寫以上資料;</p>
|
||||
<p>3.銀行賬號與身份證號碼必須與提領實名一致,否則提領不能到賬;</p>
|
||||
<p>4.請勿將賬號綁定他人的姓名,提領真實姓名綁定後不能修改,請謹慎操作;</p>
|
||||
<p>5.實際提領收益按照轉賬時的匯率之後金額;</p>
|
||||
<p>6.首次進行提領流程時,會需要上傳您的身份證相關信息;</p>
|
||||
<p>7.申請提領人為未滿二十歲的未成年人,除需提供申請人的身份證相關信息外,另須提供法定代理人(或監護人)的身份證件相關信息;</p>
|
||||
<p>8.如有疑問請聯系Wechat:sd245376</p>
|
||||
</div>
|
||||
</body>
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>收益提现</title>
|
||||
<title>收益提領</title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/withdrawal.css">
|
||||
</head>
|
||||
@@ -39,42 +39,44 @@
|
||||
<div class="withdrawal">
|
||||
<img src="./images/withdrawal/icon_mone.png" alt="" class="gold">
|
||||
<div class="title">提领金币</div>
|
||||
<input type="number" placeholder="請先選擇提現賬戶" disabled>
|
||||
<input type="number" placeholder="請先選擇提領賬戶" disabled>
|
||||
<div class="withdrawalBox"></div>
|
||||
<div class="numBox">
|
||||
<span>提現到賬數額</span>
|
||||
<b>請先選擇提現賬戶</b>
|
||||
<span>提領到賬數額</span>
|
||||
<b>請輸入提領金幣數額</b>
|
||||
</div>
|
||||
<p>收益金幣達到5000或以上可以申請提現</p>
|
||||
<p>提現金幣必須為100的整倍數</p>
|
||||
<p>每周可提現次數:<i>y</i></p>
|
||||
<p>提現手續費:<i>x%</i></p>
|
||||
<!-- <p>收益金幣達到5000或以上可以申請提領</p>
|
||||
<p>提領金幣必須為100的整倍數</p>
|
||||
<p>每周可提領次數:<i>y</i></p>
|
||||
<p>提領手續費:<i>x%</i></p> -->
|
||||
</div>
|
||||
<div class="butBig">提交提領申請</div>
|
||||
<!-- 账户弹窗 -->
|
||||
<div class="accountPub">
|
||||
<div class="accountPub_in">
|
||||
<h3>請選擇提現方式</h3>
|
||||
<h3>請選擇提領方式</h3>
|
||||
<ul>
|
||||
<li>中國大陸銀聯(未綁定)</li>
|
||||
<!-- <li>中國大陸銀聯(未綁定)</li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 输入提现金币数额弹窗 -->
|
||||
<!-- 输入提領金币数额弹窗 -->
|
||||
<div class="goldPub">
|
||||
<div class="goldPub_in">
|
||||
<p class="title">輸入提現金幣數額</p>
|
||||
<p class="title">輸入提領金幣數額</p>
|
||||
<div class="num">00</div>
|
||||
<span>金幣余額</span>
|
||||
<img src="./images/withdrawal/gold.png" alt="">
|
||||
<input type="number" placeholder="請輸入提現金幣數額">
|
||||
<input type="number" placeholder="請輸入提領金幣數額">
|
||||
<div class="but">確認</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 二次确认弹窗 -->
|
||||
<div class="withDrawalPub">
|
||||
<div class="withDrawalPub_in">
|
||||
<div class="title">確認提現</div>
|
||||
<p>確認通過 <b>中國大陸銀聯</b> 提現 <b>6666</b>金幣?</p>
|
||||
<span>提現到賬數額為<b>CNY 343.9</b></span>
|
||||
<div class="title">確認提領</div>
|
||||
<p>確認通過 <b>中國大陸銀聯</b> 提領 <b>6666</b>金幣?</p>
|
||||
<span>提領到賬數額為 <b>CNY 343.9</b></span>
|
||||
<div class="but">確認</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -91,11 +93,11 @@
|
||||
<div class="switch">
|
||||
<div class="pub_in">
|
||||
<div class="title">確認綁定</div>
|
||||
<p>是否切換到馬來西亞銀行提現 </p>
|
||||
<p>是否切換到馬來西亞銀行提領 </p>
|
||||
<div class="close">取消</div>
|
||||
<div class="ok">确认</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@@ -1 +1 @@
|
||||
<!DOCTYPE html><html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>peko</title><link href=./static/css/app.3266047a180cb178187558677658043c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.cb699548379fceb9657f.js></script><script type=text/javascript src=./static/js/vendor.e1f3b20580f807878b61.js></script><script type=text/javascript src=./static/js/app.fe16b0614a0b3bec5a65.js></script></body></html>
|
||||
<!DOCTYPE html><html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>peko</title><link href=./static/css/app.3266047a180cb178187558677658043c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.baee3f82beca2995c14d.js></script><script type=text/javascript src=./static/js/vendor.e1f3b20580f807878b61.js></script><script type=text/javascript src=./static/js/app.317b8625bba9c6c3aa95.js></script></body></html>
|
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
webpackJsonp([14],{"2KIr":function(e,n){},"4ml/":function(e,n){},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=t("7+uW"),o={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},staticRenderFns:[]};var a=t("VU/8")({name:"App"},o,!1,function(e){t("fh2C")},null,null).exports,r=t("YaEn"),s=(t("2KIr"),t("NYxO")),c=t("Z4iZ"),d=Object(c.b)().app;console.log(d,"store"),i.a.use(s.a);var u=new s.a.Store({state:{info:{ticket:"123",uid:"678"},isApp:d},mutations:{setInfo:function(e,n){e.info.ticket=n.ticket,e.info.uid=n.uid}},getters:{getInfo:function(e){return e.info},getIsApp:function(e){return e.info}},actions:{getUserInfo:function(e){return e.state}}}),l=t("pFYg"),f=t.n(l);window.info={},window.getMessage=function(e,n){info[e]=n};t("4ml/");var m=t("Fd2+"),p=(t("sVYa"),t("Lw6n")),h=t.n(p),g=t("DVXL"),w=t.n(g);!function(){var e=Object(c.b)();if(e.app)if(window.sessionStorage.clear(),e.ios){var n=document.cookie.match(/\d+/);info.uid=n[0],window.webkit.messageHandlers.getTicket.postMessage(null),window.webkit.messageHandlers.getDeviceId.postMessage(null)}else e.android&&androidJsObj&&"object"===("undefined"==typeof androidJsObj?"undefined":f()(androidJsObj))&&(info.uid=parseInt(window.androidJsObj.getUid()),info.ticket=window.androidJsObj.getTicket(),info.deviceId=window.androidJsObj.getDeviceId());else info.uid=sessionStorage.getItem("uid")?sessionStorage.getItem("uid"):"",info.ticket=sessionStorage.getItem("ticket")?sessionStorage.getItem("ticket"):""}(),i.a.config.productionTip=!1,"test"===Object(c.a)()&&new h.a,w.a.attach(document.body),w.a.prototype.focus=function(e){var n;e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(n=e.value.length,e.focus(),e.setSelectionRange(n,n)):e.focus()},i.a.use(m.c),new i.a({el:"#app",router:r.a,store:u,components:{App:a},template:"<App/>"})},YaEn:function(e,n,t){"use strict";var i=t("7+uW"),o=t("/ocq");i.a.use(o.a);var a=new o.a({routes:[{path:"/MyIncome",name:"MyIncome",component:function(){return Promise.all([t.e(0),t.e(3)]).then(t.bind(null,"kutM"))}},{path:"/CrystalExchangeDiamond",name:"CrystalExchangeDiamond",component:function(){return Promise.all([t.e(0),t.e(8)]).then(t.bind(null,"3IW4"))}},{path:"/GoldExchangeDiamond",name:"GoldExchangeDiamond",component:function(){return Promise.all([t.e(0),t.e(12)]).then(t.bind(null,"RpvA"))}},{path:"/WithDraw",name:"WithDraw",component:function(){return Promise.all([t.e(0),t.e(4)]).then(t.bind(null,"9SZj"))}},{path:"/BindAlipay",name:"BindAlipay",component:function(){return Promise.all([t.e(0),t.e(2)]).then(t.bind(null,"b+Mi"))}},{path:"/CrystalLog",name:"CrystalLog",component:function(){return Promise.all([t.e(0),t.e(9)]).then(t.bind(null,"4tis"))}},{path:"/GoldLog",name:"GoldLog",component:function(){return Promise.all([t.e(0),t.e(11)]).then(t.bind(null,"b+89"))}},{path:"/DiamondLog",name:"DiamondLog",component:function(){return Promise.all([t.e(0),t.e(5)]).then(t.bind(null,"QAJJ"))},meta:{title:"鉆石記錄"}},{path:"/Login",name:"Login",component:function(){return Promise.all([t.e(0),t.e(6)]).then(t.bind(null,"CroZ"))},meta:{title:"登錄"}},{path:"/runningWater",name:"runningWater",component:function(){return t.e(7).then(t.bind(null,"Ok5E"))},meta:{title:"房間流水"}},{path:"/GameWithDrawDesc",name:"GameWithDrawDesc",component:function(){return Promise.all([t.e(0),t.e(10)]).then(t.bind(null,"CXh3"))},meta:{title:"領獎說明"}},{path:"/WithDrawInfoBind",name:"WithDrawInfoBind",component:function(){return Promise.all([t.e(0),t.e(1)]).then(t.bind(null,"Vj3e"))},meta:{title:"個人信息綁定"}}]});a.beforeEach(function(e,n,t){"Login"===n.name||window.sessionStorage.getItem("ticket")?t():setTimeout(function(){window.sessionStorage.setItem("uid",info.uid),window.sessionStorage.setItem("ticket",info.ticket),console.log(info,"router"),t()},50)}),n.a=a},Z4iZ:function(e,n,t){"use strict";t.d(n,"b",function(){return i}),t.d(n,"a",function(){return o});var i=function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1==e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,qq:" qq"==e.match(/\sQQ/i),app:"pekoApp"==e.match("pekoApp")}},o=function(){if(window.location.href){var e=window.location.href,n=e.match(/api.uat.z/),t=e.match(/120.79.211.243/),i=e.match(/192.168/),o=e.match(/127.0.0.1/),a=e.match(/api.uat/),r=e.match(/beta./);return n||t||i||o||a||r?"test":"live"}}},fh2C:function(e,n){}},["NHnr"]);
|
||||
//# sourceMappingURL=app.317b8625bba9c6c3aa95.js.map
|
@@ -1,2 +0,0 @@
|
||||
webpackJsonp([14],{"2KIr":function(n,e){},"4ml/":function(n,e){},NHnr:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("7+uW"),o={render:function(){var n=this.$createElement,e=this._self._c||n;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var a=t("VU/8")({name:"App"},o,!1,function(n){t("fh2C")},null,null).exports,r=t("YaEn"),c=(t("2KIr"),t("NYxO")),s=t("Z4iZ"),d=Object(s.b)().app;console.log(d,"store"),i.a.use(c.a);var u=new c.a.Store({state:{info:{ticket:"123",uid:"678"},isApp:d},mutations:{setInfo:function(n,e){n.info.ticket=e.ticket,n.info.uid=e.uid}},getters:{getInfo:function(n){return n.info},getIsApp:function(n){return n.info}},actions:{getUserInfo:function(n){return n.state}}}),l=t("pFYg"),f=t.n(l);window.info={},window.getMessage=function(n,e){info[n]=e};t("4ml/");var p=t("Fd2+"),m=(t("sVYa"),t("Lw6n")),h=t.n(m),g=t("DVXL"),w=t.n(g);!function(){var n=Object(s.b)();if(n.app)if(window.sessionStorage.clear(),n.ios){var e=document.cookie.match(/\d+/);info.uid=e[0],window.webkit.messageHandlers.getTicket.postMessage(null),window.webkit.messageHandlers.getDeviceId.postMessage(null)}else n.android&&androidJsObj&&"object"===("undefined"==typeof androidJsObj?"undefined":f()(androidJsObj))&&(info.uid=parseInt(window.androidJsObj.getUid()),info.ticket=window.androidJsObj.getTicket(),info.deviceId=window.androidJsObj.getDeviceId());else window.sessionStorage.clear(),info.uid=1016,info.ticket="test"}(),i.a.config.productionTip=!1,"test"===Object(s.a)()&&new h.a,w.a.attach(document.body),w.a.prototype.focus=function(n){var e;n.setSelectionRange&&0!==n.type.indexOf("date")&&"time"!==n.type&&"month"!==n.type?(e=n.value.length,n.focus(),n.setSelectionRange(e,e)):n.focus()},i.a.use(p.c),new i.a({el:"#app",router:r.a,store:u,components:{App:a},template:"<App/>"})},YaEn:function(n,e,t){"use strict";var i=t("7+uW"),o=t("/ocq");i.a.use(o.a);var a=new o.a({routes:[{path:"/MyIncome",name:"MyIncome",component:function(){return Promise.all([t.e(0),t.e(3)]).then(t.bind(null,"kutM"))}},{path:"/CrystalExchangeDiamond",name:"CrystalExchangeDiamond",component:function(){return Promise.all([t.e(0),t.e(8)]).then(t.bind(null,"3IW4"))}},{path:"/GoldExchangeDiamond",name:"GoldExchangeDiamond",component:function(){return Promise.all([t.e(0),t.e(12)]).then(t.bind(null,"RpvA"))}},{path:"/WithDraw",name:"WithDraw",component:function(){return Promise.all([t.e(0),t.e(4)]).then(t.bind(null,"9SZj"))}},{path:"/BindAlipay",name:"BindAlipay",component:function(){return Promise.all([t.e(0),t.e(2)]).then(t.bind(null,"b+Mi"))}},{path:"/CrystalLog",name:"CrystalLog",component:function(){return Promise.all([t.e(0),t.e(9)]).then(t.bind(null,"4tis"))}},{path:"/GoldLog",name:"GoldLog",component:function(){return Promise.all([t.e(0),t.e(11)]).then(t.bind(null,"b+89"))}},{path:"/DiamondLog",name:"DiamondLog",component:function(){return Promise.all([t.e(0),t.e(5)]).then(t.bind(null,"QAJJ"))},meta:{title:"鉆石記錄"}},{path:"/Login",name:"Login",component:function(){return Promise.all([t.e(0),t.e(6)]).then(t.bind(null,"CroZ"))},meta:{title:"登錄"}},{path:"/runningWater",name:"runningWater",component:function(){return t.e(7).then(t.bind(null,"Ok5E"))},meta:{title:"房間流水"}},{path:"/GameWithDrawDesc",name:"GameWithDrawDesc",component:function(){return Promise.all([t.e(0),t.e(10)]).then(t.bind(null,"CXh3"))},meta:{title:"領獎說明"}},{path:"/WithDrawInfoBind",name:"WithDrawInfoBind",component:function(){return Promise.all([t.e(0),t.e(1)]).then(t.bind(null,"Vj3e"))},meta:{title:"個人信息綁定"}}]});a.beforeEach(function(n,e,t){"Login"===e.name||window.sessionStorage.getItem("ticket")?t():setTimeout(function(){window.sessionStorage.setItem("uid",info.uid),window.sessionStorage.setItem("ticket",info.ticket),console.log(info,"router"),t()},50)}),e.a=a},Z4iZ:function(n,e,t){"use strict";t.d(e,"b",function(){return i}),t.d(e,"a",function(){return o});var i=function(){var n=navigator.userAgent;navigator.appVersion;return{trident:n.indexOf("Trident")>-1,presto:n.indexOf("Presto")>-1,webKit:n.indexOf("AppleWebKit")>-1,gecko:n.indexOf("Gecko")>-1&&-1==n.indexOf("KHTML"),mobile:!!n.match(/AppleWebKit.*Mobile.*/),ios:!!n.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:n.indexOf("Android")>-1||n.indexOf("Adr")>-1,iPhone:n.indexOf("iPhone")>-1,iPad:n.indexOf("iPad")>-1,webApp:-1==n.indexOf("Safari"),weixin:n.indexOf("MicroMessenger")>-1,qq:" qq"==n.match(/\sQQ/i),app:"pekoApp"==n.match("pekoApp")}},o=function(){if(window.location.href){var n=window.location.href,e=n.match(/api.uat.z/),t=n.match(/120.79.211.243/),i=n.match(/192.168/),o=n.match(/127.0.0.1/),a=n.match(/api.uat/),r=n.match(/beta./);return e||t||i||o||a||r?"test":"live"}}},fh2C:function(n,e){}},["NHnr"]);
|
||||
//# sourceMappingURL=app.fe16b0614a0b3bec5a65.js.map
|
@@ -1,2 +1,2 @@
|
||||
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={15:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"0bb5bf195583c3f83c3c",1:"65c8a24141285f752017",2:"a2b32e8c55ba73112c78",3:"9fd973fc82b8572762de",4:"767ba8e6439ee368e707",5:"8fe26955ddc42bbfff27",6:"83f6e0e15e71cd5ff43a",7:"c4fa50566fd7f80d2aaa",8:"75bdd56bd8357a66d24a",9:"d02156509389fc441584",10:"7701ab9520657412738d",11:"6980164b256ff2075e2a",12:"b287a0f88c9614b4d628"}[e]+".js";var f=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
|
||||
//# sourceMappingURL=manifest.cb699548379fceb9657f.js.map
|
||||
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={15:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"8f7f7b153b6b3a17de0e",1:"65c8a24141285f752017",2:"a2b32e8c55ba73112c78",3:"9fd973fc82b8572762de",4:"767ba8e6439ee368e707",5:"8fe26955ddc42bbfff27",6:"83f6e0e15e71cd5ff43a",7:"c4fa50566fd7f80d2aaa",8:"75bdd56bd8357a66d24a",9:"d02156509389fc441584",10:"7701ab9520657412738d",11:"6980164b256ff2075e2a",12:"b287a0f88c9614b4d628"}[e]+".js";var f=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
|
||||
//# sourceMappingURL=manifest.baee3f82beca2995c14d.js.map
|
@@ -193,7 +193,7 @@ const commonJs = {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
val = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aWNrZXRfdHlwZSI6bnVsbCwidWlkIjo5MzUwMDYsInRpY2tldF9pZCI6ImRiNTk2MDY5LTRjZTgtNDgyOC1iMjkwLWEwMmUyYmQyZmJlNSIsImV4cCI6MzYwMCwiY2xpZW50X2lkIjoiZXJiYW4tY2xpZW50In0.Te0C3OaFMaK3Y8OWyZFrPhCiMa7IG1P_r0BAGifl1fs'
|
||||
val = ''
|
||||
}
|
||||
return val
|
||||
},
|
||||
|
@@ -2,35 +2,34 @@
|
||||
import { checkVersion } from '@/utils/browser.js'
|
||||
window.info = {}
|
||||
window.getMessage = (key, value) => {
|
||||
// value = parseInt(value);
|
||||
info[key] = value;
|
||||
// value = parseInt(value);
|
||||
info[key] = value;
|
||||
|
||||
}
|
||||
export default function getId() {
|
||||
let browser = checkVersion()
|
||||
if (browser.app) {
|
||||
window.sessionStorage.clear();
|
||||
if (browser.ios) {
|
||||
var allcookies = document.cookie;
|
||||
var $uid = allcookies.match(/\d+/);
|
||||
info.uid = $uid[0];
|
||||
window.webkit.messageHandlers.getTicket.postMessage(null);
|
||||
window.webkit.messageHandlers.getDeviceId.postMessage(null);
|
||||
// console.log("ios");
|
||||
// console.log(info.ticket);
|
||||
} else if (browser.android) {
|
||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
info.uid = parseInt(window.androidJsObj.getUid());
|
||||
info.ticket = window.androidJsObj.getTicket();
|
||||
info.deviceId = window.androidJsObj.getDeviceId();
|
||||
}
|
||||
export default function getId () {
|
||||
let browser = checkVersion()
|
||||
if (browser.app) {
|
||||
window.sessionStorage.clear();
|
||||
if (browser.ios) {
|
||||
var allcookies = document.cookie;
|
||||
var $uid = allcookies.match(/\d+/);
|
||||
info.uid = $uid[0];
|
||||
window.webkit.messageHandlers.getTicket.postMessage(null);
|
||||
window.webkit.messageHandlers.getDeviceId.postMessage(null);
|
||||
// console.log("ios");
|
||||
// console.log(info.ticket);
|
||||
} else if (browser.android) {
|
||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
info.uid = parseInt(window.androidJsObj.getUid());
|
||||
info.ticket = window.androidJsObj.getTicket();
|
||||
info.deviceId = window.androidJsObj.getDeviceId();
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
info.uid = sessionStorage.getItem("uid") ? sessionStorage.getItem("uid") : '';
|
||||
info.ticket = sessionStorage.getItem("ticket") ? sessionStorage.getItem("ticket") : '';
|
||||
}
|
||||
} else {
|
||||
window.sessionStorage.clear();
|
||||
info.uid = 1016;
|
||||
info.ticket = "test"
|
||||
}
|
||||
}
|
||||
// export default function getJurisdiction() {
|
||||
|
||||
|
Reference in New Issue
Block a user