切换导航条
此项目
正在载入...
登录
潘浩文
/
scoreshop
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
潘浩文
7 years ago
提交
5b0943df36c0195a728cd2b31f1b685183764a09
1 个父辈
1a263ffc
1 个管道 的构建
通过
耗费 0 秒
1
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
public/themes/simpleboot3/user/register.html
public/themes/simpleboot3/user/register.html
查看文件 @
5b0943d
...
...
@@ -161,8 +161,6 @@
var
InterValObj
;
//timer变量,控制时间
var
count
=
10
;
//间隔函数,1秒执行
var
curCount
=
''
;
//当前剩余秒数
var
mobile
=
$
(
"#mobile"
).
val
();
var
code
=
$
(
"#code"
).
val
();
var
t
=
localStorage
.
getItem
(
"time"
);
InterValObj
=
window
.
setInterval
(
SetRemainTime
,
1000
);
if
(
t
!=
null
){
...
...
@@ -176,7 +174,7 @@
}
//启动计时器,1秒执行一次
$
(
".getcode"
).
click
(
function
(){
alert
(
mobile
);
var
mobile
=
$
(
"#mobile"
).
val
(
);
curCount
=
count
;
//设置button效果,开始计时
$
(
".getcode"
).
attr
(
"disabled"
,
true
);
...
...
@@ -215,6 +213,8 @@
}
$
(
".sure"
).
click
(
function
()
{
var
mobile
=
$
(
"#mobile"
).
val
();
var
code
=
$
(
"#code"
).
val
();
$
.
ajax
({
url
:
"{:url('user/register/doRegister')}"
,
type
:
"post"
,
...
...
请
注册
或
登录
后发表评论