Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
buildbank-replica
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚珂
buildbank-replica
Commits
c71f1556
Commit
c71f1556
authored
May 08, 2026
by
秦垚玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:调整登录延迟跳转
parent
e0090e0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
6 deletions
+43
-6
login.html
login.html
+43
-6
No files found.
login.html
View file @
c71f1556
...
...
@@ -2663,8 +2663,46 @@ function changeLogin(type) {
showPrompt
();
}
}
// 控制延迟判断 防止多次点击
let
loginClick
=
true
;
function
certLogin
(){
if
(
loginClick
){
loginClick
=
false
;
// 增加延迟
setTimeout
(
function
()
{
window
.
location
.
href
=
"./index.html"
;
},
3000
);
// 3000毫秒后执行
}
}
function
pwdLogin
(){
window
.
location
.
href
=
"./index.html"
;
if
(
$
(
"#Usr_Pswd"
).
val
()
==
""
){
return
}
if
(
loginClick
){
loginClick
=
false
;
// 增加延迟
setTimeout
(
function
()
{
window
.
location
.
href
=
"./index.html"
;
},
3000
);
// 3000毫秒后执行
}
}
function
codeLogin
(){
if
(
$
(
"#smsCode1"
).
val
()
==
""
){
return
}
if
(
loginClick
){
loginClick
=
false
;
// 增加延迟
setTimeout
(
function
()
{
window
.
location
.
href
=
"./index.html"
;
},
3000
);
// 3000毫秒后执行
}
}
function
toUCLogin
()
{
...
...
@@ -3109,7 +3147,6 @@ $(function(){
encrypt
.
setPublicKey
(
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCLxfHyEhc1X2uEBcI3SRQKkTmtNQqww13+tLoVZC8VrtJLW2/7jBtf9PoR0LrYWe70XXENVFl51Kth6A0aAXvho3IxJelT0jDVjZdOVYRWvw01yt+H7JtO9HwC09DM3rhM+RxKnVvFc6B5CrOggn7a2n2Pay51yJQvc79F7mgcXQIDAQAB"
);
var
encryptPwd
=
encrypt
.
encrypt
(
password
);
login
(
"01"
,
phone
,
encryptPwd
);
});
//验证码登录
$
(
document
).
on
(
"click"
,
".btn_code_login"
,
function
()
{
...
...
@@ -3914,7 +3951,7 @@ function loginGuide() {
<tr>
<td
>
<div
class=
"div_login_btn"
onclick=
"pwdLogin()"
>
<div
class=
"div_login_btn"
>
<input
type=
"button"
name=
"next"
id=
"LOGIN_BOX_BTN"
class=
"pbd_btn_login btn_disabled btn_js_link1"
disabled
value=
"登 录"
/>
</div>
...
...
@@ -4005,10 +4042,10 @@ function loginGuide() {
<tr>
<td
>
<div
class=
"div_login_btn loginType_pwd"
style=
"margin-top:10px;margin-bottom:5px;"
>
<div
class=
"div_login_btn loginType_pwd"
style=
"margin-top:10px;margin-bottom:5px;"
onclick=
"pwdLogin()"
>
<input
type=
"button"
name=
"next"
class=
"pbd_btn_login btn_disabled btn_js_link"
disabled
value=
"登 录"
/>
</div>
<div
class=
"div_login_btn loginType_code"
style=
"margin-top:10px;margin-bottom:5px;display:none;"
>
<div
class=
"div_login_btn loginType_code"
style=
"margin-top:10px;margin-bottom:5px;display:none;"
onclick=
"codeLogin()"
>
<input
type=
"button"
name=
"next"
class=
"pbd_btn_login btn_disabled btn_code_login"
disabled
value=
"登 录"
/>
</div>
<div
class=
"loginType_pwd"
>
...
...
@@ -4173,7 +4210,7 @@ function loginGuide() {
<tr>
<td
>
<div
class=
"div_login_btn"
onclick=
"
pwd
Login();"
>
<div
class=
"div_login_btn"
onclick=
"
cert
Login();"
>
<input
type=
"button"
name=
"next"
id=
"LOGIN_BOX_BTN"
class=
"pbd_btn_login"
value=
"登 录"
/>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment