切换导航条
此项目
正在载入...
登录
李涵
/
integral
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
李涵
6 years ago
提交
e82396cfbce4a0c16bd9120473152375ebe9cab3
2 个父辈
e6f7739a
95694d1e
1 个管道 的构建
通过
耗费 4 秒
合并分支 'juan' 到 'master'
Juan 查看合并请求
!531
变更
3
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
34 行增加
和
28 行删除
public/themes/simpleboot3/friendship/enter_password.html
public/themes/simpleboot3/friendship/friend_list.html
public/themes/simpleboot3/friendship/sure_password.html
public/themes/simpleboot3/friendship/enter_password.html
查看文件 @
e82396c
...
...
@@ -69,25 +69,26 @@
</head>
<body>
<div
class=
"container"
>
<p
class=
"passwordnum"
>
输入密码
</p>
<ul
class=
"enterpassword"
id=
"wrap"
>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
</ul>
<p
class=
"nextstep"
>
下一步
</p>
...
...
public/themes/simpleboot3/friendship/friend_list.html
查看文件 @
e82396c
...
...
@@ -244,22 +244,22 @@
<p
class=
"pleaseenterword"
>
输入支付密码
</p>
<ul
class=
"enterpassword"
id=
"wrap"
>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
</ul>
</div>
...
...
@@ -387,8 +387,8 @@
$
(
this
).
focus
();
}
else
{
console
.
log
(
$
(
this
).
val
());
arr
.
push
(
$
(
this
).
val
());
// console.log($(this).val());
// arr.push($(this).val());
console
.
log
(
arr
)
var
next
=
this
.
index
+
1
;
if
(
next
>
txts
.
length
-
1
)
return
;
...
...
@@ -398,13 +398,20 @@
}
if
(
t
.
index
==
5
){
t
.
onkeyup
=
function
(){
arr
.
push
(
$
(
this
).
val
())
console
.
log
(
arr
);
// arr.push($(this).val())
// console.log(arr);
// str=arr[0]+arr[1]+arr[2]+arr[3]+arr[4]+arr[5];
// console.log(str)
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
];
console
.
log
(
str
)
$
.
ajax
({
url
:
"{:url('friendship/Friend/donateIntegral')}"
,
data
:{
...
...
@@ -414,7 +421,7 @@
},
type
:
"POST"
,
dataType
:
"JSON"
,
success
:
function
(
data
)
{
if
(
data
.
status
===
true
)
{
window
.
event
.
stopPropagation
()
...
...
public/themes/simpleboot3/friendship/sure_password.html
查看文件 @
e82396c
...
...
@@ -60,37 +60,35 @@
list-style
:
none
;
text-align
:
center
;
border
:
none
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<p
class=
"passwordnum"
>
确认密码
</p>
<ul
class=
"enterpassword"
id=
"wrap"
>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
<li>
<input
type=
"number"
class=
"entercode"
>
<input
type=
"number"
class=
"entercode"
maxlength=
'1'
>
</li>
</ul>
<p
class=
"nextstep"
>
确认
</p>
</div>
<script
type=
"text/javascript"
src=
"__INDEX__/js/jquery.min.js"
></script>
<script>
var
arr
=
[];
...
...
请
注册
或
登录
后发表评论