切换导航条
此项目
正在载入...
登录
李涵
/
integral
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
李涵
6 years ago
提交
6b0e0a76d3dc284634ad4537f83a21d5c75539b0
2 个父辈
03abf122
2f6ea3d6
1 个管道 的构建
通过
耗费 3 秒
合并分支 'juan' 到 'master'
Juan 查看合并请求
!506
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
28 行增加
和
15 行删除
public/themes/simpleboot3/friendship/enter_password.html
public/themes/simpleboot3/friendship/sure_password.html
public/themes/simpleboot3/friendship/enter_password.html
查看文件 @
6b0e0a7
...
...
@@ -106,8 +106,6 @@
//输入的密码自动输入到下一个
onload
=
function
(){
console
.
log
(
txts
);
for
(
var
i
=
0
;
i
<
txts
.
length
;
i
++
){
t
=
txts
[
i
];
t
.
index
=
i
;
...
...
@@ -122,8 +120,8 @@
}
else
if
(
$
(
this
).
val
()
==
""
){
$
(
this
).
focus
();
}
else
{
console
.
log
(
$
(
this
).
val
());
arr
.
push
(
$
(
this
).
val
());
// console.log($(this).val());
// arr.push($(this).val());
var
next
=
this
.
index
+
1
;
if
(
next
>
txts
.
length
-
1
)
return
;
txts
[
next
].
removeAttribute
(
"readonly"
);
...
...
@@ -132,18 +130,25 @@
}
if
(
t
.
index
==
5
){
t
.
onkeyup
=
function
(){
arr
.
push
(
$
(
this
).
val
())
console
.
log
(
arr
);
str
=
arr
[
0
]
+
arr
[
1
]
+
arr
[
2
]
+
arr
[
3
]
+
arr
[
4
]
+
arr
[
5
];
console
.
log
(
str
)
// arr.push($(this).val())
// console.log(arr);
// str=arr[0]+arr[1]+arr[2]+arr[3]+arr[4]+arr[5];
// console.log(str)
}
}
}
txts
[
0
].
removeAttribute
(
"readonly"
);
}
$
(
".nextstep"
).
click
(
function
(){
var
len
=
document
.
getElementsByClassName
(
"entercode"
);
console
.
log
(
len
);
arr
=
[];
for
(
var
i
=
0
;
i
<
len
.
length
;
i
++
){
arr
.
push
(
$
(
len
[
i
]).
val
())
}
str
=
arr
[
0
]
+
arr
[
1
]
+
arr
[
2
]
+
arr
[
3
]
+
arr
[
4
]
+
arr
[
5
]
if
(
arr
.
length
==
6
)
{
$
.
ajax
({
url
:
"{:url('friendship/Friend/pwd')}"
,
...
...
public/themes/simpleboot3/friendship/sure_password.html
查看文件 @
6b0e0a7
...
...
@@ -116,8 +116,8 @@
}
else
if
(
$
(
this
).
val
()
==
""
){
$
(
this
).
focus
();
}
else
{
console
.
log
(
$
(
this
).
val
());
arr
.
push
(
$
(
this
).
val
());
// console.log($(this).val());
// arr.push($(this).val());
var
next
=
this
.
index
+
1
;
if
(
next
>
txts
.
length
-
1
)
return
;
txts
[
next
].
removeAttribute
(
"readonly"
);
...
...
@@ -126,10 +126,10 @@
}
if
(
t
.
index
==
5
){
t
.
onkeyup
=
function
(){
arr
.
push
(
$
(
this
).
val
())
console
.
log
(
arr
);
str
=
arr
[
0
]
+
arr
[
1
]
+
arr
[
2
]
+
arr
[
3
]
+
arr
[
4
]
+
arr
[
5
];
console
.
log
(
str
)
// arr.push($(this).val())
// console.log(arr);
// str=arr[0]+arr[1]+arr[2]+arr[3]+arr[4]+arr[5];
// console.log(str)
}
}
}
...
...
@@ -137,6 +137,14 @@
}
$
(
".nextstep"
).
click
(
function
(){
var
len
=
document
.
getElementsByClassName
(
"entercode"
);
console
.
log
(
len
);
arr
=
[];
for
(
var
i
=
0
;
i
<
len
.
length
;
i
++
){
arr
.
push
(
$
(
len
[
i
]).
val
())
}
str
=
arr
[
0
]
+
arr
[
1
]
+
arr
[
2
]
+
arr
[
3
]
+
arr
[
4
]
+
arr
[
5
];
if
(
arr
.
length
==
6
)
{
$
.
ajax
({
url
:
"{:url('friendship/Friend/pwd')}"
,
...
...
请
注册
或
登录
后发表评论