...
|
...
|
@@ -14,17 +14,19 @@ var $cr = $('#country-code-hide'), |
|
|
emailReg = /^[.\-_a-zA-Z0-9]+@[\-_a-zA-Z0-9]+\.[a-zA-Z0-9]/,
|
|
|
acAccount = [
|
|
|
['qq.com', '163.com', '126.com', 'sina.com', 'gmail.com',
|
|
|
'sohu.com', 'hotmail.com', '139.com', '189.com'], //数字顺序
|
|
|
'sohu.com', 'hotmail.com', '139.com', '189.com'
|
|
|
], //数字顺序
|
|
|
['gmail.com', 'qq.com', '163.com', '126.com', 'sina.com',
|
|
|
'sohu.com', 'hotmail.com', '139.com', '189.com'] //组合顺序
|
|
|
'sohu.com', 'hotmail.com', '139.com', '189.com'
|
|
|
] //组合顺序
|
|
|
],
|
|
|
$ccList = $('#country-code-list'),
|
|
|
$cc = $('#country-code'),
|
|
|
$btn = $('#find-btn'),
|
|
|
$accErr = $('#account-err'),
|
|
|
$caErr = $('#captcha-err'),
|
|
|
time, //timeout-id
|
|
|
caCount = 4, //验证码位数
|
|
|
time, //timeout-id
|
|
|
caCount = 4, //验证码位数
|
|
|
hasPh = false,
|
|
|
hasCa = false;
|
|
|
|
...
|
...
|
@@ -42,8 +44,9 @@ require('yoho.placeholder'); |
|
|
|
|
|
function imgcode() {
|
|
|
var time = new Date(),
|
|
|
$captchaImg = $('#captcha-img'),
|
|
|
captchaImgSrc = $captchaImg.attr('src').split('?')[0];
|
|
|
$captchaImg = $('#captcha-img'),
|
|
|
captchaImgSrc = $captchaImg.attr('src').split('?')[0];
|
|
|
|
|
|
$('#captcha-img').attr('src', captchaImgSrc + '?t=' + time.getTime());
|
|
|
|
|
|
//getSource('yoho_family_web', '换一张', 'homepage_man');
|
...
|
...
|
@@ -101,8 +104,8 @@ function vaCa() { |
|
|
type: 'POST',
|
|
|
url: '/passport/back/authcode',
|
|
|
data: {
|
|
|
verifyCode: v,
|
|
|
phoneNum: $('#phone-num').val(),
|
|
|
verifyCode: v,
|
|
|
phoneNum: $('#phone-num').val(),
|
|
|
area: $('#country-code-hide').val()
|
|
|
}
|
|
|
|
...
|
...
|
|