Compare commits

...

21 Commits

Author SHA1 Message Date
Dragon
5e029a3c04 修复大陆提现报错异常 2024-01-22 16:06:39 +08:00
Dragon
74715febed 修复非大陆提现异常问题 2024-01-22 15:06:14 +08:00
Dragon
59ac905999 新增提现未成年限制 2024-01-19 20:31:00 +08:00
Dragon
b0f828f4a3 新增大陆提现是否成年校验 2024-01-19 18:41:29 +08:00
Dragon
2a76f79507 更新账单 2024-01-18 12:01:24 +08:00
Dragon
312d60d55e 新增成功判断 2024-01-12 19:02:19 +08:00
Dragon
6a6665af3c 修复认证异常 2024-01-12 18:26:29 +08:00
Dragon
440dc1b73d 修复报错问题 2024-01-12 17:41:52 +08:00
Dragon
1b436d60a5 完善实名后的皂搓 2024-01-12 17:30:59 +08:00
Dragon
9ff5b68fc8 修改认证判断 2024-01-12 16:29:01 +08:00
Dragon
c7982c7484 修复实名页面报错问题 2024-01-12 16:11:38 +08:00
Dragon
185de5dc77 完善实名认证后的成功失败操作 2024-01-12 16:08:01 +08:00
Dragon
6a2ec77c04 新增实名认证刷脸失败皂搓 2024-01-12 15:39:01 +08:00
Dragon
61ca0a167a 修复bug 2024-01-12 15:17:38 +08:00
Dragon
4508621f41 修改bug 2024-01-12 14:33:15 +08:00
Dragon
b4bd899ce4 提现暂存 2024-01-12 14:33:15 +08:00
Dragon
62a9f2c4a6 修复实名显示异常问题 2024-01-12 14:33:15 +08:00
Dragon
693b19c076 清除缓存 2024-01-12 14:33:15 +08:00
Dragon
7a75f36d6b 清除缓存 2024-01-12 14:33:15 +08:00
Dragon
33bc6ebd86 完成接入人脸认证 2024-01-12 14:33:14 +08:00
Dragon
bb3cd87401 实名认证暂存 2024-01-12 14:33:14 +08:00
22 changed files with 1152 additions and 543 deletions

View File

