|
@@ -249,7 +249,9 @@
|
|
|
function changePhoneHandle(){
|
|
|
stopManyClick(() => {
|
|
|
account = $('#account').val();
|
|
|
+ account = account.replace(/\s+/g,"");
|
|
|
password = $('#password').val();
|
|
|
+ password = password.replace(/\s+/g,"");
|
|
|
if(fromType === 0){
|
|
|
$('#tip-text').text('请选择平台');
|
|
|
$('.tip').animate({top: '48vh'},"fast");
|
|
@@ -260,14 +262,7 @@
|
|
|
}
|
|
|
if(account === ''){
|
|
|
$('#tip-text').text('请输入账号');
|
|
|
- $('.tip').animate({top: '48vh'},"fast");
|
|
|
- $('.mask').show();
|
|
|
- $('.dialog').animate({top: '-6.96rem'},"fast");
|
|
|
- document.documentElement.style.overflow='hidden';
|
|
|
- return
|
|
|
- }
|
|
|
- if(account === ''){
|
|
|
- $('#tip-text').text('请输入账号');
|
|
|
+ $('#account').val('');
|
|
|
$('.tip').animate({top: '48vh'},"fast");
|
|
|
$('.mask').show();
|
|
|
$('.dialog').animate({top: '-6.96rem'},"fast");
|
|
@@ -284,6 +279,7 @@
|
|
|
}
|
|
|
if(password === ''){
|
|
|
$('#tip-text').text('请输入密码');
|
|
|
+ $('#password').val('');
|
|
|
$('.tip').animate({top: '48vh'},"fast");
|
|
|
$('.mask').show();
|
|
|
$('.dialog').animate({top: '-6.96rem'},"fast");
|