Authored by 郭成尧

bind-verify-img

... ... @@ -79,7 +79,8 @@ const bind = {
bindCode: isReg !== '3',
module: 'passport',
page: isReg === '3' ? 'relate' : 'bind-code',
title: '验证手机'
title: '验证手机',
width750: true
});
},
... ...
const Validate = require('plugin/validata');
const $captcha = $('#js-img-check');
let validate = new Validate('#js-img-check', {
useREM: {
rootFontSize: 40,
picWidth: 150
}
});
if ($captcha.data('userverify')) {
validate.init();
}
require('./code')(true, true);
... ...
... ... @@ -130,7 +130,7 @@ module.exports = function(useInRegister, useForBind, useForRelate) {
return;
}
validate.getResults.then(result => {
validate.getResults().then(result => {
let paramsData = {
phoneNum: phoneNum,
areaCode: areaCode,
... ...