@@ -563,6 +563,9 @@ function getInfoFromClient () {
fontConvert(true);//调用字体转换函数
// }, 1000)
function fontConvert (fontConvertBool) {
if (window.location.pathname.match(/identity/)) {
return false;
}
function SconvertT () {//简体转换繁体
document.head.innerHTML = s2t(document.head.innerHTML);
document.body.innerHTML = s2t(document.body.innerHTML);

View File

@@ -100,7 +100,7 @@
<script src="http://static.lkme.cc/linkedme.min.js"></script>
<script src="./js/utf.js"></script>
<script src="./js/swiper.min.js"></script>
<script src="./js/index.js?v=2.2"></script>
<script src="./js/index.js?v=2.3"></script>
</body>
</html>

View File

@@ -9,7 +9,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<title>賬戶資料</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/chainBank.css">
<link rel="stylesheet" href="./css/chainBank.css?v=1.2">
</head>
<body>
@@ -82,6 +82,14 @@
<p>6.首次進行提領流程時,會需要上傳您的身份證相關信息;</p>
<p>7.如有疑問請聯繫Wechat:sd245376</p>
</div>
<!-- 二次确认修改大陆银行卡信息按钮 -->
<div class="mainlandInfo">
<div class="mainlandInfo_in">
<p>确认提交账户信息?</p>
<div class="close">取消</div>
<div class="ok">确认</div>
</div>
</div>
</body>
</html>
@@ -93,4 +101,4 @@
<script src="../../common/js/route-constant.js"></script>
<script src="../../common/js/svga.min.js"></script>
<script src="./js/qiniu.min.js"></script>
<script src="./js/chainBank.js?v=1.0"></script>
<script src="./js/chainBank.js?v=1.5"></script>

View File

@@ -7,16 +7,16 @@ body {
.back {
position: fixed;
z-index: 9;
width: 0.7466666667rem;
height: 0.7466666667rem;
left: 0.5333333333rem;
width: 0.74667rem;
height: 0.74667rem;
left: 0.53333rem;
top: 0.2rem;
}
h3 {
width: 100%;
margin-top: 0.5333333333rem;
margin-bottom: 0.4266666667rem;
margin-top: 0.53333rem;
margin-bottom: 0.42667rem;
text-align: center;
color: #1F1B4F;
font-size: 0.48rem;
@@ -28,123 +28,136 @@ input {
border: none;
outline: none;
box-sizing: border-box;
font-size: 0.3733333333rem;
font-size: 0.37333rem;
}
input::placeholder {
font-size: 0.3733333333rem;
font-size: 0.37333rem;
color: #8A8CAB;
}
.box1 {
width: 9.1466666667rem;
height: 2.7733333333rem;
width: 9.14667rem;
height: 2.77333rem;
background: #fff;
border-radius: 0.2666666667rem;
border-radius: 0.26667rem;
box-sizing: border-box;
padding: 0 0.5333333333rem;
padding: 0 0.53333rem;
margin: 0 auto 0.32rem;
overflow: hidden;
}
.box1 div {
width: 100%;
height: 1.3733333333rem;
line-height: 1.3733333333rem;
border-bottom: 0.0133333333rem solid #EBEEF5;
height: 1.37333rem;
line-height: 1.37333rem;
border-bottom: 0.01333rem solid #EBEEF5;
display: flex;
}
.box1 div span {
flex: 3;
height: 100%;
font-size: 0.3733333333rem;
font-size: 0.37333rem;
color: #1F1B4F;
}
.box1 div input {
flex: 7;
height: 100%;
text-align: right;
font-size: 0.3733333333rem;
font-size: 0.37333rem;
color: #1F1B4F;
}
.box2 {
width: 9.1466666667rem;
height: 5.5466666667rem;
width: 9.14667rem;
height: 5.54667rem;
background: #fff;
border-radius: 0.2666666667rem;
border-radius: 0.26667rem;
box-sizing: border-box;
padding: 0 0.5333333333rem;
padding: 0 0.53333rem;
margin: 0 auto 0.32rem;
overflow: hidden;
}
.box2 div {
width: 100%;
height: 1.3733333333rem;
line-height: 1.3733333333rem;
border-bottom: 0.0133333333rem solid #EBEEF5;
height: 1.37333rem;
line-height: 1.37333rem;
border-bottom: 0.01333rem solid #EBEEF5;
display: flex;
}
.box2 div span {
flex: 3;
height: 100%;
font-size: 0.3733333333rem;
font-size: 0.37333rem;
color: #1F1B4F;
}
.box2 div input {
flex: 7;
height: 100%;
text-align: right;
font-size: 0.3733333333rem;
font-size: 0.37333rem;
color: #1F1B4F;
}
.box3 {
width: 9.1466666667rem;
height: 5.5466666667rem;
width: 9.14667rem;
height: 5.54667rem;
background: #fff;
border-radius: 0.2666666667rem;
border-radius: 0.26667rem;
box-sizing: border-box;
padding: 0 0.5333333333rem;
margin: 0 auto 0.5333333333rem;
padding: 0 0.53333rem;
margin: 0 auto 0.53333rem;
overflow: hidden;
}
.box3 p {
font-size: 0.3733333333rem;
font-size: 0.37333rem;
color: #1F1B4F;
margin-top: 0.4266666667rem;
margin-top: 0.42667rem;
}
.box3 .idBox {
width: 100%;
display: flex;
justify-content: space-between;
margin-top: 0.4266666667rem;
margin-top: 0.42667rem;
}
.box3 .idBox .z,
.box3 .idBox .f {
width: 3.84rem;
height: 3.1466666667rem;
height: 3.14667rem;
background: #F3F5FA;
border-radius: 0.2666666667rem;
border-radius: 0.26667rem;
position: relative;
}
.box3 .idBox .z .documents,
.box3 .idBox .f .documents {
position: absolute;
width: 3.0933333333rem;
width: 3.09333rem;
height: 1.92rem;
left: 50%;
transform: translateX(-50%);
top: 0.3733333333rem;
top: 0.37333rem;
}
.box3 .idBox .z .icon_camera,
.box3 .idBox .f .icon_camera {
position: absolute;
width: 1.0666666667rem;
height: 1.0666666667rem;
width: 1.06667rem;
height: 1.06667rem;
left: 50%;
top: 0.8rem;
transform: translateX(-50%);
z-index: 2;
}
.box3 .idBox .z span,
.box3 .idBox .f span {
position: absolute;
@@ -156,14 +169,15 @@ input::placeholder {
width: 100%;
text-align: center;
}
.box3 .idBox .z .upload,
.box3 .idBox .f .upload {
position: absolute;
width: 3.0933333333rem;
width: 3.09333rem;
height: 1.92rem;
left: 50%;
transform: translateX(-50%);
top: 0.3733333333rem;
top: 0.37333rem;
z-index: 2;
}
@@ -174,7 +188,7 @@ input::placeholder {
border-radius: 1.28rem;
margin: 0 auto 0.64rem;
text-align: center;
font-size: 0.4266666667rem;
font-size: 0.42667rem;
color: #FFFFFF;
background: linear-gradient(90deg, #EEDCFF 0%, #DEE4FF 50%, #CCF8F9 100%);
}
@@ -185,13 +199,76 @@ input::placeholder {
.rule {
width: 8.72rem;
margin: 0 auto 0.6666666667rem;
margin: 0 auto 0.66667rem;
color: #8A8CAB;
font-size: 0.3733333333rem;
font-size: 0.37333rem;
}
.rule p {
margin-bottom: 0.1333333333rem;
margin-bottom: 0.13333rem;
line-height: 0.45rem;
}
/*# sourceMappingURL=chainBank.css.map */
.mainlandInfo {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: 99;
background: rgba(0, 0, 0, 0.6);
display: none;
}
.mainlandInfo .mainlandInfo_in {
width: 8.50667rem;
height: 4.96rem;
border-radius: 0.53333rem;
background: #fff;
box-sizing: border-box;
padding-top: 1.6rem;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.mainlandInfo .mainlandInfo_in p {
width: 100%;
text-align: center;
color: #1F1B4F;
font-size: 0.37333rem;
margin-bottom: 0.32rem;
}
.mainlandInfo .mainlandInfo_in p b {
font-weight: bold;
}
.mainlandInfo .mainlandInfo_in p span {
color: #9168FA;
font-size: 0.42667rem;
}
.mainlandInfo .mainlandInfo_in .close,
.mainlandInfo .mainlandInfo_in .ok {
position: absolute;
width: 3.30667rem;
height: 1.17333rem;
line-height: 1.17333rem;
border-radius: 1.17333rem;
color: #fff;
font-size: 0.42667rem;
top: 3.14667rem;
text-align: center;
}
.mainlandInfo .mainlandInfo_in .close {
background: #E6E6F0;
left: 0.74667rem;
}
.mainlandInfo .mainlandInfo_in .ok {
left: 4.45333rem;
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
}

View File

@@ -1,5 +1,5 @@
@function px2rem($px, $rem:75) {
@return $px / $rem+rem;
@function px2rem($px) {
@return $px / 75+rem;
}
html,
@@ -11,20 +11,20 @@ body {
.back {
position: fixed;
z-index: 9;
width: px2rem(56, );
height: px2rem(56, );
left: px2rem(40, );
width: px2rem(56);
height: px2rem(56);
left: px2rem(40);
top: 0.2rem;
// display: none;
}
h3 {
width: 100%;
margin-top: px2rem(40, );
margin-bottom: px2rem(32, );
margin-top: px2rem(40);
margin-bottom: px2rem(32);
text-align: center;
color: #1F1B4F;
font-size: px2rem(36, );
font-size: px2rem(36);
font-weight: bold;
}
@@ -33,35 +33,35 @@ input {
border: none;
outline: none;
box-sizing: border-box;
font-size: px2rem(28, );
font-size: px2rem(28);
&::placeholder {
font-size: px2rem(28, );
font-size: px2rem(28);
color: #8A8CAB;
}
}
.box1 {
width: px2rem(686, );
height: px2rem(208, );
width: px2rem(686);
height: px2rem(208);
background: #fff;
border-radius: px2rem(20, );
border-radius: px2rem(20);
box-sizing: border-box;
padding: 0 px2rem(40, );
margin: 0 auto px2rem(24, );
padding: 0 px2rem(40);
margin: 0 auto px2rem(24);
overflow: hidden;
div {
width: 100%;
height: px2rem(103, );
line-height: px2rem(103, );
border-bottom: px2rem(1, ) solid #EBEEF5;
height: px2rem(103);
line-height: px2rem(103);
border-bottom: px2rem(1) solid #EBEEF5;
display: flex;
span {
flex: 3;
height: 100%;
font-size: px2rem(28, );
font-size: px2rem(28);
color: #1F1B4F;
}
@@ -69,33 +69,33 @@ input {
flex: 7;
height: 100%;
text-align: right;
font-size: px2rem(28, );
font-size: px2rem(28);
color: #1F1B4F;
}
}
}
.box2 {
width: px2rem(686, );
height: px2rem(416, );
width: px2rem(686);
height: px2rem(416);
background: #fff;
border-radius: px2rem(20, );
border-radius: px2rem(20);
box-sizing: border-box;
padding: 0 px2rem(40, );
margin: 0 auto px2rem(24, );
padding: 0 px2rem(40);
margin: 0 auto px2rem(24);
overflow: hidden;
div {
width: 100%;
height: px2rem(103, );
line-height: px2rem(103, );
border-bottom: px2rem(1, ) solid #EBEEF5;
height: px2rem(103);
line-height: px2rem(103);
border-bottom: px2rem(1) solid #EBEEF5;
display: flex;
span {
flex: 3;
height: 100%;
font-size: px2rem(28, );
font-size: px2rem(28);
color: #1F1B4F;
}
@@ -103,57 +103,57 @@ input {
flex: 7;
height: 100%;
text-align: right;
font-size: px2rem(28, );
font-size: px2rem(28);
color: #1F1B4F;
}
}
}
.box3 {
width: px2rem(686, );
height: px2rem(416, );
width: px2rem(686);
height: px2rem(416);
background: #fff;
border-radius: px2rem(20, );
border-radius: px2rem(20);
box-sizing: border-box;
padding: 0 px2rem(40, );
margin: 0 auto px2rem(40, );
padding: 0 px2rem(40);
margin: 0 auto px2rem(40);
overflow: hidden;
p {
font-size: px2rem(28, );
font-size: px2rem(28);
color: #1F1B4F;
margin-top: px2rem(32, );
margin-top: px2rem(32);
}
.idBox {
width: 100%;
display: flex;
justify-content: space-between;
margin-top: px2rem(32, );
margin-top: px2rem(32);
.z,
.f {
width: px2rem(288, );
height: px2rem(236, );
width: px2rem(288);
height: px2rem(236);
background: #F3F5FA;
border-radius: px2rem(20, );
border-radius: px2rem(20);
position: relative;
.documents {
position: absolute;
width: px2rem(232, );
height: px2rem(144, );
width: px2rem(232);
height: px2rem(144);
left: 50%;
transform: translateX(-50%);
top: px2rem(28, );
top: px2rem(28);
}
.icon_camera {
position: absolute;
width: px2rem(80, );
height: px2rem(80, );
width: px2rem(80);
height: px2rem(80);
left: 50%;
top: px2rem(60, );
top: px2rem(60);
transform: translateX(-50%);
z-index: 2;
}
@@ -161,9 +161,9 @@ input {
span {
position: absolute;
color: #8A8CAB;
font-size: px2rem(24, );
font-size: px2rem(24);
left: 50%;
top: px2rem(180, );
top: px2rem(180);
transform: translateX(-50%);
width: 100%;
text-align: center;
@@ -171,11 +171,11 @@ input {
.upload {
position: absolute;
width: px2rem(232, );
height: px2rem(144, );
width: px2rem(232);
height: px2rem(144);
left: 50%;
transform: translateX(-50%);
top: px2rem(28, );
top: px2rem(28);
z-index: 2;
}
}
@@ -183,28 +183,93 @@ input {
}
.but {
width: px2rem(606, );
height: px2rem(96, );
line-height: px2rem(96, );
border-radius: px2rem(96, );
margin: 0 auto px2rem(48, );
width: px2rem(606);
height: px2rem(96);
line-height: px2rem(96);
border-radius: px2rem(96);
margin: 0 auto px2rem(48);
text-align: center;
font-size: px2rem(32, );
font-size: px2rem(32);
color: #FFFFFF;
background: linear-gradient(90deg, #EEDCFF 0%, #DEE4FF 50%, #CCF8F9 100%);
}
.active {
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
}
.rule {
width: px2rem(654, );
margin: 0 auto px2rem(50, );
width: px2rem(654);
margin: 0 auto px2rem(50);
color: #8A8CAB;
font-size: px2rem(28, );
font-size: px2rem(28);
p {
margin-bottom: px2rem(10, );
margin-bottom: px2rem(10);
line-height: 0.45rem;
}
}
.mainlandInfo {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: 99;
background: rgba(0, 0, 0, .6);
display: none;
.mainlandInfo_in {
width: px2rem(638);
height: px2rem(372);
border-radius: px2rem(40);
background: #fff;
box-sizing: border-box;
padding-top: 1.6rem;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
p {
width: 100%;
text-align: center;
color: #1F1B4F;
font-size: px2rem(28);
margin-bottom: px2rem(24);
b {
font-weight: bold;
}
span {
color: #9168FA;
font-size: px2rem(32);
}
}
.close,
.ok {
position: absolute;
width: px2rem(248);
height: px2rem(88);
line-height: px2rem(88);
border-radius: px2rem(88);
color: #fff;
font-size: px2rem(32);
top: px2rem(236);
text-align: center;
}
.close {
background: #E6E6F0;
left: px2rem(56);
}
.ok {
left: px2rem(334);
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
}
}
}

View File

@@ -158,6 +158,56 @@ body {
font-weight: bold;
}
.authentication {
width: 9.14667rem;
height: 1.6rem;
line-height: 1.6rem;
background: #fff;
border-radius: 0.26667rem;
margin: 0 auto 0.42667rem;
position: relative;
}
.authentication .icon_authentication {
position: absolute;
left: 0.53333rem;
top: 0.53333rem;
width: 0.53333rem;
height: 0.53333rem;
}
.authentication .arrow_right {
position: absolute;
right: 0.53333rem;
top: 0.53333rem;
width: 0.53333rem;
height: 0.53333rem;
}
.authentication div {
height: 100%;
color: #1F1B4F;
font-size: 0.42667rem;
font-weight: bold;
position: absolute;
top: 0;
left: 1.22667rem;
}
.authentication span {
height: 100%;
color: #B3B3C3;
font-size: 0.32rem;
position: absolute;
top: 0;
right: 1.06667rem;
}
.authentication .active {
color: #1F1B4F;
font-weight: bold;
}
.withdrawal {
width: 9.14667rem;
margin: 0 auto 0.53333rem;
@@ -296,6 +346,17 @@ body {
height: 1.38667rem;
line-height: 1.38667rem;
border-bottom: 0.01333rem solid #EBEEF5;
position: relative;
}
.accountPub .accountPub_in ul li i {
font-style: normal;
color: #B3B3C3;
font-size: 0.32rem;
position: absolute;
right: 0.64rem;
top: 50%;
transform: translateY(-50%);
}
.accountPub .accountPub_in ul .active {
@@ -623,3 +684,66 @@ body {
right: 0.74667rem;
bottom: 0.64rem;
}
.mainlandInfo {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: 99;
background: rgba(0, 0, 0, 0.6);
display: none;
}
.mainlandInfo .mainlandInfo_in {
width: 8.50667rem;
height: 4.96rem;
border-radius: 0.53333rem;
background: #fff;
box-sizing: border-box;
padding-top: 1.12rem;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.mainlandInfo .mainlandInfo_in p {
width: 100%;
text-align: center;
color: #1F1B4F;
font-size: 0.37333rem;
margin-bottom: 0.32rem;
}
.mainlandInfo .mainlandInfo_in p b {
font-weight: bold;
}
.mainlandInfo .mainlandInfo_in p span {
color: #9168FA;
font-size: 0.42667rem;
}
.mainlandInfo .mainlandInfo_in .close, .mainlandInfo .mainlandInfo_in .ok {
position: absolute;
width: 3.30667rem;
height: 1.17333rem;
line-height: 1.17333rem;
border-radius: 1.17333rem;
color: #fff;
font-size: 0.42667rem;
top: 3.14667rem;
text-align: center;
}
.mainlandInfo .mainlandInfo_in .close {
background: #E6E6F0;
left: 0.74667rem;
}
.mainlandInfo .mainlandInfo_in .ok {
left: 4.45333rem;
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
}

View File

@@ -165,6 +165,56 @@ body {
}
}
.authentication {
width: px2rem(686);
height: px2rem(120);
line-height: px2rem(120);
background: #fff;
border-radius: px2rem(20);
margin: 0 auto px2rem(32);
position: relative;
.icon_authentication {
position: absolute;
left: px2rem(40);
top: px2rem(40);
width: px2rem(40);
height: px2rem(40);
}
.arrow_right {
position: absolute;
right: px2rem(40);
top: px2rem(40);
width: px2rem(40);
height: px2rem(40);
}
div {
height: 100%;
color: #1F1B4F;
font-size: px2rem(32);
font-weight: bold;
position: absolute;
top: 0;
left: px2rem(92);
}
span {
height: 100%;
color: #B3B3C3;
font-size: px2rem(24);
position: absolute;
top: 0;
right: px2rem(80);
}
.active {
color: #1F1B4F;
font-weight: bold;
}
}
.withdrawal {
width: px2rem(686);
// height: px2rem(572);
@@ -302,6 +352,17 @@ body {
height: px2rem(104);
line-height: px2rem(104);
border-bottom: px2rem(1) solid #EBEEF5;
position: relative;
i {
font-style: normal;
color: #B3B3C3;
font-size: px2rem(24);
position: absolute;
right: px2rem(48);
top: 50%;
transform: translateY(-50%);
}
}
.active {
@@ -632,3 +693,63 @@ body {
}
}
}
.mainlandInfo {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: 99;
background: rgba(0, 0, 0, .6);
display: none;
.mainlandInfo_in {
width: px2rem(638);
height: px2rem(372);
border-radius: px2rem(40);
background: #fff;
box-sizing: border-box;
padding-top: px2rem(84);
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
p {
width: 100%;
text-align: center;
color: #1F1B4F;
font-size: px2rem(28);
margin-bottom: px2rem(24);
b {
font-weight: bold;
}
span {
color: #9168FA;
font-size: px2rem(32);
}
}
.close,.ok{
position: absolute;
width: px2rem(248);
height: px2rem(88);
line-height: px2rem(88);
border-radius: px2rem(88);
color: #fff;
font-size: px2rem(32);
top: px2rem(236);
text-align: center;
}
.close{
background: #E6E6F0;
left: px2rem(56);
}
.ok{
left: px2rem(334);
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 634 B

View File

@@ -27,7 +27,7 @@ const toastMsg = (content = '操作完成', time = 2) => {
skin: 'msg'
})
}
var photoBool = false;
$(function () {
setTimeout(function () {
getInfoFromClient()
@@ -35,6 +35,20 @@ $(function () {
$('.back').hide();
}
setTimeout(function () {
var info = JSON.parse(url.userInfo);
if (info) {
console.log(info);
$('.box1 div .name').val(info.name);
$('.box1 div .card').val(info.idCardNo);
$('.box2 div .bankCard').val(info.accountNo);
$('.box2 div .phone').val(info.contact);
$('.box2 div .alipay').val(info.thirdAccountNo);
$('.box2 div .address').val(info.address);
$('.box3 .idBox .z .documents').attr('src', info.frontPhoto)
$('.box3 .idBox .f .documents').attr('src', info.backPhoto)
$('.but').addClass('active')
photoBool = true;
}
}, 100)
})
})
@@ -101,16 +115,16 @@ function getUploadToken (type) {
})
}
// 确认绑定按钮
$('.but').click(function () {
if (listenFun()) {
var filesList = document.querySelector('#frontImageUpload').files;
var backImageUpload = document.querySelector('#backImageUpload').files;
if (filesList.length == 0 || backImageUpload.length == 0) {
toastMsg('請上傳身份證照片')
return;
}
}
})
// $('.but').click(function () {
// if (listenFun()) {
// var filesList = document.querySelector('#frontImageUpload').files;
// var backImageUpload = document.querySelector('#backImageUpload').files;
// if (filesList.length == 0 || backImageUpload.length == 0) {
// toastMsg('請上傳身份證照片')
// return;
// }
// }
// })
//监听是否完善信息
function listenFun () {
var num1 = $(".box1 div .name").val();
@@ -133,6 +147,7 @@ $(".box1 div .name,.box1 div .card,.box2 div .bankCard,.box2 div .phone,.box2 di
//
// 保存绑定
function withdrawUserAccount (name, idCardNo, accountNo, contact, thirdAccountNo, address, frontPhoto, backPhoto) {
if (url.modifyId == undefined) {
var obj = {
uid: pubInfo.uid,
accountType: url.accountType,
@@ -145,6 +160,21 @@ function withdrawUserAccount (name, idCardNo, accountNo, contact, thirdAccountNo
frontPhoto,
backPhoto,
};
} else {
var obj = {
id: url.modifyId,
uid: pubInfo.uid,
accountType: url.accountType,
name,
idCardNo,
accountNo,
contact,
thirdAccountNo,
address,
frontPhoto,
backPhoto,
};
}
showLoading()
networkRequest({
type: 'POST',
@@ -174,10 +204,22 @@ $('.but').click(function () {
var frontImageUpload = document.querySelector('#frontImageUpload').files;
var backImageUpload = document.querySelector('#backImageUpload').files;
if (listenFun()) {
if (frontImageUpload.length == 0 || backImageUpload.length == 0) {
if (photoBool) {
$('.mainlandInfo').show();
return;
} else if (frontImageUpload.length == 0 || backImageUpload.length == 0) {
toastMsg('請上傳身份證');
return;
}
$('.mainlandInfo').show();
}
})
// 二次取消
$('.mainlandInfo .mainlandInfo_in .close').click(function () {
$('.mainlandInfo').hide();
})
// 二次确认
$('.mainlandInfo .mainlandInfo_in .ok').click(function () {
withdrawUserAccount($('.box1 div .name').val(),
$('.box1 div .card').val(),
$('.box2 div .bankCard').val(),
@@ -185,6 +227,7 @@ $('.but').click(function () {
$('.box2 div .alipay').val(),
$('.box2 div .address').val(),
$('.box3 .idBox .z .documents').attr('src'),
$('.box3 .idBox .f .documents').attr('src'));
}
$('.box3 .idBox .f .documents').attr('src')
);
$('.mainlandInfo').hide();
})

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -31,6 +31,10 @@ var minValue;//最小提領金币数量
var golds;//当前剩余金币
var weekLimitCount;//本周剩余次数
var weekMaxValue;//本周剩余最大金额
var realName = false;//默认大陆未实名
var modifyId = null;
var userInfo = {}//账户信息暂存
var idCard;//获取大陆身份证号
$(function () {
setTimeout(function () {
getInfoFromClient()
@@ -44,6 +48,7 @@ $(function () {
})
// 提領配置接口接口
function getConfig () {
$('.withdrawal p').remove();
showLoading()
networkRequest({
type: 'GET',
@@ -130,6 +135,9 @@ function getUser () {
})
}
// 提領賬戶管理接口
var isPrevBool = false;
var isRealCertifyBool = 1;
var updateNums = 0;
function getAccounts () {
showLoading()
networkRequest({
@@ -139,23 +147,85 @@ function getAccounts () {
success (res) {
if (res.code === 200) {
var str = '';
res.data.forEach(res => {
res.data.forEach((res) => {
str += `
<li accountType=${res.accountType} isBind=${res.isBind}>${res.accountName}${res.isBind == 0 ? "(未綁定)" : ''}</li>
<li backPhoto=${res.backPhoto} frontPhoto=${res.frontPhoto} address=${res.address} thirdAccountNo=${res.thirdAccountNo} contact=${res.contact} accountNo=${res.accountNo} idCardNo=${res.idCardNo} name=${res.name} id=${res.id} accountTypesText=${res.accountName} accountType=${res.accountType} isBind=${res.isBind}>${res.accountName}${res.isBind == 0 ? "(未綁定)" : ''}<i>${res.accountType == 2 ? '修改&nbsp;&nbsp;>' : ''}</i></li>
`
// if (res.isPrev == 1) {
// isPrevBool = true;
// accountType = res.accountType
// $('.account span').text(res.accountName);
// $('.account span').addClass('active');
// } else {
// if (res.isBind == 1 && isPrevBool == false) {
// accountType = res.accountType
// $('.account span').text(res.accountName);
// $('.account span').addClass('active');
// }
// }
// if (res.isPrev == 1) {
// isPrevBool = true;
// accountType = res.accountType
// $('.account span').text(res.accountName);
// $('.account span').addClass('active');
// }
if (res.isPrev == 1) {
accountType = res.accountType
$('.account span').text(res.accountName);
$('.account span').addClass('active');
} else {
if (res.isBind == 1) {
isPrevBool = true;
accountType = res.accountType
$('.account span').text(res.accountName);
$('.account span').addClass('active');
}
if (res.isBind == 1 && isPrevBool == false) {
accountType = res.accountType
$('.account span').text(res.accountName);
$('.account span').addClass('active');
}
if (res.accountType == 2) {
idCard = res.idCardNo;
updateNums = res.updateNum;
isRealCertifyBool = res.isRealCertify;
// 判断是否认证
if (isRealCertifyBool == 0) {
$('.withdrawal input').attr('placeholder', '請先進行實名認證');
$('.authentication span').text('未實名');
realName = false;
} else {
realName = true;
$('.withdrawal input').attr('placeholder', '請輸入提領金幣數額');
$('.authentication span').text('已實名');
}
} else {
$('.withdrawal input').attr('placeholder', '請輸入提領金幣數額');
}
if (accountType == 2) {
$('.authentication').show();
} else {
$('.authentication').hide();
}
});
$('.accountPub .accountPub_in ul').append(str);
// 判断是否展示修改
if (updateNums >= 1) {
$('.mainlandInfo .mainlandInfo_in p span').text(updateNums + '次');
$('.accountPub .accountPub_in ul li i').show();
} else {
$('.accountPub .accountPub_in ul li i').hide();
}
// 修改大陆银行卡按钮
$('.accountPub .accountPub_in ul li i').click(function () {
modifyId = $(this).parents('li').attr('id');
userInfo.name = $(this).parents('li').attr('name');
userInfo.idCardNo = $(this).parents('li').attr('idCardNo');
userInfo.accountNo = $(this).parents('li').attr('accountNo');
userInfo.contact = $(this).parents('li').attr('contact');
userInfo.thirdAccountNo = $(this).parents('li').attr('thirdAccountNo');
userInfo.address = $(this).parents('li').attr('address');
userInfo.frontPhoto = $(this).parents('li').attr('frontPhoto');
userInfo.backPhoto = $(this).parents('li').attr('backPhoto');
$('.mainlandInfo').show();
return false;
})
// 跳轉綁定賬戶或選擇賬戶
$('.accountPub .accountPub_in ul li').click(function () {
var isBind = $(this).attr('isBind');//是否綁定 0 否 1 是
@@ -171,7 +241,7 @@ function getAccounts () {
$('.switch .pub_in p').text('是否切換到新加坡銀行提領 ');
}
$('.switch .pub_in .ok').attr('accounttype', accountTypes);
$('.switch .pub_in .ok').attr('text', $(this).text());
$('.switch .pub_in .ok').attr('text', $(this).attr('accountTypesText'));
$('.switch').show();
} else {
var accountTypes = $(this).attr('accounttype');//1 其它賬戶 2 中國大陸銀聯 4 馬來西亞銀行 8 新加坡銀行
@@ -196,8 +266,15 @@ function getAccounts () {
} else if (accountTypes == 8) {
window.location.href = `./singapore.html?accountType=${accountTypes}`;
}
return false;
})
}
if (accountTypes == 2) {
$('.authentication').show();
} else {
$('.authentication').hide();
}
console.log(accountTypes);
return false;
})
if (golds < minValue) {
@@ -231,6 +308,21 @@ $('.switch .pub_in .ok').click(function () {
$('.accountPub').hide();
$('.switch').hide();
calculate();
if (accountType == 2) {
// 判断是否认证
if (isRealCertifyBool == 0) {
$('.withdrawal input').attr('placeholder', '請先進行實名認證');
$('.authentication span').text('未實名');
realName = false;
} else {
realName = true;
$('.withdrawal input').attr('placeholder', '請輸入提領金幣數額');
$('.authentication span').text('已實名');
}
} else {
$('.withdrawal input').attr('placeholder', '請輸入提領金幣數額');
}
})
// 确定输入提領弹窗按钮
$('.goldPub .goldPub_in .but').click(function () {
@@ -263,7 +355,7 @@ function calculate () {
if (res.code === 200) {
$('.withdrawal .numBox b').addClass('active');
$('.withdrawal input').val(num);
$('.withdrawal .numBox b').text(`${res.data.currency} ${res.data.currencyAmount}`);
$('.withdrawal .numBox b').text(`${res.data.currency == undefined ? '' : res.data.currency} ${res.data.currencyAmount}`);
$('.goldPub').hide();
$('.goldPub .goldPub_in input').val('');
$('.butBig').addClass('butBigActive');
@@ -287,6 +379,8 @@ $('.withDrawalPub').click(function () {
return false;
})
// 确定提領按钮
let birthday;
let nowTime;
$('.butBig').click(function () {
var num = $('.withdrawal input').val();
var status = $(this).attr("click");
@@ -297,6 +391,21 @@ $('.butBig').click(function () {
toastMsg('超出本周最大提领次数')
return
}
// return
if (accountType == 2 && isRealCertifyBool == 0) {
toastMsg('請先進行實名認證')
return
}
// console.log(isAdult(idCard));
if (accountType == 2) {
birthday = idCard.substring(6, 14);
nowTime = moment(new Date()).format('YYYY-MM-DD');
birthday = moment(birthday).format('YYYY-MM-DD');
}
if (accountType == 2 && (moment(nowTime).isBefore(moment(birthday).add(18, 'years')))) {//
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();
@@ -331,6 +440,15 @@ $('.withDrawalPub .withDrawalPub_in .but').click(function () {
// 点击输入提領数额按钮
$('.withdrawal .withdrawalBox').click(function () {
var status = $(this).attr('click');
if (accountType == null || accountType == undefined) {
toastMsg('請先選擇提領賬戶');
return false;
}
console.log(realName);
if (realName == false && accountType == 2) {
toastMsg('請先進行實名認證');
return false;
}
if (status == 1) {
$('.goldPub .goldPub_in .num').text(golds);
$('.goldPub').show();
@@ -364,15 +482,29 @@ $('.back').click(function () {
$('.income .rule').click(function () {
window.location.href = './rule.html';
})
// 确认修改大陆信息按钮
$('.mainlandInfo .mainlandInfo_in .ok').click(function () {
window.location.href = `./chainBank.html?accountType=${2}&modifyId=${modifyId}&userInfo=${JSON.stringify(userInfo)}`;
})
// 取消修改大陆信息按钮
$('.mainlandInfo .mainlandInfo_in .close').click(function () {
$('.mainlandInfo').hide();
})
// 跳转实名认证按钮
$('.authentication').click(function () {
if (realName == false) {
window.location.href = `../identity/new.html`
}
})
//返回页面 重新请求接口
var hiddenProperty = 'hidden' in document ? 'hidden' :
'webkitHidden' in document ? 'webkitHidden' :
'mozHidden' in document ? 'mozHidden' : null;
// var hiddenProperty = 'hidden' in document ? 'hidden' :
// 'webkitHidden' in document ? 'webkitHidden' :
// 'mozHidden' in document ? 'mozHidden' : null;
var visibilityChangeEvent = hiddenProperty.replace(/hidden/i, 'visibilitychange');
var onVisibilityChange = function () {
if (!document[hiddenProperty]) {
location.reload()
}
}
document.addEventListener(visibilityChangeEvent, onVisibilityChange);
// var visibilityChangeEvent = hiddenProperty.replace(/hidden/i, 'visibilitychange');
// var onVisibilityChange = function () {
// if (!document[hiddenProperty]) {
// location.reload()
// }
// }
// document.addEventListener(visibilityChangeEvent, onVisibilityChange);

View File

@@ -9,7 +9,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<title>收益提領</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/withdrawal.css?v=1.0">
<link rel="stylesheet" href="./css/withdrawal.css?v=1.1">
</head>
<body>
@@ -37,6 +37,13 @@
<div>提领账户</div>
<span>未绑定</span>
</div>
<!-- 实名认证 -->
<div class="authentication">
<img src="./images/withdrawal/icon_authentication.png" alt="" class="icon_authentication">
<img src="./images/withdrawal/arrow_right.png" alt="" class="arrow_right">
<div>實名認證</div>
<span>未實名</span>
</div>
<!-- 提领提交 -->
<div class="withdrawal">
<img src="./images/withdrawal/icon_mone.png" alt="" class="gold">
@@ -100,6 +107,15 @@
<div class="ok">确认</div>
</div>
</div>
<!-- 二次确认修改大陆银行卡信息按钮 -->
<div class="mainlandInfo">
<div class="mainlandInfo_in">
<p>是否確認修改 <b>中國大陸銀聯</b> 的提領賬戶?</p>
<p>提领账户只可修改 <span>1次</span>,请谨慎操作</p>
<div class="close">取消</div>
<div class="ok">确认</div>
</div>
</div>
</body>
</html>
@@ -110,4 +126,5 @@
<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/withdrawal.js?v=1.5"></script>
<script src="./js/moment.js"></script>
<script src="./js/withdrawal.js?v=2.2"></script>

File diff suppressed because one or more lines are too long

View File

@@ -2,16 +2,46 @@
* Created by raymondjack on 2018/12/21.
*/
var info = {};
// var pubInfo = {};
var $toast = $('.toast');
var $mask = $('.status-mask');
var lockBol = false;
let urlPrefix = getUrlPrefix()
var goToPage = null;
// 封装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 () {
getInfoFromClient()
var browser = checkVersion();
var api = getUrlPrefix();
var timer = null;
var env = EnvCheck();
var urlObj = getQueryString();
console.log(urlObj.uid);
if (urlObj.uid) {
sessionStorage.setItem("uid", urlObj.uid);
sessionStorage.setItem("ticket", urlObj.ticket);
}
if (env == 'test') {
var vConsole = new VConsole();
}
@@ -38,80 +68,101 @@ $(function () {
},
getDeviceMsg: function () {
if (browser.app) {
if (browser.android) {
info.uid = parseInt(window.androidJsObj.getUid());
info.deviceId = window.androidJsObj.getDeviceId();
info.ticket = window.androidJsObj.getTicket();
} else {
info.uid = tools.cookieUtils.get("uid");
if (!info.uid) {
window.webkit.messageHandlers.getUid.postMessage(null);
}
window.webkit.messageHandlers.getDeviceId.postMessage(null);
window.webkit.messageHandlers.getTicket.postMessage(null);
}
} else {
info.uid = 922473;
info.deviceId = "204aa0c983384f1e84a3625b4f04bac1";
}
// if (browser.app) {
// if (browser.android) {
// pubInfo.uid = parseInt(window.androidJsObj.getUid());
// pubInfo.deviceId = window.androidJsObj.getDeviceId();
// pubInfo.ticket = window.androidJsObj.getTicket();
// } else {
// pubInfo.uid = tools.cookieUtils.get("uid");
// if (!pubInfo.uid) {
// window.webkit.messageHandlers.getUid.postMessage(null);
// }
// window.webkit.messageHandlers.getDeviceId.postMessage(null);
// window.webkit.messageHandlers.getTicket.postMessage(null);
// }
// } else {
// pubInfo.uid = 922473;
// pubInfo.deviceId = "204aa0c983384f1e84a3625b4f04bac1";
// }
// setTimeout(function () {
// $('.deviceId').val(info.deviceId);
// $('.deviceId').val(pubInfo.deviceId);
// },200)
},
getData: function () {
console.log(urlObj, 'urlObj')
if (urlObj) {
info.auth = urlObj.auth
pubInfo.auth = urlObj.auth
} else {
info.auth = ''
pubInfo.auth = ''
}
console.log(info.auth, 'info.auth')
$.ajax({
type: "get",
url: api + "/certification/hasCertify",
headers: {
"pub_ticket": info.ticket
},
console.log(pubInfo.auth, 'pubInfo.auth')
networkRequest({
type: 'get',
url: urlPrefix + '/certification/hasCertify',
data: {
uid: info.uid,
auth: info.auth,
ticket: info.ticket,
uid: pubInfo.uid,
auth: pubInfo.auth,
ticket: pubInfo.ticket,
},
success: function (res) {
if (res.code == 200) {
var checkBol = res.data;
var $mask = $('.status-mask');
if (checkBol.authResult) {
console.log('已短信验证!')
} else if (checkBol.hasCertify && !checkBol.canCertify) {
console.log('已实名且没有机会了')
$mask.addClass("have-identity");
$mask.find(".text").html("您已通过实名认证");
$mask.find(".tips").html("系统已成功审核您的实名认证");
$mask.show();
} else if (checkBol.hasCertify && checkBol.canCertify) {
console.log('已实名还有一次机会')
// var $mask = $('.status-mask');
var bool = !(checkBol.authResult == null || checkBol.authResult == undefined);
function successFun () {
hideLoading(layerIndex)
goToPage = true;
$mask.addClass("have-identity");
$mask.find(".text").html("您已通过实名认证");
$mask.find(".tips").html("系统已成功审核您的实名认证");
$mask.find(".goto-change").removeClass('hide');
$mask.show();
}
if (bool) {
if (checkBol.authResult == false && checkBol.canCertify == true && checkBol.hasCertify == false) {
//重复调用
showLoading();
main.getData();
}else if (checkBol.authResult == false && checkBol.canCertify == false && checkBol.hasCertify == true) {
//成功
successFun()
} else if (checkBol.authResult == true && checkBol.canCertify == false && checkBol.hasCertify == true) {
//成功
successFun()
} else if (checkBol.authResult == true && checkBol.canCertify == true && checkBol.hasCertify == false) {
//失败
goToPage = false;
$mask.addClass("failed");
$mask.find(".text").html("您未通过实名认证");
$mask.find(".tips").html("系统审核您的实名认证失败");
$mask.find(".goto-change").removeClass('hide');
$mask.show();
hideLoading(layerIndex)
}
} else {
if (checkBol.canCertify == false && checkBol.hasCertify == true) {
//成功
successFun()
} else {//(authResult == null || authResult == undefined) && canCertify == true && hasCertify == false;
//正在操作
console.log('继续操作');
}
hideLoading(layerIndex)
}
}
},
error (err) {
console.log(err);
}
})
},
eventRegister: function () {
$('.button-submit').on('click', function () {
var name = $('.name').val();
var personId = $('.person-id').val();
var phone = $('.phone').val();
var phone = `${$('.phone').val()}`;
var identityCode = $('.identity-code').val();
var agree = $('#agree').prop("checked");
if (!agree) {
@@ -151,67 +202,40 @@ $(function () {
return;
}
lockBol = true;
var metaInfo = window.getMetaInfo();
var requestParam = {
uid: info.uid,
username: encryptDes(name, "1ea53d260ecf11e7b56e00163e046a26"),
identityNumber: encryptDes(personId, "1ea53d260ecf11e7b56e00163e046a26"),
phone: encryptDes(phone, "1ea53d260ecf11e7b56e00163e046a26"),
certType: 0,
code: identityCode,
ticket: info.ticket
identityNumber: encryptDes(personId, "1ea53d260ecf11e7b56e00163e046a26"),
metaInfo: JSON.stringify(metaInfo),
phone: encryptDes(86 + phone, "1ea53d260ecf11e7b56e00163e046a26"),
returnUrl: urlPrefix + `/peko/modules/identity/new.html?uid=${sessionStorage.getItem("uid")}&ticket=${sessionStorage.getItem("ticket")}`,
uid: pubInfo.uid,
username: encryptDes(name, "1ea53d260ecf11e7b56e00163e046a26"),
};
if (browser.android) {
requestParam.deviceInfo = JSON.stringify({
deviceId: info.deviceId
});
}
$.ajax({
type: "get",
url: api + "/certification/token",
networkRequest({
type: 'post',
url: urlPrefix + '/certification/initFace',
data: requestParam,
headers: {
"pub_ticket": info.ticket
},
success: function (res) {
if (res.code == 200) {
var token = res.data.token;
info.token = token;
// if(browser.app){
if (browser.ios) {
window.webkit.messageHandlers.openFaceLiveness.postMessage(token);
} else {
window.androidJsObj.openFaceLiveness(token);
}
// }
} else {
if (res.code == 10109) {
$mask.addClass("failed");
$mask.find(".text").html("实名认证失败");
$mask.find(".tips").html("该身份证实名认证已达5次");
} else if (res.code == 10110) {
$mask.addClass("have-identity");
$mask.find(".text").html("您已通过实名认证");
$mask.find(".tips").html("系统已成功审核您的实名认证");
} else if (res.code == 4003) {
$mask.addClass("failed");
$mask.find(".text").html("实名认证失败");
$mask.find(".tips").html("验证码错误");
window.location.href = res.data.certifyUrl;
} else {
$mask.addClass("failed");
$mask.find(".text").html("实名认证失败");
$mask.find(".tips").html("请填写真实有效的身份证信息");
}
$mask.find(".tips").html(res.message);
$mask.show();
lockBol = false;
setTimeout(function () {
$('.status-mask').hide();
}, 4000);
lockBol = false;
}
},
error (err) {
console.log(err);
}
});
// $.post(api + "/certification/doCheck",requestParam,function (res) {
//
// })
})
})
$('.button-identity-code').on('click', function () {
@@ -242,38 +266,32 @@ $(function () {
}, 1000)
var requestParam = {
phone: encryptDes(phone, "1ea53d260ecf11e7b56e00163e046a26"),
uid: info.uid,
ticket: info.ticket
phone: encryptDes(86 + phone, "1ea53d260ecf11e7b56e00163e046a26"),
uid: pubInfo.uid,
ticket: pubInfo.ticket
};
if (browser.android) {
requestParam.deviceInfo = JSON.stringify({
deviceId: info.deviceId
deviceId: pubInfo.deviceId
});
}
$.ajax({
type: "post",
url: api + "/certification/send/code",
headers: {
"pub_ticket": info.ticket
},
networkRequest({
type: 'post',
url: urlPrefix + '/certification/send/code',
data: requestParam,
success: function (res) {
console.log(res, '请求成功');
if (res.code == 200) {
toastShow('发送成功');
} else {
toastShow(res.message);
console.log(res, '报错啦');
}
},
error: function (res) {
toastShow(res.message);
console.log(res, '报错啦');
error (err) {
console.log(err);
}
});
})
})
// 点击我要修改
@@ -307,23 +325,21 @@ function toastShow(text) {
}
function getMessage (key, value) {
info[key] = value;
pubInfo[key] = value;
}
function renderByStatus (status) {
$mask.attr('class', 'status-mask');
console.log("开始回调," + "状态为" + status);
$.ajax({
networkRequest({
type: 'post',
url: locateJudge() + '/certification/notify',
headers: {
"pub_ticket": info.ticket
},
url: urlPrefix + '/certification/notify',
data: {
uid: info.uid,
ticket: info.ticket,
token: info.token,
uid: pubInfo.uid,
ticket: pubInfo.ticket,
token: pubInfo.token,
statusCode: status
},
success: function (res) {
@@ -356,8 +372,12 @@ function renderByStatus(status) {
}, 4000);
}
}
},
error (err) {
console.log(err);
}
});
})
console.log('status', status);
}
@@ -371,3 +391,11 @@ const encryptDes = (message, key) => {
});
return encrypted.toString();
}
$('.status-mask').click(function () {
if (goToPage) {
window.location.href = urlPrefix + '/peko/modules/h5Income/withdrawal.html'
} else {
$('.status-mask').hide();
}
})

View File

@@ -7,7 +7,7 @@
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>实名认证</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css?v=1">
<link rel="stylesheet" href="./css/index.css?v=1.0">
<script src="../../common/js/flexible.js"></script>
</head>
@@ -50,9 +50,9 @@
<div class="title">认证须知</div>
<p>1.该认证仅支持中国内地(不含港澳台地区)的用户。</p>
<p>2.请确保填写身份证信息真实并与本人一致。</p>
<p>3.根据国家相关的法律法规,您需要提供您的真实身份信息(真实姓名、身份证号)、身份证正反面照片、面部信息以完成实名验证。您所提供的身份信息仅用于身份验证,未经您本人的许可不会被用于其他用途。这些信息属于个人敏感信息,我们将会尽可能的保护您个人敏感信息的安全。如果您不提供这些信息,您将不能使用提现等相关功能,但不影响您继续使用"<span class="appName">piko</span>"的其他服务。</p>
<p>3.根据国家相关的法律法规,您需要提供您的真实身份信息(真实姓名、身份证号)、身份证正反面照片、面部信息以完成实名验证。您所提供的身份信息仅用于身份验证,未经您本人的许可不会被用于其他用途。这些信息属于个人敏感信息,我们将会尽可能的保护您个人敏感信息的安全。如果您不提供这些信息,您将不能使用提现等相关功能,但不影响您继续使用本产品的其他服务。</p>
<p>4.为保护用户权益,开启实名认证后我们将不提供解除恢复的功能,请谅解。</p>
<p>5.一个身份证最多用于5个用户账号的实名认证。</p>
<p>5.一个身份证最多用于2个用户账号的实名认证。</p>
<p>6.若人脸认证遇到问题,<a href="../rule/identity-rule.html">请点击这里</a></p>
</div>
<div class="button-submit">开始认证</div>
@@ -89,17 +89,9 @@
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/crypto-js.js"></script>
<script src="./js/new.js?v=2.2"></script>
<script>
var locateObj = getQueryString();
var appname = $('.appname');
if (locateObj.platform == "planet") {
appname.html("hello处CP");
$('.link-1').attr('href', '../rule/live-protocol.html?platform=planet')
} else {
appname.html("piko");
}
</script>
<script src="../../common/js/layer.js"></script>
<script src="./js/jsvm_all.js"></script>
<script src="./js/new.js?=2.2"></script>
</body>
</html>

View File

@@ -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>piko</title><link href=./static/css/app.261da3ba434d098af68b457f8b1e8d05.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.02dce90a247a2f43a89a.js></script><script type=text/javascript src=./static/js/vendor.549947ec2550614f506c.js></script><script type=text/javascript src=./static/js/app.f56d535f53d3c277e0fd.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>piko</title><link href=./static/css/app.b49c98e794a924fcac5e6ec2fd273502.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.ed376927a01a418468e3.js></script><script type=text/javascript src=./static/js/vendor.549947ec2550614f506c.js></script><script type=text/javascript src=./static/js/app.f56d535f53d3c277e0fd.js></script></body></html>

View File

@@ -1,2 +1,2 @@
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,f){for(var a,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(n&&n(r,c,f);s.length;)s.shift()();if(f)for(d=0;d<f.length;d++)u=o(o.s=f[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 c=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,o.nc&&f.setAttribute("nonce",o.nc),f.src=o.p+"static/js/"+e+"."+{0:"ec4de892f04f94b4c2f6",1:"c2ef46c6dcac24931ba4",2:"17debe0f6011a97521e8",3:"fe32c1237c8826c80886",4:"95d3c8221db60b228eb2",5:"fa39df31d16ba188ca75",6:"0e7ac399b5d59483b7f2",7:"c60dff0fd854d6fc291f",8:"43a07f21010bbe7fcd6c",9:"d02156509389fc441584",10:"68b3b250aa24f55d8a82",11:"5d316356ba01de644f13",12:"34fff916cd789ce22038"}[e]+".js";var a=setTimeout(i,12e4);function i(){f.onerror=f.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return f.onerror=f.onload=i,c.appendChild(f),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.02dce90a247a2f43a89a.js.map
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,f){for(var a,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(n&&n(r,c,f);s.length;)s.shift()();if(f)for(d=0;d<f.length;d++)u=o(o.s=f[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 c=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,o.nc&&f.setAttribute("nonce",o.nc),f.src=o.p+"static/js/"+e+"."+{0:"ec4de892f04f94b4c2f6",1:"c2ef46c6dcac24931ba4",2:"17debe0f6011a97521e8",3:"fe32c1237c8826c80886",4:"95d3c8221db60b228eb2",5:"6eeb77c8e1705e2c87c0",6:"0e7ac399b5d59483b7f2",7:"c60dff0fd854d6fc291f",8:"43a07f21010bbe7fcd6c",9:"d02156509389fc441584",10:"68b3b250aa24f55d8a82",11:"5d316356ba01de644f13",12:"34fff916cd789ce22038"}[e]+".js";var a=setTimeout(i,12e4);function i(){f.onerror=f.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return f.onerror=f.onload=i,c.appendChild(f),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.ed376927a01a418468e3.js.map

View File

@@ -20,7 +20,7 @@
<body>
<div class="identity-max">
<p class="bold-title">1、绑定身份证号个数限制</p>
<p>目前一个身份证可以绑定5个<span class="appName">piko</span>用户账号。</p>
<p>目前一个身份证可以绑定2个本产品用户账号。</p>
<p class="bold-title">2、可认证人群</p>
<p>实人认证服务目前仅支持对拥有中华人民共和国第二代居民身份证的居民进行认证。</p>
@@ -36,20 +36,14 @@
<p>请咨询国政通客服客服电话4008165110</p>
<p>2更改过姓名/最近做过户口迁移</p>
<p>由于更改姓名及户口迁移有一定时效性,需要等待核验,建议等待生效后再次操作绑定;</p>
<p>3绑定的是军官证/护照</p>
<p>选择【请输入正确证件信息】并点击下方连线人工联系客服处理。</p>
<p>4其余情况</p>
<p>3其余情况</p>
<p>由于绑定证件信息是由国政通系统获取,建议您之后再进行操作绑定。</p>
<p class="bold-title">5、绑定失败提示“在本设备上使用3天后可以绑定证件信息”</p>
<p>建议您在该设备上活跃使用(例如进房间和主播互动/与新老朋友聊天互动/联系或邀请通讯录好友一起来玩<span class="appName">piko</span>3天后再进行操作即可。</p>
<p class="bold-title">6、绑定成功后是否支持更改/解绑</p>
<p class="bold-title">5、绑定成功后是否支持更改/解绑</p>
<p>为保证帐户安全,身份证信息绑定成功后在修改密码、申诉时需进行验证身份证信息,故暂不支持解绑。</p>
<p class="bold-title">7、若以上还未解决你的问题,请咨询</p> <p>客服<span class="appName">LINE</span>pekoyuyin<br>或扫码添加微信</p>
<img src="./images/code.png" alt="" style="width: 200px">
<p class="bold-title">6、若以上还未解决你的问题,请咨询</p>
<p>客服微信号sd245376</p>
<!-- <img src="./images/code.png" alt="" style="width: 200px"> -->
</div>
<script src="../../common/js/jquery-3.2.1.min.js"></script>
<script src="../../common/js/common2.js"></script>

View File

@@ -59,6 +59,7 @@
<p v-else-if="tab === 11 && item1.objType === 88">星级厨房奖励</p>
<p v-else-if="tab === 11 && item1.objType === 96">幸運塔羅收入</p>
<p v-else-if="tab === 11 && item1.objType === 102">中秋活动瓜分钻石</p>
<p v-else-if="tab === 11 && item1.objType === 35">官方贈送鉆石</p>
<!-- <p v-else-if="tab === 11 || !item1.targetNick">{{ item1.srcNick }}</p> -->
<p v-if="tab === 12 && item1.objType === 40">全服红包-发生在{{ item1.roomTitle }}</p>
<p v-else-if="tab === 12 && item1.objType === 39">房间红包-发生在{{ item1.roomTitle }}</p>