Authored by whb

index.js,css

... ... @@ -4043,9 +4043,10 @@ function picCaptchaAjaxFn(page, callback) {
type: 'POST',
url: url,
data: {
code: $ca.val(),
mobile: $pn.val(),
area: $region.text().split('+')[1]
code: $ca.val()
//mobile: $pn.val(),
//area: $region.text().split('+')[1]
}
}).then(function(data) {
switch (data.code) {
... ... @@ -4437,7 +4438,7 @@ exports.init = function(page) {
data: {
area: $region.text().split('+')[1],
mobile: $pn.val(),
captcha: $ca.val(),
verifyCode: $ca.val(),
code: $mc.val(),
password: $pwd.val()
}
... ... @@ -4445,18 +4446,19 @@ exports.init = function(page) {
var time = 0,
t,
refer = data.href;
refer;
if (data.code === 200) {
refer = data.data.href;
t = setTimeout(function() {
time++;
}, 1000);
$.ajax({
type: 'POST',
url: '/passport/register/mobileregister',
data: {
session: data.session
}
type: 'GET',
url: data.data.session
}).then(function(data) {
if (data.code === 200 && t < 3) {
... ... @@ -4469,6 +4471,11 @@ exports.init = function(page) {
clearInterval(t);
location.href = refer;
}
} else {
//todo
console.log('网络超时~');
}
});
}
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.