...
|
...
|
@@ -171,7 +171,7 @@ |
|
|
InterValObj = window.setInterval(SetRemainTime,1000);
|
|
|
if(t!=null){
|
|
|
curCount=t;
|
|
|
$(".sure").attr("disabled",true);
|
|
|
// $(".sure").attr("disabled",true);
|
|
|
|
|
|
}else{
|
|
|
curCount=60;
|
...
|
...
|
@@ -190,7 +190,7 @@ |
|
|
curCount = count;
|
|
|
//设置button效果,开始计时
|
|
|
$(".getcode").attr("disabled",true);
|
|
|
$(".sure").attr("disabled",true);
|
|
|
// $(".sure").attr("disabled",true);
|
|
|
// $(".sendcode").unbind()
|
|
|
$(".getcode").html( curCount + "秒");
|
|
|
InterValObj = window.setInterval(SetRemainTime,1000); //启动计时器,1秒执行一次
|
...
|
...
|
@@ -212,7 +212,7 @@ |
|
|
if (curCount == 0) {
|
|
|
window.clearInterval(InterValObj);//停止计时器
|
|
|
$(".getcode").removeAttr("disabled");//启用按钮
|
|
|
$(".sure").removeAttr("disabled");
|
|
|
// $(".sure").removeAttr("disabled");
|
|
|
$(".getcode").html("重新获取证码");
|
|
|
localStorage.clear();
|
|
|
}
|
...
|
...
|
|