作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

1

... ... @@ -162,6 +162,7 @@
var count = 10; //间隔函数,1秒执行
var curCount='';//当前剩余秒数
var mobile=$(".register_tel").val();
var code=$("#code").val();
var t=localStorage.getItem("time");
InterValObj = window.setInterval(SetRemainTime,1000);
... ... @@ -176,7 +177,7 @@
}
//启动计时器,1秒执行一次
$(".getcode").click(function(){
console.log(mobile);
alert(mobile);
curCount = count;
//设置button效果,开始计时
$(".getcode").attr("disabled",true);
... ...