...
|
...
|
@@ -14,7 +14,7 @@ var tip = require('../../plugin/tip'); |
|
|
var trim = $.trim;
|
|
|
var showErrTip = tip.show;
|
|
|
|
|
|
var $mobile = $('#mobile');
|
|
|
var $phoneNum = $('#phone-num');
|
|
|
|
|
|
api.bindEyesEvt();
|
|
|
|
...
|
...
|
@@ -40,13 +40,13 @@ $btnOk.on('touchstart', function() { |
|
|
password: pwd
|
|
|
};
|
|
|
|
|
|
if ($mobile.length === 0) {
|
|
|
if ($phoneNum.length === 0) {
|
|
|
mobileBack = false;
|
|
|
}
|
|
|
|
|
|
if (mobileBack) {
|
|
|
$.extend(setting, {
|
|
|
mobile: $mobile.val(),
|
|
|
phoneNum: $phoneNum.val(),
|
|
|
areaCode: $('#areaCode').val(),
|
|
|
token: $('#token').val()
|
|
|
});
|
...
|
...
|
@@ -72,7 +72,7 @@ $btnOk.on('touchstart', function() { |
|
|
|
|
|
//1000ms后跳转页面
|
|
|
setTimeout(function() {
|
|
|
location.href = '/';
|
|
|
location.href = data.data;
|
|
|
}, 1000);
|
|
|
} else {
|
|
|
showErrTip(data.message);
|
...
|
...
|
|